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