fix(ui): set prompt-action resting color on ContentPresenter
The Fluent theme sets text color on the inner ContentPresenter, so setting Foreground on the Button only took effect on hover. Move the normal-state color onto the ContentPresenter so [Retry] shows green at rest. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -36,14 +36,15 @@
|
||||
<Setter Property="Foreground" Value="{StaticResource TextMuteBrush}" />
|
||||
</Style>
|
||||
<Style Selector="Button.prompt-action /template/ ContentPresenter">
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
<Setter Property="TextElement.Foreground" Value="{StaticResource TextMuteBrush}" />
|
||||
</Style>
|
||||
<Style Selector="Button.prompt-action:pointerover /template/ ContentPresenter">
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
<Setter Property="TextElement.Foreground" Value="{StaticResource TextBrush}" />
|
||||
</Style>
|
||||
<Style Selector="Button.prompt-action.accent">
|
||||
<Setter Property="Foreground" Value="{StaticResource AccentBrush}" />
|
||||
<Style Selector="Button.prompt-action.accent /template/ ContentPresenter">
|
||||
<Setter Property="TextElement.Foreground" Value="{StaticResource AccentBrush}" />
|
||||
</Style>
|
||||
<Style Selector="Button.prompt-action.accent:pointerover /template/ ContentPresenter">
|
||||
<Setter Property="TextElement.Foreground" Value="{StaticResource MossBrightBrush}" />
|
||||
|
||||
Reference in New Issue
Block a user