Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinnara authored Nov 7, 2022
1 parent 3cf00e7 commit df87a7b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
10 changes: 4 additions & 6 deletions ModernWpf/ThemeResources/Dark.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,7 @@
<Color x:Key="ControlOnImageFillColorDefault">#B31C1C1C</Color>
<Color x:Key="ControlOnImageFillColorSecondary">#1A1A1A</Color>
<Color x:Key="ControlOnImageFillColorTertiary">#131313</Color>
<Color x:Key="ControlOnImageFillColorDisabled">#131313</Color>

<Color x:Key="AccentFillColorDefault">#0078D4</Color>
<Color x:Key="ControlOnImageFillColorDisabled">#1E1E1E</Color>

<Color x:Key="AccentAAFillColorDisabled">#28FFFFFF</Color>

Expand All @@ -266,7 +264,7 @@
<Color x:Key="SurfaceStrokeColorFlyout">#33000000</Color>
<Color x:Key="SurfaceStrokeColorInverse">#0F000000</Color>

<Color x:Key="DividerStrokeColorDefault">#33000000</Color>
<Color x:Key="DividerStrokeColorDefault">#15FFFFFF</Color>

<Color x:Key="FocusStrokeColorOuter">#FFFFFF</Color>
<Color x:Key="FocusStrokeColorInner">#B3000000</Color>
Expand All @@ -285,7 +283,7 @@
<Color x:Key="SolidBackgroundFillColorTertiary">#282828</Color>
<Color x:Key="SolidBackgroundFillColorQuarternary">#2C2C2C</Color>

<Color x:Key="SystemFillColorAttention">#0070CB</Color>
<Color x:Key="SystemFillColorAttention">#50C0FF</Color>
<Color x:Key="SystemFillColorSuccess">#6CCB5F</Color>
<Color x:Key="SystemFillColorCaution">#FCE100</Color>
<Color x:Key="SystemFillColorCritical">#FF99A4</Color>
Expand Down Expand Up @@ -1697,7 +1695,7 @@
<ScaleTransform ScaleY="-1" CenterY="0.5"/>
</LinearGradientBrush.RelativeTransform>
<LinearGradientBrush.GradientStops>
<GradientStop Offset="0" Color="{StaticResource AccentFillColorDefault}"/>
<GradientStop Offset="0" Color="{DynamicResource SystemAccentColor}"/>
<GradientStop Offset="1.0" Color="{StaticResource ControlStrokeColorDefault}"/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
Expand Down
12 changes: 5 additions & 7 deletions ModernWpf/ThemeResources/Light.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,6 @@
<Color x:Key="ControlOnImageFillColorTertiary">#EBEBEB</Color>
<Color x:Key="ControlOnImageFillColorDisabled">#00FFFFFF</Color>

<Color x:Key="AccentFillColorDefault">#0078D4</Color>

<Color x:Key="AccentAAFillColorDisabled">#37000000</Color>

<Color x:Key="ControlStrokeColorDefault">#0F000000</Color>
Expand All @@ -266,7 +264,7 @@
<Color x:Key="SurfaceStrokeColorFlyout">#0F000000</Color>
<Color x:Key="SurfaceStrokeColorInverse">#15FFFFFF</Color>

<Color x:Key="DividerStrokeColorDefault">#14000000</Color>
<Color x:Key="DividerStrokeColorDefault">#0F000000</Color>

<Color x:Key="FocusStrokeColorOuter">#E4000000</Color>
<Color x:Key="FocusStrokeColorInner">#B3FFFFFF</Color>
Expand All @@ -286,9 +284,9 @@
<Color x:Key="SolidBackgroundFillColorQuarternary">#FFFFFF</Color>

<Color x:Key="SystemFillColorAttention">#0070CB</Color>
<Color x:Key="SystemFillColorSuccess">#117D11</Color>
<Color x:Key="SystemFillColorCaution">#A16100</Color>
<Color x:Key="SystemFillColorCritical">#D03728</Color>
<Color x:Key="SystemFillColorSuccess">#0F7B0F</Color>
<Color x:Key="SystemFillColorCaution">#9D5D00</Color>
<Color x:Key="SystemFillColorCritical">#C42B1C</Color>
<Color x:Key="SystemFillColorNeutral">#72000000</Color>
<Color x:Key="SystemFillColorAttentionBackground">#80F6F6F6</Color>
<Color x:Key="SystemFillColorSuccessBackground">#DFF6DD</Color>
Expand Down Expand Up @@ -1696,7 +1694,7 @@
<ScaleTransform ScaleY="-1" CenterY="0.5"/>
</LinearGradientBrush.RelativeTransform>
<LinearGradientBrush.GradientStops>
<GradientStop Offset="0" Color="{StaticResource AccentFillColorDefault}"/>
<GradientStop Offset="0" Color="{DynamicResource SystemAccentColor}"/>
<GradientStop Offset="1.0" Color="{StaticResource ControlStrokeColorDefault}"/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
Expand Down

0 comments on commit df87a7b

Please sign in to comment.