|
19 | 19 | <!-- The Theme page's colour picker shows only the spectrum: no empty tab strip above it. Set here because its |
20 | 20 | flyout looks resources up outside the page. --> |
21 | 21 | <x:Double x:Key="ColorViewTabStripHeight">0</x:Double> |
| 22 | + <!-- The picker's own panels draw their background and borders from these: clear, so the card (the |
| 23 | + FlyoutPresenter.nopadding style below) is the only surface and no stray lines show. --> |
| 24 | + <SolidColorBrush x:Key="ColorViewContentBackgroundBrush" Color="Transparent" /> |
| 25 | + <SolidColorBrush x:Key="ColorViewContentBorderBrush" Color="Transparent" /> |
| 26 | + <SolidColorBrush x:Key="ColorViewTabBorderBrush" Color="Transparent" /> |
22 | 27 | </ResourceDictionary> |
23 | 28 | </Application.Resources> |
24 | 29 |
|
|
36 | 41 | <Style Selector="FlyoutPresenter.nopadding Border#ContentBackgroundBorder"> |
37 | 42 | <Setter Property="Margin" Value="0" /> |
38 | 43 | </Style> |
| 44 | + <!-- The tab strip is hidden, but its selected tab still drew an accent line along the top of the card. --> |
| 45 | + <Style Selector="FlyoutPresenter.nopadding TabItem /template/ Border#PART_SelectedPipe"> |
| 46 | + <Setter Property="IsVisible" Value="False" /> |
| 47 | + </Style> |
| 48 | + <Style Selector="FlyoutPresenter.nopadding TabItem:selected /template/ Border#PART_SelectedPipe"> |
| 49 | + <Setter Property="IsVisible" Value="False" /> |
| 50 | + </Style> |
| 51 | + <!-- The picker's card: the page's surface with the theme's soft corners and a faint outline. --> |
| 52 | + <Style Selector="FlyoutPresenter.nopadding"> |
| 53 | + <Setter Property="Background" Value="{DynamicResource SurfaceBrush}" /> |
| 54 | + <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" /> |
| 55 | + <Setter Property="BorderThickness" Value="1" /> |
| 56 | + <Setter Property="CornerRadius" Value="{DynamicResource SoftRadius}" /> |
| 57 | + </Style> |
| 58 | + <!-- The spectrum square follows the theme's softness too. --> |
| 59 | + <Style Selector="FlyoutPresenter.nopadding ColorSpectrum"> |
| 60 | + <Setter Property="CornerRadius" Value="{DynamicResource SoftRadiusSmall}" /> |
| 61 | + </Style> |
| 62 | + <!-- The swatch button on the pages: soft corners, a quiet outline, and a card colour around the swatch so a white |
| 63 | + one still shows. --> |
| 64 | + <Style Selector="ColorPicker"> |
| 65 | + <Setter Property="CornerRadius" Value="{DynamicResource SoftRadiusSmall}" /> |
| 66 | + </Style> |
| 67 | + <Style Selector="ColorPicker /template/ DropDownButton"> |
| 68 | + <Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" /> |
| 69 | + <Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" /> |
| 70 | + <Setter Property="BorderThickness" Value="1.5" /> |
| 71 | + </Style> |
39 | 72 | <StyleInclude Source="avares://Filee/Styles/Soft.axaml" /> |
40 | 73 | <StyleInclude Source="avares://Filee/Styles/Controls.axaml" /> |
41 | 74 | <StyleInclude Source="avares://Filee/Styles/TagEditor.axaml" /> |
|
0 commit comments