Skip to content

Commit 9d35589

Browse files
authored
feat: styles for theme variants (#2819)
1 parent 502874c commit 9d35589

File tree

21 files changed

+296
-138
lines changed

21 files changed

+296
-138
lines changed

sources/editor/Stride.Core.Assets.Editor.Avalonia/Views/DefaultPropertyTemplateProviders.axaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
<Border x:Name="Border"
9090
Width="16" Height="16" Margin="2,0" Background="Transparent" Focusable="False">
9191
<Image Source="{TemplateBinding Tag}" Width="16" Height="16"/>
92+
<!-- FIXME xplat-editor use style selectors instead -->
9293
<Interaction.Behaviors>
9394
<DataTriggerBehavior Binding="{TemplateBinding IsPointerOver}" Value="{sd:True}">
9495
<ChangePropertyAction PropertyName="Background" TargetObject="Border" Value="#FFAAAAAA"/>
@@ -154,10 +155,10 @@
154155
<ControlTemplate x:Key="TreeExpanderToggleButton" TargetType="{x:Type ToggleButton}">
155156
<Grid Background="Transparent">
156157
<Path x:Name="Up_Arrow" IsVisible="{Binding !IsChecked, RelativeSource={RelativeSource TemplatedParent}}"
157-
HorizontalAlignment="Center" VerticalAlignment="Center" Fill="#FFD1D1D1"
158+
HorizontalAlignment="Center" VerticalAlignment="Center" Fill="{DynamicResource SystemBaseHighColor}"
158159
Data="M 0 6 V 0 l 5 3 z" RenderTransformOrigin="0.5,0.5" Stretch="Uniform" StrokeThickness="0"/>
159160
<Path x:Name="Down_Arrow" IsVisible="{Binding IsChecked, RelativeSource={RelativeSource TemplatedParent}}"
160-
HorizontalAlignment="Center" VerticalAlignment="Center" Fill="#FFD1D1D1"
161+
HorizontalAlignment="Center" VerticalAlignment="Center" Fill="{DynamicResource SystemBaseHighColor}"
161162
Data="M 0 0 H 6 L 3 6 Z" RenderTransformOrigin="0.5,0.5" Stretch="Uniform" StrokeThickness="0"/>
162163
</Grid>
163164
</ControlTemplate>
@@ -280,7 +281,7 @@
280281
IsVisible="{Binding IsVisible}"
281282
Margin="{Binding $parent[sd:PropertyViewItem].Offset, Mode=OneWay, Converter={sd:NumericToThickness}, ConverterParameter={sd:Thickness 1,0,0,0}}">
282283
<Border x:Name="PART_Name"
283-
Background="#316B8F"
284+
Background="{DynamicResource PropertyHeaderBackground}"
284285
MinHeight="20" Margin="6" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
285286
ToolTip.Tip="{Binding [Documentation]}"/>
286287
<DockPanel x:Name="HeaderDockPanel"
@@ -315,8 +316,7 @@
315316
<Image Source="{Binding NodeValue, Converter={sd:Chained {sd:ObjectToType}, {caec:TypeToResource}}}"
316317
MaxWidth="16" MaxHeight="16" Margin="0,0,4,0"/>
317318
<TextBlock x:Name="HeaderTextBlock" FontSize="16" TextTrimming="CharacterEllipsis"
318-
Text="{Binding DisplayName, Mode=OneWay}" HorizontalAlignment="Left" VerticalAlignment="Center"
319-
Foreground="#E6E6E6"/>
319+
Text="{Binding DisplayName, Mode=OneWay}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
320320
<Interaction.Behaviors>
321321
<DataTriggerBehavior Binding="{sd:MultiBinding {Binding ConverterParameter=[IsOverridden], Converter={caec:NodePathToObject}},
322322
{Binding ConverterParameter=[Enabled].[IsOverridden], Converter={caec:NodePathToObject}},

sources/editor/Stride.Core.Assets.Editor/Settings/EditorSettings.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net)
22
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
33

4+
using Stride.Core.Mathematics;
45
using Stride.Core.Settings;
56
using Stride.Core.Translation;
67

@@ -20,10 +21,23 @@ static EditorSettings()
2021
{
2122
DisplayName = $"{Interface}/{Tr._p("Settings", "Language")}",
2223
};
24+
ThemeAccent = new SettingsKey<Color>("Interface/Theme/Accent", SettingsContainer, default(Color))
25+
{
26+
DisplayName = $"{Interface}/{Tr._p("Settings", "Theme Accent")}",
27+
};
28+
ThemeVariant = new SettingsKey<string>("Interface/Theme/Variant", SettingsContainer, "Default")
29+
{
30+
DisplayName = $"{Interface}/{Tr._p("Settings", "Theme Variant")}",
31+
GetAcceptableValues = () => ["Default", "Dark", "Light"],
32+
};
2333
}
2434

2535
public static SettingsKey<string> Language { get; }
2636

37+
public static SettingsKey<Color> ThemeAccent { get; }
38+
39+
public static SettingsKey<string> ThemeVariant { get; }
40+
2741
public static bool NeedRestart { get; set; }
2842

2943
public static void Initialize()

sources/editor/Stride.GameStudio.Avalonia/App.axaml

Lines changed: 65 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,68 @@
1313
<DrawingImage x:Key="EditorIcon">
1414
<GeometryDrawing Brush="#CCCCCC" Geometry="F1 M18,20z M0,0z M9.3457031,0.17382812L1.5566406,4.7675781 9,9.140625 16.791016,4.5488281 9.3457031,0.17382812z M0.86132812,5.9941406L0.86132812,9.5488281 8.3046875,13.923828 8.3046875,10.369141 0.86132812,5.9941406z M13.417969,8.1816406L9.6953125,10.369141 9.6953125,13.923828 16.443359,9.9589844 13.417969,8.1816406z M17.140625,11.185547L14.810547,12.554688 17.140625,13.923828 17.140625,11.185547z M4.4140625,13.248047L1.0117188,15.171875 8.9785156,19.826172 16.705078,15.279297 13.417969,13.373047 9,15.96875 4.4140625,13.248047z" />
1515
</DrawingImage>
16+
<ResourceDictionary.ThemeDictionaries>
17+
<ResourceDictionary x:Key="Default">
18+
<SolidColorBrush x:Key="PropertyFocusedBackground"
19+
Color="#FF3E3E40"/>
20+
<SolidColorBrush x:Key="PropertyHeaderBackground"
21+
Color="#FF316B8F"/>
22+
<SolidColorBrush x:Key="PropertyHoveredBackground"
23+
Color="#FF525252"/>
24+
</ResourceDictionary>
25+
<ResourceDictionary x:Key="Dark">
26+
<SolidColorBrush x:Key="PropertyFocusedBackground"
27+
Color="{DynamicResource SystemAccentColor}"/>
28+
<SolidColorBrush x:Key="PropertyHeaderBackground"
29+
Color="{DynamicResource SystemAccentColorDark1}"/>
30+
<SolidColorBrush x:Key="PropertyHoveredBackground"
31+
Color="{StaticResource SystemListMediumColor}"/>
32+
</ResourceDictionary>
33+
<ResourceDictionary x:Key="Light">
34+
<SolidColorBrush x:Key="PropertyFocusedBackground"
35+
Color="{DynamicResource SystemAccentColor}"/>
36+
<SolidColorBrush x:Key="PropertyHeaderBackground"
37+
Color="{DynamicResource SystemAccentColorLight1}"/>
38+
<SolidColorBrush x:Key="PropertyHoveredBackground"
39+
Color="{StaticResource SystemListMediumColor}"/>
40+
</ResourceDictionary>
41+
</ResourceDictionary.ThemeDictionaries>
1642
</ResourceDictionary>
1743
</Application.Resources>
1844
<Application.Styles>
19-
<FluentTheme />
45+
<FluentTheme>
46+
<FluentTheme.Palettes>
47+
<ColorPaletteResources x:Key="Dark"/>
48+
<ColorPaletteResources x:Key="Light"/>
49+
</FluentTheme.Palettes>
50+
</FluentTheme>
2051
<themes:DefaultStyles />
2152
<sd:HyperlinkStyle />
2253
<!-- FIXME xplat-editor move to theme -->
2354
<Style Selector="sd|TextLogViewer">
2455
<Style.Resources>
25-
<SolidColorBrush x:Key="TextBrush" Color="#E6E6E6"/>
56+
<ResourceDictionary>
57+
<ResourceDictionary.ThemeDictionaries>
58+
<ResourceDictionary x:Key="Default">
59+
<SolidColorBrush x:Key="TextLogDebugBrush" Color="Gray"/>
60+
<SolidColorBrush x:Key="TextLogVerboseBrush" Color="Black"/>
61+
<SolidColorBrush x:Key="TextLogInfoBrush" Color="Green"/>
62+
<SolidColorBrush x:Key="TextLogWarningBrush" Color="Gold"/>
63+
<SolidColorBrush x:Key="TextLogErrorBrush" Color="Tomato"/>
64+
<SolidColorBrush x:Key="TextLogFatalBrush" Color="Red"/>
65+
</ResourceDictionary>
66+
<ResourceDictionary x:Key="Dark">
67+
<SolidColorBrush x:Key="TextLogDebugBrush" Color="DarkGray"/>
68+
<SolidColorBrush x:Key="TextLogVerboseBrush" Color="{StaticResource SystemBaseHighColor}"/>
69+
<SolidColorBrush x:Key="TextLogInfoBrush" Color="LightGreen"/>
70+
</ResourceDictionary>
71+
<ResourceDictionary x:Key="Light">
72+
<SolidColorBrush x:Key="TextLogVerboseBrush" Color="{StaticResource SystemBaseHighColor}"/>
73+
</ResourceDictionary>
74+
</ResourceDictionary.ThemeDictionaries>
75+
</ResourceDictionary>
2676

27-
<SolidColorBrush x:Key="TextLogDebugBrush" Color="DarkGray"/>
28-
<SolidColorBrush x:Key="TextLogVerboseBrush" Color="White"/>
29-
<SolidColorBrush x:Key="TextLogInfoBrush" Color="LightGreen"/>
30-
<SolidColorBrush x:Key="TextLogWarningBrush" Color="Gold"/>
31-
<SolidColorBrush x:Key="TextLogErrorBrush" Color="Tomato"/>
32-
<SolidColorBrush x:Key="TextLogFatalBrush" Color="Red"/>
77+
<SolidColorBrush x:Key="TextBrush" Color="#E6E6E6"/>
3378

3479
<Geometry x:Key="GeometryDelete">F1 M 25.3333,23.75L 50.6667,23.75C 51.5411,23.75 51.8541,27.3125 51.8541,27.3125L 24.1458,27.3125C 24.1458,27.3125 24.4589,23.75 25.3333,23.75 Z M 35.625,19.7917L 40.375,19.7917C 40.8122,19.7917 41.9583,20.9378 41.9583,21.375C 41.9583,21.8122 40.8122,22.9584 40.375,22.9584L 35.625,22.9584C 35.1878,22.9584 34.0416,21.8122 34.0416,21.375C 34.0416,20.9378 35.1878,19.7917 35.625,19.7917 Z M 27.7083,28.5L 48.2916,28.5C 49.1661,28.5 49.875,29.2089 49.875,30.0834L 48.2916,53.8334C 48.2916,54.7078 47.5828,55.4167 46.7083,55.4167L 29.2917,55.4167C 28.4172,55.4167 27.7083,54.7078 27.7083,53.8334L 26.125,30.0834C 26.125,29.2089 26.8339,28.5 27.7083,28.5 Z M 30.0833,31.6667L 30.4792,52.25L 33.25,52.25L 32.8542,31.6667L 30.0833,31.6667 Z M 36.4167,31.6667L 36.4167,52.25L 39.5833,52.25L 39.5833,31.6667L 36.4167,31.6667 Z M 43.1458,31.6667L 42.75,52.25L 45.5208,52.25L 45.9167,31.6667L 43.1458,31.6667 Z</Geometry>
3580
<Geometry x:Key="GeometryDebugMessage">F1 M 46.5,19C 47.8807,19 49,20.1193 49,21.5C 49,22.8807 47.8807,24 46.5,24L 45.8641,23.9184L 43.5566,26.8718C 45.1489,28.0176 46.5309,29.6405 47.6023,31.6025C 44.8701,32.4842 41.563,33 38,33C 34.4369,33 31.1299,32.4842 28.3977,31.6025C 29.4333,29.7061 30.7591,28.1265 32.2844,26.9882L 29.9221,23.9646C 29.7849,23.9879 29.6438,24 29.5,24C 28.1193,24 27,22.8808 27,21.5C 27,20.1193 28.1193,19 29.5,19C 30.8807,19 32,20.1193 32,21.5C 32,22.0018 31.8521,22.4691 31.5976,22.8607L 34.0019,25.938C 35.2525,25.3305 36.5982,25 38,25C 39.3339,25 40.617,25.2993 41.8156,25.8516L 44.2947,22.6786C 44.1066,22.3274 44,21.9262 44,21.5C 44,20.1193 45.1193,19 46.5,19 Z M 54.5,40C 55.3284,40 56,40.6716 56,41.5C 56,42.3284 55.3284,43 54.5,43L 49.9511,43C 49.88,44.0847 49.7325,45.1391 49.5162,46.1531L 54.8059,48.6197C 55.5567,48.9698 55.8815,49.8623 55.5314,50.6131C 55.1813,51.3639 54.2889,51.6887 53.5381,51.3386L 48.6665,49.067C 46.8161,53.9883 43.2172,57.4651 39,57.9435L 39,34.9864C 42.541,34.8897 45.7913,34.283 48.4239,33.3201L 48.6187,33.8074L 53.73,31.8454C 54.5034,31.5485 55.371,31.9348 55.6679,32.7082C 55.9648,33.4816 55.5785,34.3492 54.8051,34.6461L 49.482,36.6895C 49.717,37.7515 49.8763,38.859 49.9511,40L 54.5,40 Z M 21.5,40L 26.0489,40C 26.1237,38.859 26.2829,37.7516 26.518,36.6895L 21.1949,34.6461C 20.4215,34.3492 20.0352,33.4816 20.332,32.7082C 20.6289,31.9348 21.4966,31.5485 22.27,31.8454L 27.3812,33.8074L 27.5761,33.3201C 30.2087,34.283 33.4589,34.8897 37,34.9864L 37,57.9435C 32.7827,57.4651 29.1838,53.9883 27.3335,49.067L 22.4618,51.3387C 21.711,51.6888 20.8186,51.3639 20.4685,50.6131C 20.1184,49.8623 20.4432,48.9699 21.194,48.6198L 26.4838,46.1531C 26.2674,45.1392 26.12,44.0847 26.0489,43L 21.5,43C 20.6716,43 20,42.3285 20,41.5C 20,40.6716 20.6716,40 21.5,40 Z</Geometry>
@@ -45,12 +90,12 @@
4590
<Geometry x:Key="GeometryMatchCase">F1 M 52.1,44.745L 52.1,40.93C 51.1767,41.0267 50.4292,41.1108 49.8575,41.1825C 49.2858,41.2542 48.7233,41.3933 48.17,41.6C 47.6933,41.7733 47.3225,42.0367 47.0575,42.39C 46.7925,42.7433 46.66,43.2133 46.66,43.8C 46.66,44.66 46.8808,45.25 47.3225,45.57C 47.7642,45.89 48.4167,46.05 49.28,46.05C 49.7567,46.05 50.2442,45.9358 50.7425,45.7075C 51.2408,45.4792 51.6933,45.1583 52.1,44.745 Z M 52.1,47.39C 51.73,47.7033 51.3975,47.985 51.1025,48.235C 50.8075,48.485 50.4133,48.735 49.92,48.985C 49.4333,49.2483 48.9608,49.465 48.5025,49.635C 48.0442,49.805 47.4017,49.89 46.575,49.89C 45.0383,49.89 43.7617,49.3625 42.745,48.3075C 41.7283,47.2525 41.22,45.9217 41.22,44.315C 41.22,42.995 41.4783,41.9292 41.995,41.1175C 42.5117,40.3058 43.2533,39.6617 44.22,39.185C 45.2,38.7017 46.3717,38.365 47.735,38.175C 49.0983,37.985 50.5633,37.8367 52.13,37.73L 52.13,37.63C 52.13,36.58 51.7817,35.8542 51.085,35.4525C 50.3883,35.0508 49.345,34.85 47.955,34.85C 47.325,34.85 46.5883,34.97 45.745,35.21C 44.9017,35.45 44.0783,35.7567 43.275,36.13L 42.82,36.13L 42.82,31.885C 43.3533,31.7283 44.215,31.5433 45.405,31.33C 46.595,31.1167 47.795,31.01 49.005,31.01C 51.9783,31.01 54.1442,31.5183 55.5025,32.535C 56.8608,33.5517 57.54,35.1017 57.54,37.185L 57.54,49.25L 52.1,49.25L 52.1,47.39 Z M 18.5,49.25L 26.24,25.89L 32.52,25.89L 40.26,49.25L 34.195,49.25L 32.75,44.45L 25.68,44.45L 24.235,49.25L 18.5,49.25 Z M 31.52,40.29L 29.215,32.68L 26.91,40.29L 31.52,40.29 Z</Geometry>
4691
<Geometry x:Key="GeometryMatchWord">F1 M 0,24.5033L 3.16667,24.5033L 3.16667,29.2533L 34.8333,29.2533L 34.8333,24.5033L 38,24.5033L 38,32.42L 0,32.42L 0,24.5033 Z M 36.9867,19.2533L 32.68,19.2533L 32.68,17.8046C 32.3976,18.0368 32.075,18.2849 31.7122,18.5487C 31.3493,18.8126 31.0307,19.0105 30.7563,19.1425C 30.4079,19.3351 30.0629,19.4862 29.7211,19.5957C 29.3794,19.7052 28.9724,19.76 28.5,19.76C 26.9008,19.76 25.6355,19.0917 24.704,17.7551C 23.7724,16.4185 23.3067,14.6313 23.3067,12.3935C 23.3067,11.1585 23.465,10.0865 23.7817,9.17739C 24.0983,8.2683 24.5351,7.47729 25.0919,6.80437C 25.5985,6.19215 26.2141,5.70725 26.9384,5.34968C 27.6628,4.99211 28.4288,4.81333 29.2363,4.81333C 29.9672,4.81333 30.5682,4.8892 31.0393,5.04094C 31.5103,5.19267 32.0572,5.42951 32.68,5.75146L 32.68,-1.90735e-006L 36.9867,-1.90735e-006L 36.9867,19.2533 Z M 32.68,15.6037L 32.68,8.49458C 32.4689,8.38111 32.1918,8.28809 31.8488,8.21552C 31.5057,8.14295 31.2115,8.10666 30.966,8.10666C 29.9369,8.10666 29.163,8.48534 28.6445,9.2427C 28.1259,10.0001 27.8667,11.0583 27.8667,12.4173C 27.8667,13.8449 28.0732,14.8767 28.4861,15.5127C 28.8991,16.1487 29.5661,16.4667 30.4871,16.4667C 30.8618,16.4667 31.2411,16.3895 31.6251,16.2351C 32.0091,16.0807 32.3607,15.8703 32.68,15.6037 Z M 22.2933,5.32001L 18.2598,19.2533L 13.684,19.2533L 11.2615,10.2442L 8.82708,19.2533L 4.25125,19.2533L 0.253328,5.32001L 4.73416,5.32001L 6.89541,14.539L 9.51583,5.32001L 13.3158,5.32001L 15.7858,14.539L 17.8085,5.32001L 22.2933,5.32001 Z</Geometry>
4792
</Style.Resources>
48-
<Setter Property="DebugBrush" Value="{StaticResource TextLogDebugBrush}"/>
49-
<Setter Property="VerboseBrush" Value="{StaticResource TextLogVerboseBrush}"/>
50-
<Setter Property="InfoBrush" Value="{StaticResource TextLogInfoBrush}"/>
51-
<Setter Property="WarningBrush" Value="{StaticResource TextLogWarningBrush}"/>
52-
<Setter Property="ErrorBrush" Value="{StaticResource TextLogErrorBrush}"/>
53-
<Setter Property="FatalBrush" Value="{StaticResource TextLogFatalBrush}"/>
93+
<Setter Property="DebugBrush" Value="{DynamicResource TextLogDebugBrush}"/>
94+
<Setter Property="VerboseBrush" Value="{DynamicResource TextLogVerboseBrush}"/>
95+
<Setter Property="InfoBrush" Value="{DynamicResource TextLogInfoBrush}"/>
96+
<Setter Property="WarningBrush" Value="{DynamicResource TextLogWarningBrush}"/>
97+
<Setter Property="ErrorBrush" Value="{DynamicResource TextLogErrorBrush}"/>
98+
<Setter Property="FatalBrush" Value="{DynamicResource TextLogFatalBrush}"/>
5499
<Setter Property="Template">
55100
<ControlTemplate TargetType="sd:TextLogViewer">
56101
<DockPanel>
@@ -68,27 +113,27 @@
68113
IsVisible="{TemplateBinding CanFilterLog}">
69114
<ToggleButton IsChecked="{TemplateBinding ShowDebugMessages, Mode=TwoWay}"
70115
ToolTip.Tip="{sd:LocalizeString Toggle Debug, Context=ToolTip}">
71-
<Path Width="12" Height="12" Stretch="Uniform" Fill="{StaticResource TextLogDebugBrush}" Data="{StaticResource GeometryDebugMessage}"/>
116+
<Path Width="12" Height="12" Stretch="Uniform" Fill="{DynamicResource TextLogDebugBrush}" Data="{StaticResource GeometryDebugMessage}"/>
72117
</ToggleButton>
73118
<ToggleButton IsChecked="{TemplateBinding ShowVerboseMessages, Mode=TwoWay}"
74119
ToolTip.Tip="{sd:LocalizeString Toggle Verbose, Context=ToolTip}">
75-
<Path Width="12" Height="12" Stretch="Uniform" Fill="{StaticResource TextLogVerboseBrush}" Data="{StaticResource GeometryVerboseMessage}"/>
120+
<Path Width="12" Height="12" Stretch="Uniform" Fill="{DynamicResource TextLogVerboseBrush}" Data="{StaticResource GeometryVerboseMessage}"/>
76121
</ToggleButton>
77122
<ToggleButton IsChecked="{TemplateBinding ShowInfoMessages, Mode=TwoWay}"
78123
ToolTip.Tip="{sd:LocalizeString Toggle Info, Context=ToolTip}">
79-
<Path Width="12" Height="12" Stretch="Uniform" Fill="{StaticResource TextLogInfoBrush}" Data="{StaticResource GeometryInfoMessage}"/>
124+
<Path Width="12" Height="12" Stretch="Uniform" Fill="{DynamicResource TextLogInfoBrush}" Data="{StaticResource GeometryInfoMessage}"/>
80125
</ToggleButton>
81126
<ToggleButton IsChecked="{TemplateBinding ShowWarningMessages, Mode=TwoWay}"
82127
ToolTip.Tip="{sd:LocalizeString Toggle Warning, Context=ToolTip}">
83-
<Path Width="12" Height="12" Stretch="Uniform" Fill="{StaticResource TextLogWarningBrush}" Data="{StaticResource GeometryWarningMessage}"/>
128+
<Path Width="12" Height="12" Stretch="Uniform" Fill="{DynamicResource TextLogWarningBrush}" Data="{StaticResource GeometryWarningMessage}"/>
84129
</ToggleButton>
85130
<ToggleButton IsChecked="{TemplateBinding ShowErrorMessages, Mode=TwoWay}"
86131
ToolTip.Tip="{sd:LocalizeString Toggle Error, Context=ToolTip}">
87-
<Path Width="12" Height="12" Stretch="Uniform" Fill="{StaticResource TextLogErrorBrush}" Data="{StaticResource GeometryErrorMessage}"/>
132+
<Path Width="12" Height="12" Stretch="Uniform" Fill="{DynamicResource TextLogErrorBrush}" Data="{StaticResource GeometryErrorMessage}"/>
88133
</ToggleButton>
89134
<ToggleButton IsChecked="{TemplateBinding ShowFatalMessages, Mode=TwoWay}"
90135
ToolTip.Tip="{sd:LocalizeString Toggle Fatal, Context=ToolTip}">
91-
<Path Width="12" Height="12" Stretch="Uniform" Fill="{StaticResource TextLogFatalBrush}" Data="{StaticResource GeometryFatalMessage}"/>
136+
<Path Width="12" Height="12" Stretch="Uniform" Fill="{DynamicResource TextLogFatalBrush}" Data="{StaticResource GeometryFatalMessage}"/>
92137
</ToggleButton>
93138
<ToggleButton IsChecked="{TemplateBinding ShowStacktrace, Mode=TwoWay}"
94139
ToolTip.Tip="{sd:LocalizeString Toggle Exception Stack Trace, Context=ToolTip}">

0 commit comments

Comments
 (0)