feat: extract Semi Resources.

This commit is contained in:
Zhang Dian
2024-10-16 20:39:51 +08:00
parent ec1028fcc8
commit 41b11bba44
27 changed files with 146 additions and 64 deletions

View File

@@ -16,7 +16,7 @@
<StackPanel HorizontalAlignment="Left" Margin="24 0 0 0 "> <StackPanel HorizontalAlignment="Left" Margin="24 0 0 0 ">
<u:Divider Content="Simple Form"/> <u:Divider Content="Simple Form"/>
<u:Form LabelPosition="Left" LabelWidth="*"> <u:Form LabelPosition="Left" LabelWidth="*">
<TextBox Width="300" u:FormItem.Label="Name" /> <TextBox Width="300" u:FormItem.Label="Name" u:FormItem.IsRequired="True" />
<TextBox Width="300" u:FormItem.Label="Email" /> <TextBox Width="300" u:FormItem.Label="Email" />
<TextBox Width="300" u:FormItem.Label="Message" Classes="TextArea"/> <TextBox Width="300" u:FormItem.Label="Message" Classes="TextArea"/>
</u:Form> </u:Form>

View File

@@ -31,7 +31,7 @@
VerticalAlignment="Center" VerticalAlignment="Center"
Content="{TemplateBinding Icon}" Content="{TemplateBinding Icon}"
ContentTemplate="{TemplateBinding IconTemplate}" ContentTemplate="{TemplateBinding IconTemplate}"
Foreground="{DynamicResource SemiColorText2}" Foreground="{DynamicResource BreadcrumbItemForeground}"
IsVisible="{TemplateBinding Icon, IsVisible="{TemplateBinding Icon,
Converter={x:Static ObjectConverters.IsNotNull}}" /> Converter={x:Static ObjectConverters.IsNotNull}}" />
<ContentPresenter <ContentPresenter
@@ -39,14 +39,14 @@
VerticalAlignment="Center" VerticalAlignment="Center"
Content="{TemplateBinding Content}" Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}" ContentTemplate="{TemplateBinding ContentTemplate}"
Foreground="{DynamicResource SemiColorText2}" Foreground="{DynamicResource BreadcrumbItemForeground}"
IsVisible="{TemplateBinding Content, IsVisible="{TemplateBinding Content,
Converter={x:Static ObjectConverters.IsNotNull}}" /> Converter={x:Static ObjectConverters.IsNotNull}}" />
<ContentPresenter <ContentPresenter
Name="Separator" Name="Separator"
VerticalAlignment="Center" VerticalAlignment="Center"
Content="{TemplateBinding Separator}" Content="{TemplateBinding Separator}"
Foreground="{DynamicResource SemiColorText3}"> Foreground="{DynamicResource BreadcrumbItemSeparatorForeground}">
<ContentPresenter.IsVisible> <ContentPresenter.IsVisible>
<TemplateBinding Converter="{x:Static ObjectConverters.IsNotNull}" Property="Separator" /> <TemplateBinding Converter="{x:Static ObjectConverters.IsNotNull}" Property="Separator" />
</ContentPresenter.IsVisible> </ContentPresenter.IsVisible>
@@ -66,10 +66,10 @@
</Style> </Style>
<Style Selector="^:last"> <Style Selector="^:last">
<Style Selector="^ /template/ ContentPresenter#PART_IconPresenter"> <Style Selector="^ /template/ ContentPresenter#PART_IconPresenter">
<Setter Property="Foreground" Value="{DynamicResource SemiColorText0}" /> <Setter Property="Foreground" Value="{DynamicResource BreadcrumbItemLastForeground}" />
</Style> </Style>
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter"> <Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Foreground" Value="{DynamicResource SemiColorText0}" /> <Setter Property="Foreground" Value="{DynamicResource BreadcrumbItemLastForeground}" />
<Setter Property="FontWeight" Value="{DynamicResource TextBlockTitleFontWeight}" /> <Setter Property="FontWeight" Value="{DynamicResource TextBlockTitleFontWeight}" />
</Style> </Style>
<Style Selector="^ /template/ ContentPresenter#Separator"> <Style Selector="^ /template/ ContentPresenter#Separator">
@@ -77,19 +77,19 @@
</Style> </Style>
<Style Selector="^[IsReadOnly=False]:pointerover"> <Style Selector="^[IsReadOnly=False]:pointerover">
<Style Selector="^ /template/ ContentPresenter#PART_IconPresenter"> <Style Selector="^ /template/ ContentPresenter#PART_IconPresenter">
<Setter Property="Foreground" Value="{DynamicResource SemiBlue5}" /> <Setter Property="Foreground" Value="{DynamicResource BreadcrumbItemPointeroverForeground}" />
</Style> </Style>
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter"> <Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Foreground" Value="{DynamicResource SemiBlue5}" /> <Setter Property="Foreground" Value="{DynamicResource BreadcrumbItemPointeroverForeground}" />
</Style> </Style>
</Style> </Style>
</Style> </Style>
<Style Selector="^[IsReadOnly=False]:pointerover"> <Style Selector="^[IsReadOnly=False]:pointerover">
<Style Selector="^ /template/ ContentPresenter#PART_IconPresenter"> <Style Selector="^ /template/ ContentPresenter#PART_IconPresenter">
<Setter Property="Foreground" Value="{DynamicResource SemiBlue5}" /> <Setter Property="Foreground" Value="{DynamicResource BreadcrumbItemPointeroverForeground}" />
</Style> </Style>
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter"> <Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Foreground" Value="{DynamicResource SemiBlue5}" /> <Setter Property="Foreground" Value="{DynamicResource BreadcrumbItemPointeroverForeground}" />
</Style> </Style>
</Style> </Style>
</ControlTheme> </ControlTheme>

View File

@@ -5,7 +5,7 @@
xmlns:u="https://irihi.tech/ursa"> xmlns:u="https://irihi.tech/ursa">
<!-- Add Resources Here --> <!-- Add Resources Here -->
<ControlTheme x:Key="{x:Type u:Clock}" TargetType="u:Clock"> <ControlTheme x:Key="{x:Type u:Clock}" TargetType="u:Clock">
<Setter Property="HandBrush" Value="{DynamicResource SemiGrey6}"/> <Setter Property="HandBrush" Value="{DynamicResource ClockHandBrush}"/>
<Setter Property="Template"> <Setter Property="Template">
<ControlTemplate TargetType="u:Clock"> <ControlTemplate TargetType="u:Clock">
<Grid> <Grid>
@@ -13,8 +13,8 @@
ShowHourTicks="{TemplateBinding ShowHourTicks}" ShowHourTicks="{TemplateBinding ShowHourTicks}"
ShowMinuteTicks="{TemplateBinding ShowMinuteTicks}" ShowMinuteTicks="{TemplateBinding ShowMinuteTicks}"
HorizontalAlignment="{TemplateBinding HorizontalAlignment}" HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
HourTickForeground="{DynamicResource SemiGrey6}" HourTickForeground="{DynamicResource ClockHourTickForeground}"
MinuteTickForeground="{DynamicResource SemiGrey4}" /> MinuteTickForeground="{DynamicResource ClockMinuteTickForeground}" />
<UniformGrid Rows="2" IsVisible="{TemplateBinding ShowHourHand}"> <UniformGrid Rows="2" IsVisible="{TemplateBinding ShowHourHand}">
<Border <Border
Width="16" Width="16"
@@ -51,8 +51,8 @@
<Ellipse <Ellipse
Width="20" Width="20"
Height="20" Height="20"
Fill="White" Fill="{DynamicResource ClockArborFill}"
Stroke="{DynamicResource SemiBlue5}" Stroke="{DynamicResource ClockArborStroke}"
StrokeThickness="3" /> StrokeThickness="3" />
</Grid> </Grid>
</ControlTemplate> </ControlTemplate>

View File

@@ -38,7 +38,7 @@
Height="1" Height="1"
Margin="0,8" Margin="0,8"
HorizontalAlignment="Stretch" HorizontalAlignment="Stretch"
Fill="{DynamicResource SemiColorBorder}" Fill="{DynamicResource FormGroupForeground}"
IsVisible="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Header, Converter={x:Static ObjectConverters.IsNotNull}}" /> IsVisible="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Header, Converter={x:Static ObjectConverters.IsNotNull}}" />
<ItemsPresenter <ItemsPresenter
ItemsPanel="{TemplateBinding ItemsPanel}" /> ItemsPanel="{TemplateBinding ItemsPanel}" />
@@ -64,7 +64,7 @@
FontWeight="{DynamicResource TextBlockTitleFontWeight}" FontWeight="{DynamicResource TextBlockTitleFontWeight}"
Target="{Binding #PART_ContentPresenter.Content}" /> Target="{Binding #PART_ContentPresenter.Content}" />
<TextBlock <TextBlock
Foreground="{DynamicResource SemiRed6}" Foreground="{DynamicResource FormAsteriskForeground}"
IsVisible="{TemplateBinding IsRequired}" IsVisible="{TemplateBinding IsRequired}"
Text="*" /> Text="*" />
</StackPanel> </StackPanel>
@@ -100,7 +100,7 @@
FontWeight="{DynamicResource TextBlockTitleFontWeight}" FontWeight="{DynamicResource TextBlockTitleFontWeight}"
Target="{Binding #PART_ContentPresenter.Content}" /> Target="{Binding #PART_ContentPresenter.Content}" />
<TextBlock <TextBlock
Foreground="{DynamicResource SemiRed6}" Foreground="{DynamicResource FormAsteriskForeground}"
IsVisible="{TemplateBinding IsRequired}" IsVisible="{TemplateBinding IsRequired}"
Text="*" /> Text="*" />
</StackPanel> </StackPanel>

View File

@@ -237,7 +237,7 @@
Height="{DynamicResource NavigationMenuSeparatorBorderHeight}" Height="{DynamicResource NavigationMenuSeparatorBorderHeight}"
Margin="{DynamicResource NavigationMenuSeparatorBorderMargin}" Margin="{DynamicResource NavigationMenuSeparatorBorderMargin}"
HorizontalAlignment="Stretch" HorizontalAlignment="Stretch"
Fill="{DynamicResource SemiColorBorder}" /> Fill="{DynamicResource NavigationMenuItemSeparatorBorderForeground}" />
</StackPanel> </StackPanel>
</ControlTemplate> </ControlTemplate>
</Setter> </Setter>

View File

@@ -79,7 +79,7 @@
Content="{TemplateBinding Header}" Content="{TemplateBinding Header}"
ContentTemplate="{TemplateBinding HeaderTemplate}" ContentTemplate="{TemplateBinding HeaderTemplate}"
FontSize="14" FontSize="14"
Foreground="{DynamicResource SemiGrey9}" /> Foreground="{DynamicResource TimelineHeaderForeground}" />
<ContentPresenter <ContentPresenter
Name="{x:Static u:TimelineItem.PART_Content}" Name="{x:Static u:TimelineItem.PART_Content}"
Grid.Row="1" Grid.Row="1"

View File

@@ -54,7 +54,7 @@
Content="{TemplateBinding Header}" Content="{TemplateBinding Header}"
ContentTemplate="{TemplateBinding HeaderTemplate}" ContentTemplate="{TemplateBinding HeaderTemplate}"
DockPanel.Dock="Left" DockPanel.Dock="Left"
Foreground="{DynamicResource SemiColorText2}" Foreground="{DynamicResource ToolBarHeaderForeground}"
IsVisible="{TemplateBinding Header, IsVisible="{TemplateBinding Header,
Converter={x:Static ObjectConverters.IsNotNull}}" /> Converter={x:Static ObjectConverters.IsNotNull}}" />
<Panel Name="PART_PopupButtonPanel" DockPanel.Dock="Right"> <Panel Name="PART_PopupButtonPanel" DockPanel.Dock="Right">
@@ -67,7 +67,7 @@
<PathIcon <PathIcon
Name="PART_Icon" Name="PART_Icon"
Height="12" Height="12"
Foreground="{DynamicResource SemiColorText2}" Foreground="{DynamicResource ToolBarHeaderForeground}"
Data="{DynamicResource ToolBarHorizontalMoreGlyph}" /> Data="{DynamicResource ToolBarHorizontalMoreGlyph}" />
</ToggleButton> </ToggleButton>
<Popup <Popup
@@ -122,7 +122,7 @@
<Rectangle <Rectangle
Name="PART_Rect" Name="PART_Rect"
Margin="4" Margin="4"
Fill="{DynamicResource SemiColorBorder}" /> Fill="{DynamicResource ToolBarSeparatorForeground}" />
</ControlTemplate> </ControlTemplate>
</Setter> </Setter>
<Style Selector="^ /template/ Rectangle#PART_Rect"> <Style Selector="^ /template/ Rectangle#PART_Rect">

View File

@@ -8,10 +8,10 @@
<Setter Property="Height" Value="{DynamicResource IconElementThemeHeight}" /> <Setter Property="Height" Value="{DynamicResource IconElementThemeHeight}" />
<Setter Property="Width" Value="{DynamicResource IconElementThemeWidth}" /> <Setter Property="Width" Value="{DynamicResource IconElementThemeWidth}" />
<Setter Property="StrokeThickness" Value="0.4" /> <Setter Property="StrokeThickness" Value="0.4" />
<Setter Property="Foreground" Value="{DynamicResource SemiBlue2}" /> <Setter Property="Foreground" Value="{DynamicResource TwoTonePathIconForeground}" />
<Setter Property="StrokeBrush" Value="{DynamicResource SemiBlue6}" /> <Setter Property="StrokeBrush" Value="{DynamicResource TwoTonePathIconStrokeBrush}" />
<Setter Property="ActiveForeground" Value="{DynamicResource SemiBlue6}" /> <Setter Property="ActiveForeground" Value="{DynamicResource TwoTonePathIconActiveForeground}" />
<Setter Property="ActiveStrokeBrush" Value="{DynamicResource SemiBlue6}" /> <Setter Property="ActiveStrokeBrush" Value="{DynamicResource TwoTonePathIconActiveStrokeBrush}" />
<Setter Property="Template"> <Setter Property="Template">
<ControlTemplate TargetType="u:TwoTonePathIcon"> <ControlTemplate TargetType="u:TwoTonePathIcon">
<Border Background="{TemplateBinding Background}"> <Border Background="{TemplateBinding Background}">

View File

@@ -0,0 +1,6 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="BreadcrumbItemForeground" Opacity="0.6" Color="#F9F9F9" />
<SolidColorBrush x:Key="BreadcrumbItemSeparatorForeground" Opacity="0.35" Color="#F9F9F9" />
<SolidColorBrush x:Key="BreadcrumbItemLastForeground" Color="#F9F9F9" />
<SolidColorBrush x:Key="BreadcrumbItemPointeroverForeground" Color="#54A9FF" />
</ResourceDictionary>

View File

@@ -0,0 +1,7 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="ClockHandBrush" Color="#A7ABB0" />
<SolidColorBrush x:Key="ClockHourTickForeground" Color="#A7ABB0" />
<SolidColorBrush x:Key="ClockMinuteTickForeground" Color="#6B7075" />
<SolidColorBrush x:Key="ClockArborFill" Color="White" />
<SolidColorBrush x:Key="ClockArborStroke" Color="#54A9FF" />
</ResourceDictionary>

View File

@@ -1,5 +1,3 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" <ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <SolidColorBrush x:Key="OverlayDialogMaskBrush" Color="#FFA7ABB0" Opacity="0.2" />
<!-- Add Resources Here --> </ResourceDictionary>
<SolidColorBrush x:Key="OverlayDialogMaskBrush" Color="#FFA7ABB0" Opacity="0.2"></SolidColorBrush>
</ResourceDictionary>

View File

@@ -0,0 +1,4 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="FormGroupForeground" Opacity="0.08" Color="White" />
<SolidColorBrush x:Key="FormAsteriskForeground" Color="#FD9983" />
</ResourceDictionary>

View File

@@ -1,4 +1,4 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- Add Resources Here -->
<SolidColorBrush x:Key="NavigationMenuItemExpandIconForeground" Opacity="0.62" Color="#F9F9F9" /> <SolidColorBrush x:Key="NavigationMenuItemExpandIconForeground" Opacity="0.62" Color="#F9F9F9" />
<SolidColorBrush x:Key="NavigationMenuItemSeparatorBorderForeground" Opacity="0.08" Color="White" />
</ResourceDictionary> </ResourceDictionary>

View File

@@ -1,9 +1,9 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- Add Resources Here --> <SolidColorBrush x:Key="TimelineHeaderForeground" Color="#F9F9F9" />
<SolidColorBrush x:Key="DefaultTimelineIconForeground" Opacity="0.2" Color="White" /> <SolidColorBrush x:Key="DefaultTimelineIconForeground" Opacity="0.2" Color="White" />
<SolidColorBrush x:Key="OngoingTimelineIconForeground" Color="#FF54A9FF" /> <SolidColorBrush x:Key="OngoingTimelineIconForeground" Color="#FF54A9FF" />
<SolidColorBrush x:Key="SuccessTimelineIconForeground" Color="#FF5DC264" /> <SolidColorBrush x:Key="SuccessTimelineIconForeground" Color="#FF5DC264" />
<SolidColorBrush x:Key="WarningTimelineIconForeground" Color="#FFFFAE43" /> <SolidColorBrush x:Key="WarningTimelineIconForeground" Color="#FFFFAE43" />
<SolidColorBrush x:Key="ErrorTimelineIconForeground" Color="#FFFC725A" /> <SolidColorBrush x:Key="ErrorTimelineIconForeground" Color="#FFFC725A" />
<SolidColorBrush x:Key="TimelineLineBrush" Opacity="0.2" Color="White" /> <SolidColorBrush x:Key="TimelineLineBrush" Opacity="0.2" Color="White" />
</ResourceDictionary> </ResourceDictionary>

View File

@@ -0,0 +1,4 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="ToolBarHeaderForeground" Opacity="0.6" Color="#F9F9F9" />
<SolidColorBrush x:Key="ToolBarSeparatorForeground" Opacity="0.08" Color="White" />
</ResourceDictionary>

View File

@@ -0,0 +1,6 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="TwoTonePathIconForeground" Color="#135CB8"/>
<SolidColorBrush x:Key="TwoTonePathIconStrokeBrush" Color="#7FC1FF"/>
<SolidColorBrush x:Key="TwoTonePathIconActiveForeground" Color="#7FC1FF"/>
<SolidColorBrush x:Key="TwoTonePathIconActiveStrokeBrush" Color="#7FC1FF"/>
</ResourceDictionary>

View File

@@ -3,20 +3,25 @@
<ResourceInclude Source="Avatar.axaml" /> <ResourceInclude Source="Avatar.axaml" />
<ResourceInclude Source="Badge.axaml" /> <ResourceInclude Source="Badge.axaml" />
<ResourceInclude Source="Banner.axaml" /> <ResourceInclude Source="Banner.axaml" />
<ResourceInclude Source="Breadcrumb.axaml" />
<ResourceInclude Source="ButtonGroup.axaml" /> <ResourceInclude Source="ButtonGroup.axaml" />
<ResourceInclude Source="Clock.axaml" />
<ResourceInclude Source="DatePicker.axaml" /> <ResourceInclude Source="DatePicker.axaml" />
<ResourceInclude Source="Dialog.axaml" /> <ResourceInclude Source="Dialog.axaml" />
<ResourceInclude Source="Divider.axaml" /> <ResourceInclude Source="Divider.axaml" />
<ResourceInclude Source="DualBadge.axaml" /> <ResourceInclude Source="DualBadge.axaml" />
<ResourceInclude Source="Form.axaml" />
<ResourceInclude Source="Loading.axaml" /> <ResourceInclude Source="Loading.axaml" />
<ResourceInclude Source="NavigationMenu.axaml" /> <ResourceInclude Source="NavigationMenu.axaml" />
<ResourceInclude Source="NotificationShared.axaml" /> <ResourceInclude Source="NotificationShared.axaml" />
<ResourceInclude Source="Pagination.axaml" /> <ResourceInclude Source="Pagination.axaml" />
<ResourceInclude Source="Rating.axaml" /> <ResourceInclude Source="Rating.axaml" />
<ResourceInclude Source="SelectionList.axaml" /> <ResourceInclude Source="SelectionList.axaml" />
<ResourceInclude Source="Skeleton.axaml" />
<ResourceInclude Source="TagInput.axaml" /> <ResourceInclude Source="TagInput.axaml" />
<ResourceInclude Source="Timeline.axaml" /> <ResourceInclude Source="Timeline.axaml" />
<ResourceInclude Source="Toast.axaml" /> <ResourceInclude Source="Toast.axaml" />
<ResourceInclude Source="Skeleton.axaml" /> <ResourceInclude Source="ToolBar.axaml" />
<ResourceInclude Source="TwoTonePathIcon.axaml" />
</ResourceDictionary.MergedDictionaries> </ResourceDictionary.MergedDictionaries>
</ResourceDictionary> </ResourceDictionary>

View File

@@ -1,15 +1,5 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" <ResourceDictionary xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!--
<Color x:Key="WindowColor">#202020</Color>
<Color x:Key="WindowTextColor">#FFFFFF</Color>
<Color x:Key="HotlightColor">#75E9FC</Color>
<Color x:Key="GrayTextColor">#A6A6A6</Color>
<Color x:Key="HighlightTextColor">#263B50</Color>
<Color x:Key="HighlightColor">#8EE3F0</Color>
<Color x:Key="ButtonTextColor">#FFFFFF</Color>
<Color x:Key="ButtonFaceColor">#202020</Color>
-->
<!-- Badge --> <!-- Badge -->
<SolidColorBrush x:Key="BadgeBorderBrush" Color="{StaticResource WindowTextColor}" /> <SolidColorBrush x:Key="BadgeBorderBrush" Color="{StaticResource WindowTextColor}" />
<SolidColorBrush x:Key="BadgeForeground" Color="{StaticResource WindowColor}" /> <SolidColorBrush x:Key="BadgeForeground" Color="{StaticResource WindowColor}" />
@@ -18,13 +8,13 @@
<SolidColorBrush x:Key="BadgeLightPrimaryBadgeForeground" Color="{StaticResource HotlightColor}" /> <SolidColorBrush x:Key="BadgeLightPrimaryBadgeForeground" Color="{StaticResource HotlightColor}" />
<SolidColorBrush x:Key="BadgeInvertedBadgeBackground" Color="{StaticResource WindowColor}" /> <SolidColorBrush x:Key="BadgeInvertedBadgeBackground" Color="{StaticResource WindowColor}" />
<SolidColorBrush x:Key="BadgeInvertedPrimaryBadgeForeground" Color="{StaticResource WindowTextColor}" /> <SolidColorBrush x:Key="BadgeInvertedPrimaryBadgeForeground" Color="{StaticResource WindowTextColor}" />
<!-- Banner --> <!-- Banner -->
<SolidColorBrush x:Key="BannerInformationBackground" Color="{StaticResource WindowColor}" /> <SolidColorBrush x:Key="BannerInformationBackground" Color="{StaticResource WindowColor}" />
<SolidColorBrush x:Key="BannerBorderBrush" Color="{StaticResource WindowTextColor}" /> <SolidColorBrush x:Key="BannerBorderBrush" Color="{StaticResource WindowTextColor}" />
<SolidColorBrush x:Key="BannerInformationBorderBrush" Color="{StaticResource WindowTextColor}" /> <SolidColorBrush x:Key="BannerInformationBorderBrush" Color="{StaticResource WindowTextColor}" />
<SolidColorBrush x:Key="BannerCloseButtonForeground" Color="{StaticResource WindowTextColor}" /> <SolidColorBrush x:Key="BannerCloseButtonForeground" Color="{StaticResource WindowTextColor}" />
<SolidColorBrush x:Key="ButtonGroupSeparatorForeground" Color="{StaticResource ButtonTextColor}" /> <SolidColorBrush x:Key="ButtonGroupSeparatorForeground" Color="{StaticResource ButtonTextColor}" />
<!-- Light --> <!-- Light -->
<SolidColorBrush x:Key="ButtonGroupDefaultPrimaryForeground" Color="{StaticResource ButtonTextColor}" /> <SolidColorBrush x:Key="ButtonGroupDefaultPrimaryForeground" Color="{StaticResource ButtonTextColor}" />
@@ -55,7 +45,20 @@
<SolidColorBrush x:Key="ButtonGroupSolidDisabledBorderBrush" Color="{StaticResource GrayTextColor}" /> <SolidColorBrush x:Key="ButtonGroupSolidDisabledBorderBrush" Color="{StaticResource GrayTextColor}" />
<!-- end Solid --> <!-- end Solid -->
<!-- BreadCrumb -->
<SolidColorBrush x:Key="BreadcrumbItemForeground" Color="{StaticResource ButtonTextColor}" />
<SolidColorBrush x:Key="BreadcrumbItemSeparatorForeground" Color="{StaticResource ButtonTextColor}" />
<SolidColorBrush x:Key="BreadcrumbItemLastForeground" Color="{StaticResource HotlightColor}" />
<SolidColorBrush x:Key="BreadcrumbItemPointeroverForeground" Color="{StaticResource HighlightColor}" />
<!-- Clock -->
<SolidColorBrush x:Key="ClockHandBrush" Color="{StaticResource HighlightColor}" />
<SolidColorBrush x:Key="ClockHourTickForeground" Color="{StaticResource HotlightColor}" />
<SolidColorBrush x:Key="ClockMinuteTickForeground" Color="{StaticResource HotlightColor}" />
<SolidColorBrush x:Key="ClockArborFill" Color="{StaticResource ButtonFaceColor}" />
<SolidColorBrush x:Key="ClockArborStroke" Color="{StaticResource ButtonTextColor}" />
<!--CalenderDayButton--> <!--CalenderDayButton-->
<SolidColorBrush x:Key="CalenderDayBackground" Color="Transparent" /> <SolidColorBrush x:Key="CalenderDayBackground" Color="Transparent" />
<SolidColorBrush x:Key="CalenderDayBorderBrush" Color="Transparent" /> <SolidColorBrush x:Key="CalenderDayBorderBrush" Color="Transparent" />
@@ -95,12 +98,18 @@
<!--CalenderView--> <!--CalenderView-->
<SolidColorBrush x:Key="CalenderViewBackground" Color="Transparent" /> <SolidColorBrush x:Key="CalenderViewBackground" Color="Transparent" />
<!-- Divider --> <!-- Divider -->
<SolidColorBrush x:Key="DividerBorderBrush" Color="{StaticResource WindowTextColor}" /> <SolidColorBrush x:Key="DividerBorderBrush" Color="{StaticResource WindowTextColor}" />
<!--NavigationMenu-->
<SolidColorBrush x:Key="NavigationMenuItemExpandIconForeground" Color="{StaticResource WindowTextColor}" /> <SolidColorBrush x:Key="NavigationMenuItemExpandIconForeground" Color="{StaticResource WindowTextColor}" />
<SolidColorBrush x:Key="NavigationMenuItemSeparatorBorderForeground" Color="{StaticResource WindowTextColor}" />
<!-- Form -->
<SolidColorBrush x:Key="FormGroupForeground" Color="{StaticResource WindowTextColor}" />
<SolidColorBrush x:Key="FormAsteriskForeground" Color="{StaticResource HighlightColor}" />
<!-- Pagination --> <!-- Pagination -->
<SolidColorBrush x:Key="PaginationButtonDefaultForeground" Color="{StaticResource WindowTextColor}" /> <SolidColorBrush x:Key="PaginationButtonDefaultForeground" Color="{StaticResource WindowTextColor}" />
<SolidColorBrush x:Key="PaginationButtonSelectedForeground" Color="{StaticResource HighlightTextColor}" /> <SolidColorBrush x:Key="PaginationButtonSelectedForeground" Color="{StaticResource HighlightTextColor}" />
@@ -109,12 +118,25 @@
<SolidColorBrush x:Key="PaginationButtonPointeroverBackground" Color="{StaticResource HighlightColor}" /> <SolidColorBrush x:Key="PaginationButtonPointeroverBackground" Color="{StaticResource HighlightColor}" />
<SolidColorBrush x:Key="PaginationButtonPressedBackground" Color="{StaticResource HighlightColor}" /> <SolidColorBrush x:Key="PaginationButtonPressedBackground" Color="{StaticResource HighlightColor}" />
<SolidColorBrush x:Key="PaginationButtonSelectedBackground" Color="{DynamicResource HighlightColor}" /> <SolidColorBrush x:Key="PaginationButtonSelectedBackground" Color="{DynamicResource HighlightColor}" />
<!-- SelectionList --> <!-- SelectionList -->
<SolidColorBrush x:Key="SelectionListIndicatorBackground" Color="{StaticResource WindowColor}" /> <SolidColorBrush x:Key="SelectionListIndicatorBackground" Color="{StaticResource WindowColor}" />
<!-- Tag --> <!-- Tag -->
<SolidColorBrush x:Key="ClosableTagBackground" Color="{StaticResource WindowColor}" /> <SolidColorBrush x:Key="ClosableTagBackground" Color="{StaticResource WindowColor}" />
<SolidColorBrush x:Key="ClosableTagForeground" Color="{StaticResource WindowTextColor}" /> <SolidColorBrush x:Key="ClosableTagForeground" Color="{StaticResource WindowTextColor}" />
<SolidColorBrush x:Key="ClosableTagBorder" Color="{StaticResource WindowTextColor}" /> <SolidColorBrush x:Key="ClosableTagBorder" Color="{StaticResource WindowTextColor}" />
</ResourceDictionary>
<!-- Timeline -->
<SolidColorBrush x:Key="TimelineHeaderForeground" Color="{StaticResource WindowTextColor}" />
<!-- ToolBar -->
<SolidColorBrush x:Key="ToolBarHeaderForeground" Color="{StaticResource HighlightColor}" />
<SolidColorBrush x:Key="ToolBarSeparatorForeground" Color="{StaticResource ButtonTextColor}" />
<!-- TwoTonePathIcon -->
<SolidColorBrush x:Key="TwoTonePathIconForeground" Color="{StaticResource HighlightColor}" />
<SolidColorBrush x:Key="TwoTonePathIconStrokeBrush" Color="{StaticResource ButtonTextColor}" />
<SolidColorBrush x:Key="TwoTonePathIconActiveForeground" Color="{StaticResource ButtonTextColor}" />
<SolidColorBrush x:Key="TwoTonePathIconActiveStrokeBrush" Color="{StaticResource ButtonTextColor}" />
</ResourceDictionary>

View File

@@ -0,0 +1,6 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="BreadcrumbItemForeground" Opacity="0.62" Color="#1C1F23" />
<SolidColorBrush x:Key="BreadcrumbItemSeparatorForeground" Opacity="0.35" Color="#1C1F23" />
<SolidColorBrush x:Key="BreadcrumbItemLastForeground" Color="#1C1F23" />
<SolidColorBrush x:Key="BreadcrumbItemPointeroverForeground" Color="#0077FA" />
</ResourceDictionary>

View File

@@ -0,0 +1,7 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="ClockHandBrush" Color="#555B61" />
<SolidColorBrush x:Key="ClockHourTickForeground" Color="#555B61" />
<SolidColorBrush x:Key="ClockMinuteTickForeground" Color="#888D92" />
<SolidColorBrush x:Key="ClockArborFill" Color="White" />
<SolidColorBrush x:Key="ClockArborStroke" Color="#0077FA" />
</ResourceDictionary>

View File

@@ -1,5 +1,3 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" <ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <SolidColorBrush x:Key="OverlayDialogMaskBrush" Color="#FF555B61" Opacity="0.2" />
<!-- Add Resources Here --> </ResourceDictionary>
<SolidColorBrush x:Key="OverlayDialogMaskBrush" Color="#FF555B61" Opacity="0.2"></SolidColorBrush>
</ResourceDictionary>

View File

@@ -0,0 +1,4 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="FormGroupForeground" Opacity="0.08" Color="#1C1F23" />
<SolidColorBrush x:Key="FormAsteriskForeground" Color="#D52515" />
</ResourceDictionary>

View File

@@ -1,4 +1,4 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- Add Resources Here -->
<SolidColorBrush x:Key="NavigationMenuItemExpandIconForeground" Opacity="0.62" Color="#1C1F23" /> <SolidColorBrush x:Key="NavigationMenuItemExpandIconForeground" Opacity="0.62" Color="#1C1F23" />
<SolidColorBrush x:Key="NavigationMenuItemSeparatorBorderForeground" Opacity="0.08" Color="#1C1F23" />
</ResourceDictionary> </ResourceDictionary>

View File

@@ -1,9 +1,9 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- Add Resources Here --> <SolidColorBrush x:Key="TimelineHeaderForeground" Color="#1C1F23" />
<SolidColorBrush x:Key="DefaultTimelineIconForeground" Opacity="0.13" Color="#FF2E3238" /> <SolidColorBrush x:Key="DefaultTimelineIconForeground" Opacity="0.13" Color="#FF2E3238" />
<SolidColorBrush x:Key="OngoingTimelineIconForeground" Color="#FF0077FA" /> <SolidColorBrush x:Key="OngoingTimelineIconForeground" Color="#FF0077FA" />
<SolidColorBrush x:Key="SuccessTimelineIconForeground" Color="#FF3BB346" /> <SolidColorBrush x:Key="SuccessTimelineIconForeground" Color="#FF3BB346" />
<SolidColorBrush x:Key="WarningTimelineIconForeground" Color="#FFFC8800" /> <SolidColorBrush x:Key="WarningTimelineIconForeground" Color="#FFFC8800" />
<SolidColorBrush x:Key="ErrorTimelineIconForeground" Color="#FFF93920" /> <SolidColorBrush x:Key="ErrorTimelineIconForeground" Color="#FFF93920" />
<SolidColorBrush x:Key="TimelineLineBrush" Opacity="0.13" Color="#FF2E3238" /> <SolidColorBrush x:Key="TimelineLineBrush" Opacity="0.13" Color="#FF2E3238" />
</ResourceDictionary> </ResourceDictionary>

View File

@@ -0,0 +1,4 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="ToolBarHeaderForeground" Opacity="0.62" Color="#1C1F23" />
<SolidColorBrush x:Key="ToolBarSeparatorForeground" Opacity="0.08" Color="#1C1F23" />
</ResourceDictionary>

View File

@@ -0,0 +1,6 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="TwoTonePathIconForeground" Color="#98CDFD"/>
<SolidColorBrush x:Key="TwoTonePathIconStrokeBrush" Color="#0062D6"/>
<SolidColorBrush x:Key="TwoTonePathIconActiveForeground" Color="#0062D6"/>
<SolidColorBrush x:Key="TwoTonePathIconActiveStrokeBrush" Color="#0062D6"/>
</ResourceDictionary>

View File

@@ -3,20 +3,25 @@
<ResourceInclude Source="Avatar.axaml" /> <ResourceInclude Source="Avatar.axaml" />
<ResourceInclude Source="Badge.axaml" /> <ResourceInclude Source="Badge.axaml" />
<ResourceInclude Source="Banner.axaml" /> <ResourceInclude Source="Banner.axaml" />
<ResourceInclude Source="Breadcrumb.axaml" />
<ResourceInclude Source="ButtonGroup.axaml" /> <ResourceInclude Source="ButtonGroup.axaml" />
<ResourceInclude Source="Clock.axaml" />
<ResourceInclude Source="DatePicker.axaml" /> <ResourceInclude Source="DatePicker.axaml" />
<ResourceInclude Source="Dialog.axaml" /> <ResourceInclude Source="Dialog.axaml" />
<ResourceInclude Source="Divider.axaml" /> <ResourceInclude Source="Divider.axaml" />
<ResourceInclude Source="DualBadge.axaml" /> <ResourceInclude Source="DualBadge.axaml" />
<ResourceInclude Source="Form.axaml" />
<ResourceInclude Source="Loading.axaml" /> <ResourceInclude Source="Loading.axaml" />
<ResourceInclude Source="NavigationMenu.axaml" /> <ResourceInclude Source="NavigationMenu.axaml" />
<ResourceInclude Source="NotificationShared.axaml" /> <ResourceInclude Source="NotificationShared.axaml" />
<ResourceInclude Source="Pagination.axaml" /> <ResourceInclude Source="Pagination.axaml" />
<ResourceInclude Source="Rating.axaml" /> <ResourceInclude Source="Rating.axaml" />
<ResourceInclude Source="SelectionList.axaml" /> <ResourceInclude Source="SelectionList.axaml" />
<ResourceInclude Source="Skeleton.axaml" />
<ResourceInclude Source="TagInput.axaml" /> <ResourceInclude Source="TagInput.axaml" />
<ResourceInclude Source="Timeline.axaml" /> <ResourceInclude Source="Timeline.axaml" />
<ResourceInclude Source="Toast.axaml" /> <ResourceInclude Source="Toast.axaml" />
<ResourceInclude Source="Skeleton.axaml" /> <ResourceInclude Source="ToolBar.axaml" />
<ResourceInclude Source="TwoTonePathIcon.axaml" />
</ResourceDictionary.MergedDictionaries> </ResourceDictionary.MergedDictionaries>
</ResourceDictionary> </ResourceDictionary>