/ src / modules / cmdpal / Microsoft.CmdPal.UI / Styles / TextBlock.xaml
TextBlock.xaml
 1  <?xml version="1.0" encoding="utf-8" ?>
 2  <ResourceDictionary
 3      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 4      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 5      xmlns:converters="using:CommunityToolkit.WinUI.Converters">
 6  
 7      <ResourceDictionary.MergedDictionaries>
 8          <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
 9          <!--  Other merged dictionaries here  -->
10      </ResourceDictionary.MergedDictionaries>
11  
12      <Style
13          x:Key="ContextItemTitleTextBlockCriticalStyle"
14          BasedOn="{StaticResource BaseTextBlockStyle}"
15          TargetType="TextBlock">
16          <Setter Property="Foreground" Value="{ThemeResource SystemFillColorCriticalBrush}" />
17          <Setter Property="FontWeight" Value="Normal" />
18      </Style>
19  
20      <Style
21          x:Key="ContextItemCaptionTextBlockCriticalStyle"
22          BasedOn="{StaticResource CaptionTextBlockStyle}"
23          TargetType="TextBlock">
24          <Setter Property="Foreground" Value="{ThemeResource SystemFillColorCriticalBrush}" />
25      </Style>
26  
27  </ResourceDictionary>