配色更新

This commit is contained in:
GG Z
2025-08-26 21:33:20 +08:00
parent ce4cc7bed0
commit e5f139264e
47 changed files with 432 additions and 606 deletions

View File

@@ -8,25 +8,17 @@
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<ResourceDictionary.MergedDictionaries>
<!--<materialDesign:BundledTheme
BaseTheme="Light"
PrimaryColor="LightBlue"
SecondaryColor="Green" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Dark.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign3.Defaults.xaml" />-->
<!--<ResourceDictionary Source="pack://application:,,,/Wpf.Ui;component/Resources/Theme/Dark.xaml" />
<ResourceDictionary Source="pack://application:,,,/Wpf.Ui;component/Resources/Wpf.Ui.xaml" />-->
<ui:ThemesDictionary Mode="Dark" />
<ui:ControlsDictionary />
<ResourceDictionary Source="pack://application:,,,/NeoUI;component/Themes/Light.xaml" />
<ResourceDictionary Source="pack://application:,,,/NeoUI;component/Themes/ColorPalette/LightBlue.xaml"/>
<ResourceDictionary Source="pack://application:,,,/NeoUI;component/Themes/Styles.xaml" />
<!--<ui:ThemesDictionary Mode="Light" Palette="Blue"/>
<ui:ControlsDictionary/>-->
</ResourceDictionary.MergedDictionaries>
<!--#region Fonts-->
<!--<FontFamily x:Key="SegoeFluentIcons">pack://application:,,,/ShrlAlgo.RvKits;component/Fonts/#Segoe Fluent Icons</FontFamily>
<FontFamily x:Key="FontAwesome">pack://application:,,,/ShrlAlgo.RvKits;component/Fonts/#Font Awesome 6 Free Regular</FontFamily>-->
<!--<FontFamily x:Key="IconFont">pack://application:,,,/ShrlAlgo.RvKits;component/Fonts/#iconfont</FontFamily>-->
<FontFamily x:Key="BoxIcons">pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/Fonts/#BoxIcons</FontFamily>
<FontFamily x:Key="SourceHanSansSC">pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/Fonts/#Source Han Sans SC</FontFamily>
<!--#endregion-->
<!--<Viewbox x:Key="RevitIcon">
<Grid>
<Path Data="M821.333333 912H202.666667a26.666667 26.666667 0 0 1-26.666667-26.666667V138.666667a26.666667 26.666667 0 0 1 26.666667-26.666667h477.792L848 279.541333V885.333333a26.666667 26.666667 0 0 1-26.666667 26.666667z" Fill="#138FFB" />
@@ -58,17 +50,6 @@
<converters:ColorToBrushConverter x:Key="ColorToBrushConverter" />
<converters:ComparisonConverter x:Key="ComparisonConverter" />
<!--#endregion-->
<Style TargetType="ui:NeoWindow">
<!-- <Setter Property="ui:Design.Background" Value="{DynamicResource WindowBackground}" /> -->
<!-- <Setter Property="ui:Design.Foreground" Value="{DynamicResource WindowForeground}" /> -->
<Setter Property="FontFamily" Value="{StaticResource SourceHanSansSC}" />
<Setter Property="SizeToContent" Value="Height" />
<Setter Property="ShowInTaskbar" Value="False" />
<Setter Property="MaxHeight" Value="800" />
<!--<Setter Property="TitleIcon" Value="{ui:SymbolIcon Toolbox20}" />-->
<!--<Setter Property="TitleIcon" Value="{ui:ImageIcon Resources/revit-Fill.png}" />-->
</Style>
<DataTemplate DataType="{x:Type familyLibrary:FamilyModel}" x:Key="FamilyGalleryItemTemplate">
<Grid>