Skip to content

Commit

Permalink
menu light theme better border brush
Browse files Browse the repository at this point in the history
  • Loading branch information
kikipoulet committed Oct 10, 2024
1 parent fb25093 commit 4e69c25
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions SukiUI/ColorTheme/Dark.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<Color x:Key="SukiControlBorderBrush">#606060</Color>
<Color x:Key="SukiMediumBorderBrush">#555555</Color>
<Color x:Key="SukiLightBorderBrush">#454545</Color>
<Color x:Key="SukiMenuBorderBrush">#454545</Color>
<Color x:Key="GlassBorderBrush">#252729</Color>

<Color x:Key="SukiText">#edffffff</Color>
Expand Down
1 change: 1 addition & 0 deletions SukiUI/ColorTheme/Light.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<Color x:Key="SukiControlBorderBrush">#cecece</Color>
<Color x:Key="SukiMediumBorderBrush">#e2e2e2</Color>
<Color x:Key="SukiLightBorderBrush">#f1f1f1</Color>
<Color x:Key="SukiMenuBorderBrush">#d7d7d7</Color>
<Color x:Key="GlassBorderBrush">#e3e3e7</Color>

<Color x:Key="SukiText">#222222</Color>
Expand Down
2 changes: 1 addition & 1 deletion SukiUI/Theme/ContextMenu.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ControlTheme x:Key="SukiContextMenuStyle" TargetType="ContextMenu">
<Setter Property="Background" Value="{DynamicResource SukiCardBackground}" />
<Setter Property="CornerRadius" Value="6" />
<Setter Property="BorderBrush" Value="{DynamicResource SukiLightBorderBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource SukiMenuBorderBrush}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Template">
<ControlTemplate>
Expand Down
4 changes: 2 additions & 2 deletions SukiUI/Theme/Menu.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Border Name="root"
Margin="5,5"
Background="{TemplateBinding Background}"
BorderBrush="{DynamicResource SukiLightBorderBrush}"
BorderBrush="{DynamicResource SukiMenuBorderBrush}"
BorderThickness="0"
CornerRadius="8">
<Panel>
Expand Down Expand Up @@ -49,7 +49,7 @@
<Border Name="PART_Border"
Margin="16,8,8,8"
Background="{DynamicResource SukiCardBackground}"
BorderBrush="{DynamicResource SukiLightBorderBrush}"
BorderBrush="{DynamicResource SukiMenuBorderBrush}"
BorderThickness="1"
BoxShadow="{DynamicResource SukiPopupShadow}"
ClipToBounds="True"
Expand Down
2 changes: 1 addition & 1 deletion SukiUI/Theme/MenuFlyoutPresenter.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ControlTheme x:Key="SukiMenuFlyoutPresenterStyle" TargetType="MenuFlyoutPresenter">
<Setter Property="Background" Value="{DynamicResource SukiCardBackground}" />
<Setter Property="CornerRadius" Value="6" />
<Setter Property="BorderBrush" Value="{DynamicResource SukiLightBorderBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource SukiMenuBorderBrush}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Template">
<ControlTemplate>
Expand Down
3 changes: 2 additions & 1 deletion SukiUI/Theme/MenuItem.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<converters:PlatformKeyGestureConverter x:Key="KeyGestureConverter" />

<ControlTheme x:Key="SukiMenuItemStyle" TargetType="MenuItem">

<Setter Property="Background" Value="{DynamicResource SukiBackground}" />
<Setter Property="BorderThickness" Value="1.5" />
<Setter Property="FontSize" Value="14" />
Expand Down Expand Up @@ -77,7 +78,7 @@
<Border Name="PART_Border"
Margin="16,8,8,8"
Background="{DynamicResource SukiCardBackground}"
BorderBrush="{DynamicResource SukiLightBorderBrush}"
BorderBrush="{DynamicResource SukiMenuBorderBrush}"
BorderThickness="1"
BoxShadow="{DynamicResource SukiPopupShadow}"
ClipToBounds="True"
Expand Down

0 comments on commit 4e69c25

Please sign in to comment.