Skip to content
Merged
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
25 changes: 25 additions & 0 deletions src/Files.App/Styles/LinuxDesktopResources.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,18 @@
<ResourceDictionary.ThemeDictionaries>
<!-- No Mica on Linux: the window backdrop is a solid fill equal to the Mica base colour, so the translucent Files layers on top keep their look -->
<ResourceDictionary x:Key="Light">
<SolidColorBrush x:Key="Files.Details.ForegroundBrush" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonForeground" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonForegroundPointerOver" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonForegroundPressed" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonForegroundSubMenuOpened" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonSubItemChevronForeground" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonSubItemChevronForegroundPointerOver" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonSubItemChevronForegroundPressed" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonSubItemChevronForegroundSubMenuOpened" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarToggleButtonForeground" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarToggleButtonForegroundPointerOver" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarToggleButtonForegroundPressed" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="App.Theme.FileArea.BackgroundBrush" Color="#C0FCFCFC" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPointerOver" Color="#0F000000" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPressed" Color="#0A000000" />
Expand All @@ -298,6 +310,18 @@
<SolidColorBrush x:Key="Files.Tile.BorderSelected" Color="{ThemeResource SystemAccentColor}" Opacity="0.5" />
</ResourceDictionary>
<ResourceDictionary x:Key="Dark">
<SolidColorBrush x:Key="Files.Details.ForegroundBrush" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonForeground" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonForegroundPointerOver" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonForegroundPressed" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonForegroundSubMenuOpened" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonSubItemChevronForeground" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonSubItemChevronForegroundPointerOver" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonSubItemChevronForegroundPressed" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarButtonSubItemChevronForegroundSubMenuOpened" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarToggleButtonForeground" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarToggleButtonForegroundPointerOver" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="AppBarToggleButtonForegroundPressed" Color="{ThemeResource TextFillColorPrimary}" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPointerOver" Color="#14FFFFFF" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPressed" Color="#0DFFFFFF" />
<SolidColorBrush x:Key="Files.Linux.FlyoutSurfaceBrush" Color="#2B2B2B" />
Expand All @@ -319,6 +343,7 @@
<SolidColorBrush x:Key="Files.Tile.BorderSelected" Color="{ThemeResource SystemAccentColor}" Opacity="0.6" />
</ResourceDictionary>
<ResourceDictionary x:Key="HighContrast">
<SolidColorBrush x:Key="Files.Details.ForegroundBrush" Color="{ThemeResource SystemColorWindowTextColor}" />
<SolidColorBrush x:Key="Files.Linux.FlyoutSurfaceBrush" Color="{ThemeResource SystemColorWindowColor}" />
</ResourceDictionary>
</ResourceDictionary.ThemeDictionaries>
Expand Down
4 changes: 2 additions & 2 deletions src/Files.App/UserControls/DataGridHeader.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
HorizontalAlignment="{x:Bind HorizontalContentAlignment}"
FontSize="12"
FontWeight="SemiBold"
Foreground="{ThemeResource TextFillColorTertiaryBrush}"
Foreground="{ThemeResource Files.Details.ForegroundBrush}"
Text="{x:Bind Header, Mode=OneWay}"
TextTrimming="CharacterEllipsis" />

Expand All @@ -145,7 +145,7 @@
VerticalAlignment="Center"
FontFamily="{ThemeResource SymbolThemeFontFamily}"
FontSize="8"
Foreground="{ThemeResource TextFillColorTertiaryBrush}"
Foreground="{ThemeResource Files.Details.ForegroundBrush}"
Glyph="{StaticResource SortIconAscending}"
RenderTransformOrigin="0.5, 0.5"
Visibility="Collapsed">
Expand Down
2 changes: 1 addition & 1 deletion src/Files.App/Views/Layouts/DetailsLayoutPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
<Setter Property="TextTrimming" Value="CharacterEllipsis" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="Opacity" Value="0.6" />
<Setter Property="Foreground" Value="{ThemeResource Files.Details.ForegroundBrush}" />
</Style>

<Style
Expand Down
Loading