mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
159 lines
6.7 KiB
XML
159 lines
6.7 KiB
XML
<ResourceDictionary
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:m="http://schemas.modernwpf.com/2019"
|
|
xmlns:system="clr-namespace:System;assembly=mscorlib">
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="pack://application:,,,/Themes/Base.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
<Style
|
|
x:Key="ItemGlyph"
|
|
BasedOn="{StaticResource BaseGlyphStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="{DynamicResource Color05B}" />
|
|
</Style>
|
|
<Style
|
|
x:Key="QueryBoxStyle"
|
|
BasedOn="{StaticResource BaseQueryBoxStyle}"
|
|
TargetType="{x:Type TextBox}">
|
|
<Setter Property="SelectionBrush" Value="{DynamicResource QuerySelectionBrush}" />
|
|
<Setter Property="FontSize" Value="24" />
|
|
<Setter Property="Background" Value="{DynamicResource Color01B}" />
|
|
<Setter Property="Foreground" Value="{DynamicResource Color05B}" />
|
|
<Setter Property="CaretBrush" Value="{DynamicResource Color05B}" />
|
|
<Setter Property="FontSize" Value="26" />
|
|
<Setter Property="Padding" Value="0,4,66,0" />
|
|
<Setter Property="Height" Value="42" />
|
|
</Style>
|
|
<Style
|
|
x:Key="QuerySuggestionBoxStyle"
|
|
BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}"
|
|
TargetType="{x:Type TextBox}">
|
|
<Setter Property="Background" Value="{DynamicResource Color01B}" />
|
|
<Setter Property="Foreground" Value="{DynamicResource QuerySuggestionBoxForeground}" />
|
|
<Setter Property="FontSize" Value="26" />
|
|
<Setter Property="Padding" Value="0,4,66,0" />
|
|
<Setter Property="Height" Value="42" />
|
|
</Style>
|
|
<Style
|
|
x:Key="WindowBorderStyle"
|
|
BasedOn="{StaticResource BaseWindowBorderStyle}"
|
|
TargetType="{x:Type Border}">
|
|
<Setter Property="BorderThickness" Value="1" />
|
|
<Setter Property="BorderBrush" Value="{DynamicResource SystemThemeBorder}" />
|
|
<Setter Property="CornerRadius" Value="5" />
|
|
<Setter Property="Background" Value="{DynamicResource Color01B}" />
|
|
</Style>
|
|
<Style
|
|
x:Key="WindowStyle"
|
|
BasedOn="{StaticResource BaseWindowStyle}"
|
|
TargetType="{x:Type Window}">
|
|
<Setter Property="Width" Value="576" />
|
|
<Setter Property="RenderOptions.ClearTypeHint" Value="Enabled" />
|
|
</Style>
|
|
|
|
<Style
|
|
x:Key="PendingLineStyle"
|
|
BasedOn="{StaticResource BasePendingLineStyle}"
|
|
TargetType="{x:Type Line}" />
|
|
|
|
<!-- Item Style -->
|
|
<Style
|
|
x:Key="ItemTitleStyle"
|
|
BasedOn="{StaticResource BaseItemTitleStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="{DynamicResource Color05B}" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ItemSubTitleStyle"
|
|
BasedOn="{StaticResource BaseItemSubTitleStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="{DynamicResource SubTitleForeground}" />
|
|
<Setter Property="FontSize" Value="13" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ItemNumberStyle"
|
|
BasedOn="{StaticResource BaseItemNumberStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#A6A6A6" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ItemTitleSelectedStyle"
|
|
BasedOn="{StaticResource BaseItemTitleSelectedStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Cursor" Value="Arrow" />
|
|
<Setter Property="Foreground" Value="{DynamicResource Color05B}" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ItemSubTitleSelectedStyle"
|
|
BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Cursor" Value="Arrow" />
|
|
<Setter Property="Foreground" Value="{DynamicResource SubTitleSelectedForeground}" />
|
|
</Style>
|
|
<SolidColorBrush x:Key="ItemSelectedBackgroundColor" Color="{m:DynamicColor ItemSelectedBackgroundColorBrush}" />
|
|
<Style
|
|
x:Key="ItemImageSelectedStyle"
|
|
BasedOn="{StaticResource BaseItemImageSelectedStyle}"
|
|
TargetType="{x:Type Image}">
|
|
<Setter Property="Cursor" Value="Arrow" />
|
|
</Style>
|
|
<Style x:Key="HighlightStyle">
|
|
<Setter Property="Inline.Foreground" Value="{DynamicResource InlineHighlight}" />
|
|
</Style>
|
|
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="FontSize" Value="13" />
|
|
<Setter Property="Foreground" Value="{DynamicResource HotkeyForeground}" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ItemHotkeySelectedStyle"
|
|
BasedOn="{StaticResource BaseItemHotkeySelecetedStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="FontSize" Value="13" />
|
|
<Setter Property="Foreground" Value="{DynamicResource HotkeySelectedForeground}" />
|
|
</Style>
|
|
<!-- button style in the middle of the scrollbar -->
|
|
<Style
|
|
x:Key="ThumbStyle"
|
|
BasedOn="{StaticResource BaseThumbStyle}"
|
|
TargetType="{x:Type Thumb}">
|
|
<Setter Property="SnapsToDevicePixels" Value="True" />
|
|
<Setter Property="OverridesDefaultStyle" Value="true" />
|
|
<Setter Property="IsTabStop" Value="false" />
|
|
<Setter Property="Width" Value="2" />
|
|
<Setter Property="Focusable" Value="false" />
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Thumb}">
|
|
<Border
|
|
Background="{DynamicResource ThumbColor}"
|
|
BorderBrush="Transparent"
|
|
BorderThickness="0"
|
|
CornerRadius="2"
|
|
DockPanel.Dock="Right" />
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style
|
|
x:Key="ScrollBarStyle"
|
|
BasedOn="{StaticResource BaseScrollBarStyle}"
|
|
TargetType="{x:Type ScrollBar}" />
|
|
<Style
|
|
x:Key="SeparatorStyle"
|
|
BasedOn="{StaticResource BaseSeparatorStyle}"
|
|
TargetType="{x:Type Rectangle}">
|
|
<Setter Property="Fill" Value="{DynamicResource SeparatorForeground}" />
|
|
<Setter Property="Height" Value="1" />
|
|
<Setter Property="Margin" Value="12,0,12,8" />
|
|
</Style>
|
|
<Style
|
|
x:Key="SearchIconStyle"
|
|
BasedOn="{StaticResource BaseSearchIconStyle}"
|
|
TargetType="{x:Type Path}">
|
|
<Setter Property="Fill" Value="{DynamicResource SearchIconForeground}" />
|
|
<Setter Property="Width" Value="32" />
|
|
<Setter Property="Height" Value="32" />
|
|
<Setter Property="Opacity" Value="1" />
|
|
</Style>
|
|
</ResourceDictionary>
|