mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
215 lines
No EOL
8.1 KiB
XML
215 lines
No EOL
8.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>
|
|
<Style
|
|
x:Key="BulletStyle"
|
|
BasedOn="{StaticResource BaseBulletStyle}"
|
|
TargetType="{x:Type Border}">
|
|
<Setter Property="Width" Value="4" />
|
|
<Setter Property="Height" Value="50" />
|
|
<Setter Property="Background" Value="Transparent" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ItemBulletSelectedStyle"
|
|
BasedOn="{StaticResource BaseBulletStyle}"
|
|
TargetType="{x:Type Border}">
|
|
<Setter Property="Width" Value="4" />
|
|
<Setter Property="Height" Value="50" />
|
|
<Setter Property="Background" Value="#fa7941" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ItemGlyph"
|
|
BasedOn="{StaticResource BaseGlyphStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#c2c2c2" />
|
|
</Style>
|
|
<Style
|
|
x:Key="QueryBoxStyle"
|
|
BasedOn="{StaticResource BaseQueryBoxStyle}"
|
|
TargetType="{x:Type TextBox}">
|
|
<Setter Property="Padding" Value="0,4,50,0" />
|
|
<Setter Property="CaretBrush" Value="#fa7941" />
|
|
<Setter Property="Foreground" Value="#ffffff" />
|
|
<Setter Property="FontSize" Value="18" />
|
|
<Setter Property="Height" Value="38" />
|
|
</Style>
|
|
|
|
<Style
|
|
x:Key="QuerySuggestionBoxStyle"
|
|
BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}"
|
|
TargetType="{x:Type TextBox}">
|
|
<Setter Property="Padding" Value="0,4,50,0" />
|
|
<Setter Property="Background" Value="Transparent" />
|
|
<Setter Property="Height" Value="38" />
|
|
<Setter Property="FontSize" Value="18" />
|
|
<Setter Property="Foreground" Value="#949394" />
|
|
</Style>
|
|
|
|
<Style
|
|
x:Key="WindowBorderStyle"
|
|
BasedOn="{StaticResource BaseWindowBorderStyle}"
|
|
TargetType="{x:Type Border}">
|
|
<Setter Property="BorderThickness" Value="0" />
|
|
<Setter Property="BorderBrush" Value="#e2e2e2" />
|
|
<Setter Property="Background">
|
|
<Setter.Value>
|
|
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
|
|
<GradientStop Offset="0.0" Color="#383838" />
|
|
<GradientStop Offset="0.9" Color="#2e2e2e" />
|
|
<GradientStop Offset="1.0" Color="#2e2e2e" />
|
|
</LinearGradientBrush>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Setter Property="CornerRadius" Value="8" />
|
|
<Setter Property="UseLayoutRounding" Value="True" />
|
|
</Style>
|
|
<Style
|
|
x:Key="WindowStyle"
|
|
BasedOn="{StaticResource BaseWindowStyle}"
|
|
TargetType="{x:Type Window}" />
|
|
<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="#c2c2c2" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ItemSubTitleStyle"
|
|
BasedOn="{StaticResource BaseItemSubTitleStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#7e7e7e" />
|
|
</Style>
|
|
<Style
|
|
x:Key="SeparatorStyle"
|
|
BasedOn="{StaticResource BaseSeparatorStyle}"
|
|
TargetType="{x:Type Rectangle}">
|
|
<Setter Property="Fill" Value="#3b3b3b" />
|
|
<Setter Property="Height" Value="1" />
|
|
<Setter Property="Margin" Value="0,0,0,8" />
|
|
</Style>
|
|
<Style x:Key="HighlightStyle" />
|
|
<Style
|
|
x:Key="ItemTitleSelectedStyle"
|
|
BasedOn="{StaticResource BaseItemTitleSelectedStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#ffffff" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ItemSubTitleSelectedStyle"
|
|
BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#949394" />
|
|
</Style>
|
|
<SolidColorBrush x:Key="ItemSelectedBackgroundColor">#4d4d4d</SolidColorBrush>
|
|
|
|
<!-- button style in the middle of the scrollbar -->
|
|
<Style
|
|
x:Key="ThumbStyle"
|
|
BasedOn="{StaticResource BaseThumbStyle}"
|
|
TargetType="{x:Type Thumb}">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Thumb}">
|
|
<Border
|
|
Background="#262626"
|
|
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="SearchIconStyle"
|
|
BasedOn="{StaticResource BaseSearchIconStyle}"
|
|
TargetType="{x:Type Path}">
|
|
<Setter Property="Fill" Value="#c2c2c2" />
|
|
<Setter Property="Width" Value="24" />
|
|
<Setter Property="Height" Value="24" />
|
|
</Style>
|
|
<Style x:Key="SearchIconPosition" TargetType="{x:Type Canvas}">
|
|
<Setter Property="Background" Value="Transparent" />
|
|
<Setter Property="Width" Value="32" />
|
|
<Setter Property="Height" Value="32" />
|
|
<Setter Property="Margin" Value="0,8,8,0" />
|
|
<Setter Property="HorizontalAlignment" Value="Right" />
|
|
</Style>
|
|
|
|
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="FontSize" Value="12" />
|
|
<Setter Property="Foreground" Value="#7e7e7e" />
|
|
</Style>
|
|
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="FontSize" Value="12" />
|
|
<Setter Property="Foreground" Value="#c2c2c2" />
|
|
</Style>
|
|
<Style x:Key="ItemGlyphSelectedStyle" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#fa7941" />
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
|
<Setter Property="Width" Value="25" />
|
|
<Setter Property="Height" Value="25" />
|
|
<Setter Property="FontSize" Value="25" />
|
|
</Style>
|
|
<CornerRadius x:Key="ItemRadius">0</CornerRadius>
|
|
<Thickness x:Key="ItemMargin">0 0 0 0</Thickness>
|
|
<Thickness x:Key="ResultMargin">0 0 0 8</Thickness>
|
|
<Style
|
|
x:Key="ClockPanel"
|
|
BasedOn="{StaticResource ClockPanel}"
|
|
TargetType="{x:Type StackPanel}">
|
|
<Setter Property="Margin" Value="0,0,54,0" />
|
|
</Style>
|
|
<Style
|
|
x:Key="ClockBox"
|
|
BasedOn="{StaticResource BaseClockBox}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#c2c2c2" />
|
|
</Style>
|
|
<Style
|
|
x:Key="DateBox"
|
|
BasedOn="{StaticResource BaseDateBox}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#c2c2c2" />
|
|
</Style>
|
|
<Style
|
|
x:Key="PreviewBorderStyle"
|
|
BasedOn="{StaticResource BasePreviewBorderStyle}"
|
|
TargetType="{x:Type Border}">
|
|
<Setter Property="BorderBrush" Value="#3b3b3b" />
|
|
</Style>
|
|
<Style
|
|
x:Key="PreviewItemTitleStyle"
|
|
BasedOn="{StaticResource BasePreviewItemTitleStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#c2c2c2" />
|
|
</Style>
|
|
<Style
|
|
x:Key="PreviewItemSubTitleStyle"
|
|
BasedOn="{StaticResource BasePreviewItemSubTitleStyle}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#7e7e7e" />
|
|
</Style>
|
|
<Style
|
|
x:Key="PreviewGlyph"
|
|
BasedOn="{StaticResource BasePreviewGlyph}"
|
|
TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#fa7941" />
|
|
</Style>
|
|
</ResourceDictionary> |