fix(ui): use LineBrush for schedule flyout border and tokenize TaskRowView
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -79,9 +79,9 @@
|
|||||||
Width="18" Height="18"
|
Width="18" Height="18"
|
||||||
VerticalAlignment="Center">
|
VerticalAlignment="Center">
|
||||||
<Panel>
|
<Panel>
|
||||||
<TextBlock Text="▾" FontSize="10" IsVisible="{Binding IsExpanded}"
|
<TextBlock Text="▾" FontSize="{StaticResource FontSizeEyebrow}" IsVisible="{Binding IsExpanded}"
|
||||||
VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||||
<TextBlock Text="▸" FontSize="10" IsVisible="{Binding !IsExpanded}"
|
<TextBlock Text="▸" FontSize="{StaticResource FontSizeEyebrow}" IsVisible="{Binding !IsExpanded}"
|
||||||
VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||||
</Panel>
|
</Panel>
|
||||||
</Button>
|
</Button>
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
<Grid ColumnDefinitions="*,Auto" VerticalAlignment="Center">
|
<Grid ColumnDefinitions="*,Auto" VerticalAlignment="Center">
|
||||||
<TextBlock Grid.Column="0"
|
<TextBlock Grid.Column="0"
|
||||||
Classes="task-title"
|
Classes="task-title"
|
||||||
Text="{Binding Title}" FontSize="14"
|
Text="{Binding Title}" FontSize="{StaticResource FontSizeTaskTitle}"
|
||||||
Foreground="{DynamicResource TextBrush}"
|
Foreground="{DynamicResource TextBrush}"
|
||||||
TextWrapping="Wrap"
|
TextWrapping="Wrap"
|
||||||
FontStyle="{Binding IsDraft, Converter={StaticResource BoolToItalic}}"
|
FontStyle="{Binding IsDraft, Converter={StaticResource BoolToItalic}}"
|
||||||
@@ -218,16 +218,16 @@
|
|||||||
<Button.Flyout>
|
<Button.Flyout>
|
||||||
<Flyout Placement="Bottom" ShowMode="Standard">
|
<Flyout Placement="Bottom" ShowMode="Standard">
|
||||||
<Border Background="{DynamicResource Surface2Brush}"
|
<Border Background="{DynamicResource Surface2Brush}"
|
||||||
BorderBrush="{DynamicResource BorderBrush}"
|
BorderBrush="{DynamicResource LineBrush}"
|
||||||
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 Text="Schedule task"
|
||||||
FontWeight="SemiBold" FontSize="13"
|
FontWeight="SemiBold" FontSize="{StaticResource FontSizeBody}"
|
||||||
Foreground="{DynamicResource TextBrush}"/>
|
Foreground="{DynamicResource TextBrush}"/>
|
||||||
|
|
||||||
<StackPanel Spacing="6">
|
<StackPanel Spacing="6">
|
||||||
<TextBlock Text="WHEN" FontSize="10" Opacity="0.6"
|
<TextBlock Text="WHEN" FontSize="{StaticResource FontSizeEyebrow}" Opacity="0.6"
|
||||||
Foreground="{DynamicResource TextDimBrush}"/>
|
Foreground="{DynamicResource TextDimBrush}"/>
|
||||||
<ctl:ThemedDatePicker x:Name="ScheduleDate" ShowTime="True"
|
<ctl:ThemedDatePicker x:Name="ScheduleDate" ShowTime="True"
|
||||||
HorizontalAlignment="Stretch"/>
|
HorizontalAlignment="Stretch"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user