fix(ui): correct SettingsModal font snap (11px is Mono, not Body)
This commit is contained in:
@@ -38,10 +38,10 @@
|
|||||||
<DockPanel>
|
<DockPanel>
|
||||||
<StackPanel DockPanel.Dock="Bottom" Margin="20,0,20,8" Spacing="2">
|
<StackPanel DockPanel.Dock="Bottom" Margin="20,0,20,8" Spacing="2">
|
||||||
<TextBlock Text="{Binding ValidationError}"
|
<TextBlock Text="{Binding ValidationError}"
|
||||||
Foreground="{DynamicResource BloodBrush}" FontSize="{StaticResource FontSizeBody}"
|
Foreground="{DynamicResource BloodBrush}" FontSize="{StaticResource FontSizeMono}"
|
||||||
IsVisible="{Binding ValidationError, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"/>
|
IsVisible="{Binding ValidationError, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"/>
|
||||||
<TextBlock Text="{Binding StatusMessage}"
|
<TextBlock Text="{Binding StatusMessage}"
|
||||||
Foreground="{DynamicResource TextDimBrush}" FontSize="{StaticResource FontSizeBody}"
|
Foreground="{DynamicResource TextDimBrush}" FontSize="{StaticResource FontSizeMono}"
|
||||||
IsVisible="{Binding StatusMessage, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"/>
|
IsVisible="{Binding StatusMessage, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<TextBlock Text="{Binding Worktrees.StatusMessage}"
|
<TextBlock Text="{Binding Worktrees.StatusMessage}"
|
||||||
Foreground="{DynamicResource TextDimBrush}" FontSize="{StaticResource FontSizeBody}"
|
Foreground="{DynamicResource TextDimBrush}" FontSize="{StaticResource FontSizeMono}"
|
||||||
IsVisible="{Binding Worktrees.StatusMessage, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"/>
|
IsVisible="{Binding Worktrees.StatusMessage, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
@@ -142,7 +142,7 @@
|
|||||||
<StackPanel Spacing="6">
|
<StackPanel Spacing="6">
|
||||||
<TextBlock Classes="section-label" Text="AGENTS"/>
|
<TextBlock Classes="section-label" Text="AGENTS"/>
|
||||||
<TextBlock Text="Restore bundled default agents. Existing files are not overwritten."
|
<TextBlock Text="Restore bundled default agents. Existing files are not overwritten."
|
||||||
FontSize="{StaticResource FontSizeBody}" TextWrapping="Wrap"
|
FontSize="{StaticResource FontSizeMono}" TextWrapping="Wrap"
|
||||||
Foreground="{DynamicResource TextDimBrush}"/>
|
Foreground="{DynamicResource TextDimBrush}"/>
|
||||||
<Button Content="Restore default agents"
|
<Button Content="Restore default agents"
|
||||||
Command="{Binding Files.RestoreDefaultAgentsCommand}"
|
Command="{Binding Files.RestoreDefaultAgentsCommand}"
|
||||||
@@ -167,7 +167,7 @@
|
|||||||
</Grid>
|
</Grid>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<TextBlock Text="{Binding Files.StatusMessage}"
|
<TextBlock Text="{Binding Files.StatusMessage}"
|
||||||
Foreground="{DynamicResource TextDimBrush}" FontSize="{StaticResource FontSizeBody}"
|
Foreground="{DynamicResource TextDimBrush}" FontSize="{StaticResource FontSizeMono}"
|
||||||
IsVisible="{Binding Files.StatusMessage, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"/>
|
IsVisible="{Binding Files.StatusMessage, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
<TabItem Header="Prime Claude">
|
<TabItem Header="Prime Claude">
|
||||||
<ScrollViewer>
|
<ScrollViewer>
|
||||||
<StackPanel Spacing="12" Margin="0,8,0,0">
|
<StackPanel Spacing="12" Margin="0,8,0,0">
|
||||||
<TextBlock TextWrapping="Wrap" FontSize="{StaticResource FontSizeBody}"
|
<TextBlock TextWrapping="Wrap" FontSize="{StaticResource FontSizeMono}"
|
||||||
Foreground="{DynamicResource TextDimBrush}"
|
Foreground="{DynamicResource TextDimBrush}"
|
||||||
Text="Prime your Claude usage window each morning by firing a single non-interactive ping at a chosen time. Only runs while ClaudeDo is open. If the app starts within 30 minutes of the target time, the ping fires immediately."/>
|
Text="Prime your Claude usage window each morning by firing a single non-interactive ping at a chosen time. Only runs while ClaudeDo is open. If the app starts within 30 minutes of the target time, the ping fires immediately."/>
|
||||||
<ItemsControl ItemsSource="{Binding Prime.Rows}">
|
<ItemsControl ItemsSource="{Binding Prime.Rows}">
|
||||||
@@ -199,7 +199,7 @@
|
|||||||
<CheckBox Grid.Column="3" Content="Mon–Fri"
|
<CheckBox Grid.Column="3" Content="Mon–Fri"
|
||||||
IsChecked="{Binding WorkdaysOnly, Mode=TwoWay}" VerticalAlignment="Center"/>
|
IsChecked="{Binding WorkdaysOnly, Mode=TwoWay}" VerticalAlignment="Center"/>
|
||||||
<TextBlock Grid.Column="4" Text="{Binding LastRunLabel}" VerticalAlignment="Center"
|
<TextBlock Grid.Column="4" Text="{Binding LastRunLabel}" VerticalAlignment="Center"
|
||||||
Foreground="{DynamicResource TextDimBrush}" FontSize="{StaticResource FontSizeBody}"
|
Foreground="{DynamicResource TextDimBrush}" FontSize="{StaticResource FontSizeMono}"
|
||||||
MinWidth="80"/>
|
MinWidth="80"/>
|
||||||
<Button Grid.Column="5" Content="✕"
|
<Button Grid.Column="5" Content="✕"
|
||||||
Command="{Binding $parent[ItemsControl].((vm:SettingsModalViewModel)DataContext).Prime.RemoveScheduleCommand}"
|
Command="{Binding $parent[ItemsControl].((vm:SettingsModalViewModel)DataContext).Prime.RemoveScheduleCommand}"
|
||||||
|
|||||||
Reference in New Issue
Block a user