mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
190 lines
7.1 KiB
XML
190 lines
7.1 KiB
XML
<ResourceDictionary
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:system="clr-namespace:System;assembly=mscorlib">
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="pack://application:,,,/Themes/Base.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
<Thickness x:Key="ResultMargin">0 0 0 8</Thickness>
|
|
<Style
|
|
x:Key="ItemGlyph"
|
|
BasedOn="{StaticResource BaseGlyphStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#5bafb0" />
|
|
</Style>
|
|
<Style
|
|
x:Key="QueryBoxStyle"
|
|
BasedOn="{StaticResource BaseQueryBoxStyle}"
|
|
TargetType="{x:Type TextBox}">
|
|
<Setter Property="FontSize" Value="24" />
|
|
<Setter Property="Foreground" Value="#d2d8e5" />
|
|
<Setter Property="CaretBrush" Value="#FFAA47" />
|
|
<Setter Property="FontSize" Value="26" />
|
|
<Setter Property="Height" Value="42" />
|
|
<Setter Property="Padding" Value="0,0,66,0" />
|
|
</Style>
|
|
<Style
|
|
x:Key="QuerySuggestionBoxStyle"
|
|
BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}"
|
|
TargetType="{x:Type TextBox}">
|
|
<Setter Property="Foreground" Value="#798189" />
|
|
<Setter Property="FontSize" Value="26" />
|
|
<Setter Property="Height" Value="42" />
|
|
<Setter Property="Padding" Value="0,0,66,0" />
|
|
</Style>
|
|
<Style
|
|
x:Key="WindowBorderStyle"
|
|
BasedOn="{StaticResource BaseWindowBorderStyle}"
|
|
TargetType="{x:Type Border}">
|
|
<Setter Property="BorderThickness" Value="2" />
|
|
<Setter Property="BorderBrush" Value="#6c7279" />
|
|
<Setter Property="CornerRadius" Value="6" />
|
|
<Setter Property="Background" Value="#303840" />
|
|
</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}">
|
|
<Setter Property="Stroke" Value="#FFAA47" />
|
|
</Style>
|
|
|
|
<!-- Item Style -->
|
|
<Style
|
|
x:Key="ItemTitleStyle"
|
|
BasedOn="{StaticResource BaseItemTitleStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#5989b2" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ItemSubTitleStyle"
|
|
BasedOn="{StaticResource BaseItemSubTitleStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#7b858f" />
|
|
<Setter Property="FontSize" Value="13" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ItemNumberStyle"
|
|
BasedOn="{StaticResource BaseItemNumberStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#7b858f" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ItemTitleSelectedStyle"
|
|
BasedOn="{StaticResource BaseItemTitleSelectedStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Cursor" Value="Arrow" />
|
|
<Setter Property="Foreground" Value="#5bafb0" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ItemSubTitleSelectedStyle"
|
|
BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Cursor" Value="Arrow" />
|
|
<Setter Property="Foreground" Value="#cc8ec8" />
|
|
</Style>
|
|
<SolidColorBrush x:Key="ItemSelectedBackgroundColor">#3c454e</SolidColorBrush>
|
|
<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="#ea7354" />
|
|
</Style>
|
|
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="FontSize" Value="13" />
|
|
<Setter Property="Foreground" Value="#5bafb0" />
|
|
</Style>
|
|
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="FontSize" Value="13" />
|
|
<Setter Property="Foreground" Value="#ea7354" />
|
|
</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="#6c7279"
|
|
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="#3c454e" />
|
|
<Setter Property="Height" Value="1" />
|
|
<Setter Property="Margin" Value="0,0,0,8" />
|
|
</Style>
|
|
<Style
|
|
x:Key="SearchIconStyle"
|
|
BasedOn="{StaticResource BaseSearchIconStyle}"
|
|
TargetType="{x:Type Path}">
|
|
<Setter Property="Fill" Value="#3c454e" />
|
|
<Setter Property="Width" Value="32" />
|
|
<Setter Property="Height" Value="32" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ClockBox"
|
|
BasedOn="{StaticResource BaseClockBox}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#5bafb0" />
|
|
</Style>
|
|
<Style
|
|
x:Key="DateBox"
|
|
BasedOn="{StaticResource BaseDateBox}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#5bafb0" />
|
|
</Style>
|
|
<Style
|
|
x:Key="PreviewBorderStyle"
|
|
BasedOn="{StaticResource BasePreviewBorderStyle}"
|
|
TargetType="{x:Type Border}">
|
|
<Setter Property="BorderBrush" Value="#3c454e" />
|
|
</Style>
|
|
<Style
|
|
x:Key="PreviewItemTitleStyle"
|
|
BasedOn="{StaticResource BasePreviewItemTitleStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#5989b2" />
|
|
</Style>
|
|
<Style
|
|
x:Key="PreviewItemSubTitleStyle"
|
|
BasedOn="{StaticResource BasePreviewItemSubTitleStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#7b858f" />
|
|
</Style>
|
|
<Style
|
|
x:Key="PreviewGlyph"
|
|
BasedOn="{StaticResource BasePreviewGlyph}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#5bafb0" />
|
|
</Style>
|
|
</ResourceDictionary>
|