refactor(ui): tokenize ThemedDatePicker

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mika kuns
2026-05-30 16:36:23 +02:00
parent a1f05da97b
commit 16b0d1177a

View File

@@ -31,7 +31,7 @@
<Setter Property="Foreground" Value="{DynamicResource TextDimBrush}"/>
<Setter Property="CornerRadius" Value="999"/>
<Setter Property="Padding" Value="10,3"/>
<Setter Property="FontSize" Value="11"/>
<Setter Property="FontSize" Value="{StaticResource FontSizeMono}"/>
<Setter Property="MinHeight" Value="22"/>
</Style>
<Style Selector="Button.quick:pointerover /template/ ContentPresenter">
@@ -61,7 +61,7 @@
<Setter Property="Width" Value="32"/>
<Setter Property="Height" Value="32"/>
<Setter Property="CornerRadius" Value="999"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="FontSize" Value="{StaticResource FontSizeBody}"/>
<Setter Property="HorizontalContentAlignment" Value="Center"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="Padding" Value="0"/>
@@ -86,7 +86,7 @@
<Style Selector="TextBlock.weekday">
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="Foreground" Value="{DynamicResource TextMuteBrush}"/>
<Setter Property="FontSize" Value="10"/>
<Setter Property="FontSize" Value="{StaticResource FontSizeEyebrow}"/>
<Setter Property="FontWeight" Value="SemiBold"/>
</Style>
</UserControl.Styles>
@@ -137,7 +137,7 @@
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontWeight="SemiBold"
FontSize="13"
FontSize="{StaticResource FontSizeBody}"
Foreground="{DynamicResource TextBrush}"/>
<Button Grid.Column="2" Click="OnNextMonthClick" Classes="nav" Content="▶"/>
</Grid>