refactor(ui): apply text classes to TaskRowView

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mika kuns
2026-05-30 17:27:49 +02:00
parent e0dda3e71b
commit b9f5d829c8

View File

@@ -79,9 +79,9 @@
Width="18" Height="18" Width="18" Height="18"
VerticalAlignment="Center"> VerticalAlignment="Center">
<Panel> <Panel>
<TextBlock Text="▾" FontSize="{StaticResource FontSizeEyebrow}" IsVisible="{Binding IsExpanded}" <TextBlock Classes="meta" Text="▾" IsVisible="{Binding IsExpanded}"
VerticalAlignment="Center" HorizontalAlignment="Center"/> VerticalAlignment="Center" HorizontalAlignment="Center"/>
<TextBlock Text="▸" FontSize="{StaticResource FontSizeEyebrow}" IsVisible="{Binding !IsExpanded}" <TextBlock Classes="meta" Text="▸" IsVisible="{Binding !IsExpanded}"
VerticalAlignment="Center" HorizontalAlignment="Center"/> VerticalAlignment="Center" HorizontalAlignment="Center"/>
</Panel> </Panel>
</Button> </Button>
@@ -222,13 +222,11 @@
BorderThickness="1" CornerRadius="10" BorderThickness="1" CornerRadius="10"
Padding="16" Width="300"> Padding="16" Width="300">
<StackPanel Spacing="12"> <StackPanel Spacing="12">
<TextBlock Text="Schedule task" <TextBlock Classes="title" Text="Schedule task"/>
FontWeight="SemiBold" FontSize="{StaticResource FontSizeBody}"
Foreground="{DynamicResource TextBrush}"/>
<StackPanel Spacing="6"> <StackPanel Spacing="6">
<TextBlock Text="WHEN" FontSize="{StaticResource FontSizeEyebrow}" Opacity="0.6" <TextBlock Classes="eyebrow" Text="WHEN"
Foreground="{DynamicResource TextDimBrush}"/> Foreground="{DynamicResource TextDimBrush}" Opacity="0.6"/>
<ctl:ThemedDatePicker x:Name="ScheduleDate" ShowTime="True" <ctl:ThemedDatePicker x:Name="ScheduleDate" ShowTime="True"
HorizontalAlignment="Stretch"/> HorizontalAlignment="Stretch"/>
</StackPanel> </StackPanel>