Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/Filee.App/App.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@
<Style Selector="FlyoutPresenter.nopadding TabItem:selected /template/ Border#PART_SelectedPipe">
<Setter Property="IsVisible" Value="False" />
</Style>
<!-- The picker's card: the page's surface with the theme's soft corners and a faint outline. -->
<Style Selector="FlyoutPresenter.nopadding">
<!-- Every flyout's card (the colour picker, the icon picker, the list of running apps): the page's surface with the
theme's soft corners and a faint outline. Without it a flyout kept Avalonia's own grey, which ignored the
accent tint of Material You and of a theme's surface colour. -->
<Style Selector="FlyoutPresenter">
<Setter Property="Background" Value="{DynamicResource SurfaceBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
<Setter Property="BorderThickness" Value="1" />
Expand Down
10 changes: 10 additions & 0 deletions src/Filee.App/Styles/TagEditor.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@
</ControlTheme>
</Styles.Resources>

<!-- Material You draws every input with the SurfaceAlt fill, a faint outline and the Softness radius (Window.material-you
TextBox in Soft.axaml). The chip box takes the same at rest, instead of Fluent's own text box colours (a near-black fill
and a light grey outline). Hover and focus keep the rules of the control theme above: the accent outline and the
fill a faint step lighter, as for a text box. -->
<Style Selector="Window.material-you c|TagEditor">
<Setter Property="Background" Value="{DynamicResource SurfaceAltBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource SubtleBorderBrush}" />
<Setter Property="CornerRadius" Value="{DynamicResource SoftRadius}" />
</Style>

<!-- The text box inside the chip box: no frame of its own. -->
<Style Selector="TextBox.bare">
<Setter Property="Background" Value="Transparent" />
Expand Down
Loading