Skip to content

Commit 7ab5978

Browse files
Partially revert the key chord styling in actions page (#19164)
Reverts most of the styling changes done in #19001 to the key chords displayed in the SUI's Actions page. The `CornerRadius` was kept at the updated value of `ControlCornerRadius` for consistency. The only other changes in #19001 that were kept for this page include: - `EditButtonIconSize`: 15 --> 14 - `AccentEditButtonStyle` > `Padding`: 3 --> 4 - Command name's `FontWeight` reduced to `Normal` - `AddNewButton` > `Margin` added (set to `0,12,0,0` to provide spacing between breadcrumb header and button)
1 parent 48b796f commit 7ab5978

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/cascadia/TerminalSettingsEditor/Actions.xaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,12 @@
5757
TargetType="Border">
5858
<Setter Property="BorderThickness" Value="1" />
5959
<Setter Property="CornerRadius" Value="{StaticResource ControlCornerRadius}" />
60-
<Setter Property="Background" Value="{ThemeResource SubtleFillColorSecondaryBrush}" />
61-
<Setter Property="BorderBrush" Value="{ThemeResource DividerStrokeColorDefaultBrush}" />
62-
<Setter Property="Padding" Value="4,4,4,4" />
60+
<Setter Property="Background" Value="{ThemeResource SystemAltMediumLowColor}" />
61+
<Setter Property="BorderBrush" Value="{ThemeResource SystemControlForegroundBaseMediumBrush}" />
6362
</Style>
6463
<Style x:Key="KeyChordTextBlockStyle"
6564
TargetType="TextBlock">
66-
<Setter Property="Foreground" Value="{ThemeResource TextFillColorSecondaryBrush}" />
65+
<Setter Property="Foreground" Value="{ThemeResource SystemControlForegroundBaseMediumBrush}" />
6766
</Style>
6867

6968
</ResourceDictionary>
@@ -100,13 +99,12 @@
10099
<Setter Property="BorderThickness" Value="1" />
101100
<Setter Property="BorderThickness" Value="1" />
102101
<Setter Property="CornerRadius" Value="{StaticResource ControlCornerRadius}" />
103-
<Setter Property="Background" Value="{ThemeResource SubtleFillColorSecondaryBrush}" />
104-
<Setter Property="BorderBrush" Value="{ThemeResource DividerStrokeColorDefaultBrush}" />
105-
<Setter Property="Padding" Value="4,4,4,4" />
102+
<Setter Property="Background" Value="{ThemeResource SystemAltMediumLowColor}" />
103+
<Setter Property="BorderBrush" Value="{ThemeResource SystemControlForegroundBaseMediumBrush}" />
106104
</Style>
107105
<Style x:Key="KeyChordTextBlockStyle"
108106
TargetType="TextBlock">
109-
<Setter Property="Foreground" Value="{ThemeResource TextFillColorSecondaryBrush}" />
107+
<Setter Property="Foreground" Value="{ThemeResource SystemControlForegroundBaseMediumBrush}" />
110108
</Style>
111109

112110
</ResourceDictionary>
@@ -209,7 +207,7 @@
209207

210208
<!-- Key Chord Text -->
211209
<Border Grid.Column="1"
212-
Padding="8,4,8,4"
210+
Padding="2,0,2,0"
213211
HorizontalAlignment="Right"
214212
VerticalAlignment="Center"
215213
Style="{ThemeResource KeyChordBorderStyle}"

0 commit comments

Comments
 (0)