refactor(ui): tokenize IslandStyles values and add shared modal styles

This commit is contained in:
mika kuns
2026-05-30 16:28:47 +02:00
parent 5a25818e3a
commit 7a6bfbe1b4

View File

@@ -85,9 +85,9 @@
<StreamGeometry x:Key="Icon.Settings">M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65a.5.5 0 0 0 .12-.64l-2-3.46a.5.5 0 0 0-.61-.22l-2.49 1a7.03 7.03 0 0 0-1.69-.98l-.38-2.65a.5.5 0 0 0-.5-.42h-4a.5.5 0 0 0-.5.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1a.5.5 0 0 0-.61.22l-2 3.46a.5.5 0 0 0 .12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65a.5.5 0 0 0-.12.64l2 3.46a.5.5 0 0 0 .61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65a.5.5 0 0 0 .5.42h4a.5.5 0 0 0 .5-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1a.5.5 0 0 0 .61-.22l2-3.46a.5.5 0 0 0-.12-.64l-2.11-1.65z</StreamGeometry> <StreamGeometry x:Key="Icon.Settings">M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65a.5.5 0 0 0 .12-.64l-2-3.46a.5.5 0 0 0-.61-.22l-2.49 1a7.03 7.03 0 0 0-1.69-.98l-.38-2.65a.5.5 0 0 0-.5-.42h-4a.5.5 0 0 0-.5.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1a.5.5 0 0 0-.61.22l-2 3.46a.5.5 0 0 0 .12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65a.5.5 0 0 0-.12.64l2 3.46a.5.5 0 0 0 .61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65a.5.5 0 0 0 .5.42h4a.5.5 0 0 0 .5-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1a.5.5 0 0 0 .61-.22l2-3.46a.5.5 0 0 0-.12-.64l-2.11-1.65z</StreamGeometry>
<!-- Badge brushes --> <!-- Badge brushes -->
<SolidColorBrush x:Key="DraftBadgeBrush" Color="#4A5568"/> <SolidColorBrush x:Key="DraftBadgeBrush" Color="{StaticResource TextMuteColor}"/>
<SolidColorBrush x:Key="PlanningBadgeBrush" Color="#D69E2E"/> <SolidColorBrush x:Key="PlanningBadgeBrush" Color="{StaticResource PeatColor}"/>
<SolidColorBrush x:Key="PlannedBadgeBrush" Color="#3182CE"/> <SolidColorBrush x:Key="PlannedBadgeBrush" Color="{StaticResource SageColor}"/>
</Styles.Resources> </Styles.Resources>
@@ -120,7 +120,7 @@
<!-- ============================================================ --> <!-- ============================================================ -->
<Style Selector="Border.island"> <Style Selector="Border.island">
<Setter Property="Background" Value="{StaticResource IslandBackgroundBrush}" /> <Setter Property="Background" Value="{StaticResource IslandBackgroundBrush}" />
<Setter Property="BorderBrush" Value="#0DFFFFFF" /> <Setter Property="BorderBrush" Value="{StaticResource HairlineOverlayBrush}" />
<Setter Property="BorderThickness" Value="1" /> <Setter Property="BorderThickness" Value="1" />
<Setter Property="CornerRadius" Value="{StaticResource IslandCornerRadius}" /> <Setter Property="CornerRadius" Value="{StaticResource IslandCornerRadius}" />
<Setter Property="BoxShadow" Value="{StaticResource IslandShadow}" /> <Setter Property="BoxShadow" Value="{StaticResource IslandShadow}" />
@@ -146,30 +146,30 @@
</Style> </Style>
<Style Selector="Border.chip > TextBlock"> <Style Selector="Border.chip > TextBlock">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" /> <Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="10" /> <Setter Property="FontSize" Value="{StaticResource FontSizeEyebrow}" />
<Setter Property="Foreground" Value="{StaticResource TextDimBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextDimBrush}" />
</Style> </Style>
<!-- Status variants — tint background 12% alpha of the status hue --> <!-- Status variants — tint background 12% alpha of the status hue -->
<Style Selector="Border.chip.running"> <Style Selector="Border.chip.running">
<Setter Property="Background" Value="#1F7C9166" /> <Setter Property="Background" Value="{StaticResource RunningTintBrush}" />
<Setter Property="BorderBrush" Value="#4C7C9166" /> <Setter Property="BorderBrush" Value="{StaticResource RunningTintBorderBrush}" />
</Style> </Style>
<Style Selector="Border.chip.running > TextBlock"> <Style Selector="Border.chip.running > TextBlock">
<Setter Property="Foreground" Value="{StaticResource StatusRunningBrush}" /> <Setter Property="Foreground" Value="{StaticResource StatusRunningBrush}" />
</Style> </Style>
<Style Selector="Border.chip.review"> <Style Selector="Border.chip.review">
<Setter Property="Background" Value="#1FD4A574" /> <Setter Property="Background" Value="{StaticResource ReviewTintBrush}" />
<Setter Property="BorderBrush" Value="#4CD4A574" /> <Setter Property="BorderBrush" Value="{StaticResource ReviewTintBorderBrush}" />
</Style> </Style>
<Style Selector="Border.chip.review > TextBlock"> <Style Selector="Border.chip.review > TextBlock">
<Setter Property="Foreground" Value="{StaticResource StatusReviewBrush}" /> <Setter Property="Foreground" Value="{StaticResource StatusReviewBrush}" />
</Style> </Style>
<Style Selector="Border.chip.error"> <Style Selector="Border.chip.error">
<Setter Property="Background" Value="#1FC87060" /> <Setter Property="Background" Value="{StaticResource ErrorTintBrush}" />
<Setter Property="BorderBrush" Value="#4CC87060" /> <Setter Property="BorderBrush" Value="{StaticResource ErrorTintBorderBrush}" />
</Style> </Style>
<Style Selector="Border.chip.error > TextBlock"> <Style Selector="Border.chip.error > TextBlock">
<Setter Property="Foreground" Value="{StaticResource StatusErrorBrush}" /> <Setter Property="Foreground" Value="{StaticResource StatusErrorBrush}" />
@@ -177,8 +177,8 @@
<!-- queued → Sage (#8B9D7A) --> <!-- queued → Sage (#8B9D7A) -->
<Style Selector="Border.chip.queued"> <Style Selector="Border.chip.queued">
<Setter Property="Background" Value="#1F8B9D7A" /> <Setter Property="Background" Value="{StaticResource QueuedTintBrush}" />
<Setter Property="BorderBrush" Value="#4C8B9D7A" /> <Setter Property="BorderBrush" Value="{StaticResource QueuedTintBorderBrush}" />
</Style> </Style>
<Style Selector="Border.chip.queued > TextBlock"> <Style Selector="Border.chip.queued > TextBlock">
<Setter Property="Foreground" Value="{StaticResource StatusQueuedBrush}" /> <Setter Property="Foreground" Value="{StaticResource StatusQueuedBrush}" />
@@ -203,7 +203,7 @@
<Setter Property="CornerRadius" Value="{StaticResource ButtonCornerRadius}" /> <Setter Property="CornerRadius" Value="{StaticResource ButtonCornerRadius}" />
<Setter Property="Padding" Value="10,6" /> <Setter Property="Padding" Value="10,6" />
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" /> <Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="11" /> <Setter Property="FontSize" Value="{StaticResource FontSizeMono}" />
<Setter Property="Foreground" Value="{StaticResource TextDimBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextDimBrush}" />
<Setter Property="Transitions"> <Setter Property="Transitions">
<Transitions> <Transitions>
@@ -248,7 +248,7 @@
<Setter Property="BorderThickness" Value="1" /> <Setter Property="BorderThickness" Value="1" />
<Setter Property="CornerRadius" Value="{StaticResource InputCornerRadius}" /> <Setter Property="CornerRadius" Value="{StaticResource InputCornerRadius}" />
<Setter Property="Padding" Value="10,8" /> <Setter Property="Padding" Value="10,8" />
<Setter Property="FontSize" Value="13" /> <Setter Property="FontSize" Value="{StaticResource FontSizeBody}" />
<Setter Property="Foreground" Value="{StaticResource TextBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextBrush}" />
<Setter Property="CaretBrush" Value="{StaticResource AccentBrush}" /> <Setter Property="CaretBrush" Value="{StaticResource AccentBrush}" />
</Style> </Style>
@@ -358,22 +358,22 @@
<Setter Property="BorderBrush" Value="{StaticResource LineBrush}" /> <Setter Property="BorderBrush" Value="{StaticResource LineBrush}" />
</Style> </Style>
<Style Selector="Border.agent-strip.running"> <Style Selector="Border.agent-strip.running">
<Setter Property="Background" Value="#147C9166" /> <Setter Property="Background" Value="{StaticResource RunningTintBrush}" />
<Setter Property="BorderBrush" Value="#4C7C9166" /> <Setter Property="BorderBrush" Value="{StaticResource RunningTintBorderBrush}" />
</Style> </Style>
<Style Selector="Border.agent-strip.review"> <Style Selector="Border.agent-strip.review">
<Setter Property="Background" Value="#14D4A574" /> <Setter Property="Background" Value="{StaticResource ReviewTintBrush}" />
<Setter Property="BorderBrush" Value="#4CD4A574" /> <Setter Property="BorderBrush" Value="{StaticResource ReviewTintBorderBrush}" />
</Style> </Style>
<Style Selector="Border.agent-strip.error"> <Style Selector="Border.agent-strip.error">
<Setter Property="Background" Value="#14C87060" /> <Setter Property="Background" Value="{StaticResource ErrorTintBrush}" />
<Setter Property="BorderBrush" Value="#4CC87060" /> <Setter Property="BorderBrush" Value="{StaticResource ErrorTintBorderBrush}" />
</Style> </Style>
<!-- queued → Sage tint --> <!-- queued → Sage tint -->
<Style Selector="Border.agent-strip.queued"> <Style Selector="Border.agent-strip.queued">
<Setter Property="Background" Value="#148B9D7A" /> <Setter Property="Background" Value="{StaticResource QueuedTintBrush}" />
<Setter Property="BorderBrush" Value="#4C8B9D7A" /> <Setter Property="BorderBrush" Value="{StaticResource QueuedTintBorderBrush}" />
</Style> </Style>
<!-- idle → neutral (same as base, explicit for clarity) --> <!-- idle → neutral (same as base, explicit for clarity) -->
@@ -386,7 +386,7 @@
<!-- TERMINAL / LOG --> <!-- TERMINAL / LOG -->
<!-- ============================================================ --> <!-- ============================================================ -->
<Style Selector="Border.terminal"> <Style Selector="Border.terminal">
<Setter Property="Background" Value="#FF080C0B" /> <Setter Property="Background" Value="{StaticResource VoidBrush}" />
<Setter Property="CornerRadius" Value="8" /> <Setter Property="CornerRadius" Value="8" />
<Setter Property="Padding" Value="12" /> <Setter Property="Padding" Value="12" />
<Setter Property="BorderBrush" Value="{StaticResource LineBrush}" /> <Setter Property="BorderBrush" Value="{StaticResource LineBrush}" />
@@ -394,7 +394,7 @@
</Style> </Style>
<Style Selector="Border.terminal TextBlock"> <Style Selector="Border.terminal TextBlock">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" /> <Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="11" /> <Setter Property="FontSize" Value="{StaticResource FontSizeMono}" />
<Setter Property="Foreground" Value="{StaticResource TextDimBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextDimBrush}" />
</Style> </Style>
<Style Selector="Border.terminal TextBlock[Tag=log-sys]"> <Style Selector="Border.terminal TextBlock[Tag=log-sys]">
@@ -449,7 +449,7 @@
</Style> </Style>
<Style Selector="Border.live-chip > StackPanel > TextBlock"> <Style Selector="Border.live-chip > StackPanel > TextBlock">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" /> <Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="9" /> <Setter Property="FontSize" Value="{StaticResource FontSizeEyebrow}" />
<Setter Property="Foreground" Value="{StaticResource AccentBrush}" /> <Setter Property="Foreground" Value="{StaticResource AccentBrush}" />
<Setter Property="LetterSpacing" Value="1.2" /> <Setter Property="LetterSpacing" Value="1.2" />
</Style> </Style>
@@ -471,7 +471,7 @@
<!-- Terminal log-line timestamp column --> <!-- Terminal log-line timestamp column -->
<Style Selector="TextBlock.log-ts"> <Style Selector="TextBlock.log-ts">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" /> <Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="10" /> <Setter Property="FontSize" Value="{StaticResource FontSizeEyebrow}" />
<Setter Property="Foreground" Value="{StaticResource TextFaintBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextFaintBrush}" />
<Setter Property="Width" Value="60" /> <Setter Property="Width" Value="60" />
<Setter Property="VerticalAlignment" Value="Top" /> <Setter Property="VerticalAlignment" Value="Top" />
@@ -480,7 +480,7 @@
<!-- Kind marker column --> <!-- Kind marker column -->
<Style Selector="TextBlock.log-kind"> <Style Selector="TextBlock.log-kind">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" /> <Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="10" /> <Setter Property="FontSize" Value="{StaticResource FontSizeEyebrow}" />
<Setter Property="Foreground" Value="{StaticResource TextMuteBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextMuteBrush}" />
<Setter Property="Width" Value="46" /> <Setter Property="Width" Value="46" />
<Setter Property="VerticalAlignment" Value="Top" /> <Setter Property="VerticalAlignment" Value="Top" />
@@ -554,7 +554,7 @@
<!-- Count badge — larger, high contrast, brighter when the row is active --> <!-- Count badge — larger, high contrast, brighter when the row is active -->
<Style Selector="TextBlock.list-count"> <Style Selector="TextBlock.list-count">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" /> <Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="12" /> <Setter Property="FontSize" Value="{StaticResource FontSizeBody}" />
<Setter Property="FontWeight" Value="Medium" /> <Setter Property="FontWeight" Value="Medium" />
<Setter Property="Foreground" Value="{StaticResource TextDimBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextDimBrush}" />
<Setter Property="VerticalAlignment" Value="Center" /> <Setter Property="VerticalAlignment" Value="Center" />
@@ -570,7 +570,7 @@
<!-- ============================================================ --> <!-- ============================================================ -->
<Style Selector="TextBlock.list-section-label"> <Style Selector="TextBlock.list-section-label">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" /> <Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="9" /> <Setter Property="FontSize" Value="{StaticResource FontSizeEyebrow}" />
<Setter Property="Foreground" Value="{StaticResource TextFaintBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextFaintBrush}" />
<Setter Property="Margin" Value="10,10,10,4" /> <Setter Property="Margin" Value="10,10,10,4" />
<Setter Property="LetterSpacing" Value="1.2" /> <Setter Property="LetterSpacing" Value="1.2" />
@@ -594,7 +594,7 @@
<Setter Property="Background" Value="Transparent" /> <Setter Property="Background" Value="Transparent" />
<Setter Property="BorderThickness" Value="0" /> <Setter Property="BorderThickness" Value="0" />
<Setter Property="Padding" Value="4,7" /> <Setter Property="Padding" Value="4,7" />
<Setter Property="FontSize" Value="12" /> <Setter Property="FontSize" Value="{StaticResource FontSizeBody}" />
<Setter Property="Foreground" Value="{StaticResource TextBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextBrush}" />
<Setter Property="CaretBrush" Value="{StaticResource AccentBrush}" /> <Setter Property="CaretBrush" Value="{StaticResource AccentBrush}" />
</Style> </Style>
@@ -618,7 +618,7 @@
</Style> </Style>
<Style Selector="Border.kbd > TextBlock"> <Style Selector="Border.kbd > TextBlock">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" /> <Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="10" /> <Setter Property="FontSize" Value="{StaticResource FontSizeEyebrow}" />
<Setter Property="Foreground" Value="{StaticResource TextFaintBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextFaintBrush}" />
<Setter Property="HorizontalAlignment" Value="Center" /> <Setter Property="HorizontalAlignment" Value="Center" />
<Setter Property="VerticalAlignment" Value="Center" /> <Setter Property="VerticalAlignment" Value="Center" />
@@ -633,7 +633,7 @@
<Setter Property="BorderThickness" Value="0" /> <Setter Property="BorderThickness" Value="0" />
<Setter Property="Padding" Value="10,8" /> <Setter Property="Padding" Value="10,8" />
<Setter Property="Foreground" Value="{StaticResource TextMuteBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextMuteBrush}" />
<Setter Property="FontSize" Value="12" /> <Setter Property="FontSize" Value="{StaticResource FontSizeBody}" />
<Setter Property="HorizontalAlignment" Value="Stretch" /> <Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="HorizontalContentAlignment" Value="Left" /> <Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="Cursor" Value="Hand" /> <Setter Property="Cursor" Value="Hand" />
@@ -694,7 +694,7 @@
<Setter Property="Background" Value="Transparent" /> <Setter Property="Background" Value="Transparent" />
<Setter Property="BorderThickness" Value="0" /> <Setter Property="BorderThickness" Value="0" />
<Setter Property="Padding" Value="0" /> <Setter Property="Padding" Value="0" />
<Setter Property="FontSize" Value="14" /> <Setter Property="FontSize" Value="{StaticResource FontSizeTaskTitle}" />
<Setter Property="Foreground" Value="{StaticResource TextBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextBrush}" />
<Setter Property="CaretBrush" Value="{StaticResource AccentBrush}" /> <Setter Property="CaretBrush" Value="{StaticResource AccentBrush}" />
<Setter Property="MinHeight" Value="20" /> <Setter Property="MinHeight" Value="20" />
@@ -767,7 +767,7 @@
</Style> </Style>
<Style Selector="Border.task-row Border.chip > StackPanel > TextBlock"> <Style Selector="Border.task-row Border.chip > StackPanel > TextBlock">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" /> <Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="10" /> <Setter Property="FontSize" Value="{StaticResource FontSizeEyebrow}" />
<Setter Property="Foreground" Value="{StaticResource TextDimBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextDimBrush}" />
</Style> </Style>
@@ -779,12 +779,12 @@
<!-- Diff chip add/del coloring --> <!-- Diff chip add/del coloring -->
<Style Selector="TextBlock.diff-add"> <Style Selector="TextBlock.diff-add">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" /> <Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="10" /> <Setter Property="FontSize" Value="{StaticResource FontSizeEyebrow}" />
<Setter Property="Foreground" Value="{StaticResource MossBrightBrush}" /> <Setter Property="Foreground" Value="{StaticResource MossBrightBrush}" />
</Style> </Style>
<Style Selector="TextBlock.diff-del"> <Style Selector="TextBlock.diff-del">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" /> <Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="10" /> <Setter Property="FontSize" Value="{StaticResource FontSizeEyebrow}" />
<Setter Property="Foreground" Value="{StaticResource BloodBrush}" /> <Setter Property="Foreground" Value="{StaticResource BloodBrush}" />
</Style> </Style>
@@ -807,7 +807,7 @@
<!-- LIVE-TAIL PREVIEW ROW --> <!-- LIVE-TAIL PREVIEW ROW -->
<!-- ============================================================ --> <!-- ============================================================ -->
<Style Selector="Border.task-live-tail"> <Style Selector="Border.task-live-tail">
<Setter Property="Background" Value="#FF080C0B" /> <Setter Property="Background" Value="{StaticResource VoidBrush}" />
<Setter Property="BorderBrush" Value="{StaticResource LineBrush}" /> <Setter Property="BorderBrush" Value="{StaticResource LineBrush}" />
<Setter Property="BorderThickness" Value="1" /> <Setter Property="BorderThickness" Value="1" />
<Setter Property="CornerRadius" Value="5" /> <Setter Property="CornerRadius" Value="5" />
@@ -816,7 +816,7 @@
</Style> </Style>
<Style Selector="Border.task-live-tail TextBlock"> <Style Selector="Border.task-live-tail TextBlock">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" /> <Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="11" /> <Setter Property="FontSize" Value="{StaticResource FontSizeMono}" />
<Setter Property="Foreground" Value="{StaticResource TextDimBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextDimBrush}" />
</Style> </Style>
@@ -863,7 +863,7 @@
<!-- ============================================================ --> <!-- ============================================================ -->
<Style Selector="TextBlock.section-label"> <Style Selector="TextBlock.section-label">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" /> <Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="10" /> <Setter Property="FontSize" Value="{StaticResource FontSizeEyebrow}" />
<Setter Property="Foreground" Value="{StaticResource TextFaintBrush}" /> <Setter Property="Foreground" Value="{StaticResource TextFaintBrush}" />
<Setter Property="LetterSpacing" Value="1.4" /> <Setter Property="LetterSpacing" Value="1.4" />
</Style> </Style>
@@ -881,9 +881,9 @@
</Style> </Style>
<Style Selector="Border.badge > TextBlock"> <Style Selector="Border.badge > TextBlock">
<Setter Property="FontSize" Value="9"/> <Setter Property="FontSize" Value="{StaticResource FontSizeEyebrow}"/>
<Setter Property="FontWeight" Value="Bold"/> <Setter Property="FontWeight" Value="Bold"/>
<Setter Property="Foreground" Value="White"/> <Setter Property="Foreground" Value="{StaticResource TextBrush}"/>
</Style> </Style>
<Style Selector="Border.badge.draft"> <Style Selector="Border.badge.draft">
@@ -898,4 +898,31 @@
<Setter Property="Background" Value="{DynamicResource PlannedBadgeBrush}"/> <Setter Property="Background" Value="{DynamicResource PlannedBadgeBrush}"/>
</Style> </Style>
<!-- ============================================================ -->
<!-- SHARED MODAL STYLES (promoted from per-modal Window.Styles) -->
<!-- ============================================================ -->
<Style Selector="TextBlock.field-label">
<Setter Property="FontSize" Value="{StaticResource FontSizeMono}" />
<Setter Property="Foreground" Value="{StaticResource TextDimBrush}" />
<Setter Property="Margin" Value="0,0,0,4" />
</Style>
<Style Selector="TextBlock.path-mono">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="{StaticResource FontSizeMono}" />
<Setter Property="Foreground" Value="{StaticResource TextDimBrush}" />
<Setter Property="TextTrimming" Value="CharacterEllipsis" />
</Style>
<Style Selector="Button.primary">
<Setter Property="Background" Value="{StaticResource AccentDimBrush}" />
<Setter Property="BorderBrush" Value="{StaticResource AccentBrush}" />
<Setter Property="Foreground" Value="{StaticResource TextBrush}" />
<Setter Property="FontWeight" Value="SemiBold" />
</Style>
<Style Selector="Button.danger">
<Setter Property="Background" Value="{StaticResource BloodBrush}" />
<Setter Property="Foreground" Value="{StaticResource TextBrush}" />
</Style>
</Styles> </Styles>