Skip to content

Commit

Permalink
Split monochrome palette
Browse files Browse the repository at this point in the history
  • Loading branch information
acidicMercury8 committed Nov 30, 2024
1 parent 0c06539 commit 66716c4
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 13 deletions.
47 changes: 34 additions & 13 deletions src/ImeSense.GeneoGraph.Themes/Palettes/Common.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,21 +246,42 @@
</Border>
</Design.PreviewWith>

<Color x:Key="Monochrome.Colors.White">#FFFFFF</Color>
<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Light">
<SolidColorBrush x:Key="Transparent.Brushes.100" Color="{StaticResource Monochrome.Colors.Black}" Opacity="1.0" />
<SolidColorBrush x:Key="Transparent.Brushes.90" Color="{StaticResource Monochrome.Colors.Black}" Opacity="0.9" />
<SolidColorBrush x:Key="Transparent.Brushes.80" Color="{StaticResource Monochrome.Colors.Black}" Opacity="0.8" />
<SolidColorBrush x:Key="Transparent.Brushes.70" Color="{StaticResource Monochrome.Colors.Black}" Opacity="0.7" />
<SolidColorBrush x:Key="Transparent.Brushes.60" Color="{StaticResource Monochrome.Colors.Black}" Opacity="0.6" />
<SolidColorBrush x:Key="Transparent.Brushes.50" Color="{StaticResource Monochrome.Colors.Black}" Opacity="0.5" />
<SolidColorBrush x:Key="Transparent.Brushes.40" Color="{StaticResource Monochrome.Colors.Black}" Opacity="0.4" />
<SolidColorBrush x:Key="Transparent.Brushes.30" Color="{StaticResource Monochrome.Colors.Black}" Opacity="0.3" />
<SolidColorBrush x:Key="Transparent.Brushes.20" Color="{StaticResource Monochrome.Colors.Black}" Opacity="0.2" />
<SolidColorBrush x:Key="Transparent.Brushes.10" Color="{StaticResource Monochrome.Colors.Black}" Opacity="0.1" />

<SolidColorBrush x:Key="Transparent.Brushes.75" Color="{StaticResource Monochrome.Colors.Black}" Opacity="0.75" />
<SolidColorBrush x:Key="Transparent.Brushes.25" Color="{StaticResource Monochrome.Colors.Black}" Opacity="0.25" />
</ResourceDictionary>

<SolidColorBrush x:Key="Transparent.Brushes.100" Color="{StaticResource Monochrome.Colors.White}" Opacity="1.0" />
<SolidColorBrush x:Key="Transparent.Brushes.90" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.9" />
<SolidColorBrush x:Key="Transparent.Brushes.80" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.8" />
<SolidColorBrush x:Key="Transparent.Brushes.70" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.7" />
<SolidColorBrush x:Key="Transparent.Brushes.60" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.6" />
<SolidColorBrush x:Key="Transparent.Brushes.50" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.5" />
<SolidColorBrush x:Key="Transparent.Brushes.40" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.4" />
<SolidColorBrush x:Key="Transparent.Brushes.30" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.3" />
<SolidColorBrush x:Key="Transparent.Brushes.20" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.2" />
<SolidColorBrush x:Key="Transparent.Brushes.10" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.1" />
<ResourceDictionary x:Key="Dark">
<SolidColorBrush x:Key="Transparent.Brushes.100" Color="{StaticResource Monochrome.Colors.White}" Opacity="1.0" />
<SolidColorBrush x:Key="Transparent.Brushes.90" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.9" />
<SolidColorBrush x:Key="Transparent.Brushes.80" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.8" />
<SolidColorBrush x:Key="Transparent.Brushes.70" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.7" />
<SolidColorBrush x:Key="Transparent.Brushes.60" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.6" />
<SolidColorBrush x:Key="Transparent.Brushes.50" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.5" />
<SolidColorBrush x:Key="Transparent.Brushes.40" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.4" />
<SolidColorBrush x:Key="Transparent.Brushes.30" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.3" />
<SolidColorBrush x:Key="Transparent.Brushes.20" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.2" />
<SolidColorBrush x:Key="Transparent.Brushes.10" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.1" />

<SolidColorBrush x:Key="Transparent.Brushes.75" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.75" />
<SolidColorBrush x:Key="Transparent.Brushes.25" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.25" />
<SolidColorBrush x:Key="Transparent.Brushes.75" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.75" />
<SolidColorBrush x:Key="Transparent.Brushes.25" Color="{StaticResource Monochrome.Colors.White}" Opacity="0.25" />
</ResourceDictionary>
</ResourceDictionary.ThemeDictionaries>

<Color x:Key="Monochrome.Colors.Black">#000000</Color>
<Color x:Key="Monochrome.Colors.White">#FFFFFF</Color>

<Color x:Key="Background.Colors.Main">#121212</Color>
<Color x:Key="Background.Colors.Bar1">#1A1A1A</Color>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@

<ItemGroup>
<ProjectReference Include="..\ImeSense.GeneoGraph\ImeSense.GeneoGraph.csproj" />
<ProjectReference Include="..\ImeSense.GeneoGraph.Themes\ImeSense.GeneoGraph.Themes.csproj" />
</ItemGroup>
</Project>

0 comments on commit 66716c4

Please sign in to comment.