Skip to content

Commit

Permalink
feat: polish day button foreground when in range.
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitism committed Nov 11, 2024
1 parent ff103b1 commit 75f1e1a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ursa.Themes.Semi/Controls/Calendar.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<Setter Property="Background" Value="{DynamicResource CalenderDayInRangeBackground}" />
<Setter Property="CornerRadius" Value="{DynamicResource CalenderDayInRangeCornerRadius}" />
<Setter Property="BorderThickness" Value="{DynamicResource CalenderDayNoBorderThickness}" />
<Setter Property="Foreground" Value="{DynamicResource CalenderDaySelectedForeground}" />
<Setter Property="Foreground" Value="{DynamicResource CalendarDayInRangeForeground}" />
</Style>

<Style Selector="^:today">
Expand Down
1 change: 1 addition & 0 deletions src/Ursa.Themes.Semi/Themes/Dark/DatePicker.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<SolidColorBrush x:Key="CalenderDaySelectedForeground" Color="White" />
<SolidColorBrush x:Key="CalenderDaySelectedPointeroverBackground" Color="#7FC1FF" />
<SolidColorBrush x:Key="CalenderDaySelectedPressedBackground" Color="#A9D7FF" />
<SolidColorBrush x:Key="CalendarDayInRangeForeground" Color="#F9F9F9" />

<SolidColorBrush x:Key="CalenderDayStartEndDateBackground" Color="#54A9FF" />
<SolidColorBrush x:Key="CalenderDayStartEndDateBorderBrush" Color="#54A9FF" />
Expand Down
1 change: 1 addition & 0 deletions src/Ursa.Themes.Semi/Themes/HighContrast/DatePicker.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<SolidColorBrush x:Key="CalenderDaySelectedForeground" Color="{StaticResource HighlightTextColor}" />
<SolidColorBrush x:Key="CalenderDaySelectedPointeroverBackground" Color="{StaticResource HighlightColor}" />
<SolidColorBrush x:Key="CalenderDaySelectedPressedBackground" Color="{StaticResource HighlightColor}" />
<SolidColorBrush x:Key="CalendarDayInRangeForeground" Color="{StaticResource HighlightTextColor}" />

<SolidColorBrush x:Key="CalenderDayStartEndDateBackground" Color="{StaticResource HighlightColor}" />
<SolidColorBrush x:Key="CalenderDayStartEndDateBorderBrush" Color="{StaticResource HighlightColor}" />
Expand Down
1 change: 1 addition & 0 deletions src/Ursa.Themes.Semi/Themes/Light/DatePicker.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<SolidColorBrush x:Key="CalenderDaySelectedForeground" Color="White" />
<SolidColorBrush x:Key="CalenderDaySelectedPointeroverBackground" Color="#0062D6" />
<SolidColorBrush x:Key="CalenderDaySelectedPressedBackground" Color="#004FB3" />
<SolidColorBrush x:Key="CalendarDayInRangeForeground" Color="#1C1F23" />

<SolidColorBrush x:Key="CalenderDayStartEndDateBackground" Color="#0077FA" />
<SolidColorBrush x:Key="CalenderDayStartEndDateBorderBrush" Color="#0077FA" />
Expand Down

0 comments on commit 75f1e1a

Please sign in to comment.