Skip to content

Commit 70a2a5c

Browse files
committed
Add New Themes
1 parent ea3dfe8 commit 70a2a5c

File tree

3 files changed

+301
-0
lines changed

3 files changed

+301
-0
lines changed

Flow.Launcher/Themes/Atom.xaml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3+
xmlns:system="clr-namespace:System;assembly=mscorlib">
4+
<ResourceDictionary.MergedDictionaries>
5+
<ResourceDictionary Source="pack://application:,,,/Themes/Base.xaml" />
6+
</ResourceDictionary.MergedDictionaries>
7+
<Style x:Key="ItemGlyph" BasedOn="{StaticResource BaseGlyphStyle}" TargetType="{x:Type TextBlock}">
8+
<Setter Property="Foreground" Value="#9fb2bf" />
9+
</Style>
10+
<Style x:Key="QueryBoxStyle" BasedOn="{StaticResource BaseQueryBoxStyle}" TargetType="{x:Type TextBox}">
11+
<Setter Property="SelectionBrush" Value="#515a6b"/>
12+
<Setter Property="FontSize" Value="24" />
13+
<Setter Property="Background" Value="#282c34" />
14+
<Setter Property="Foreground" Value="#61afef" />
15+
<Setter Property="CaretBrush" Value="#ffb86c" />
16+
<Setter Property="FontSize" Value="26" />
17+
<Setter Property="Padding" Value="0 4 66 0" />
18+
<Setter Property="Height" Value="42" />
19+
</Style>
20+
<Style x:Key="QuerySuggestionBoxStyle" BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}" TargetType="{x:Type TextBox}">
21+
<Setter Property="Background" Value="#282c34" />
22+
<Setter Property="Foreground" Value="#454e61" />
23+
<Setter Property="FontSize" Value="26" />
24+
<Setter Property="Padding" Value="0 4 66 0" />
25+
<Setter Property="Height" Value="42" />
26+
</Style>
27+
<Style x:Key="WindowBorderStyle" BasedOn="{StaticResource BaseWindowBorderStyle}" TargetType="{x:Type Border}">
28+
<Setter Property="BorderThickness" Value="2" />
29+
<Setter Property="BorderBrush" Value="#44475a" />
30+
<Setter Property="CornerRadius" Value="5" />
31+
<Setter Property="Background" Value="#282c34" />
32+
</Style>
33+
<Style x:Key="WindowStyle" BasedOn="{StaticResource BaseWindowStyle}" TargetType="{x:Type Window}">
34+
<Setter Property="Width" Value="576" />
35+
<Setter Property="RenderOptions.ClearTypeHint" Value="Enabled"/>
36+
</Style>
37+
38+
<Style x:Key="PendingLineStyle" BasedOn="{StaticResource BasePendingLineStyle}" TargetType="{x:Type Line}">
39+
</Style>
40+
41+
<!-- Item Style -->
42+
<Style x:Key="ItemTitleStyle" BasedOn="{StaticResource BaseItemTitleStyle}" TargetType="{x:Type TextBlock}">
43+
<Setter Property="Foreground" Value="#9fb2bf" />
44+
</Style>
45+
<Style x:Key="ItemSubTitleStyle" BasedOn="{StaticResource BaseItemSubTitleStyle}" TargetType="{x:Type TextBlock}" >
46+
<Setter Property="Foreground" Value="#6272a4 " />
47+
<Setter Property="FontSize" Value="13" />
48+
</Style>
49+
<Style x:Key="ItemNumberStyle" BasedOn="{StaticResource BaseItemNumberStyle}" TargetType="{x:Type TextBlock}">
50+
<Setter Property="Foreground" Value="#6272a4" />
51+
</Style>
52+
<Style x:Key="ItemTitleSelectedStyle" BasedOn="{StaticResource BaseItemTitleSelectedStyle}" TargetType="{x:Type TextBlock}" >
53+
<Setter Property="Cursor" Value="Arrow" />
54+
<Setter Property="Foreground" Value="#e5c07b" />
55+
</Style>
56+
<Style x:Key="ItemSubTitleSelectedStyle" BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}" TargetType="{x:Type TextBlock}" >
57+
<Setter Property="Cursor" Value="Arrow" />
58+
<Setter Property="Foreground" Value="#c678dd" />
59+
</Style>
60+
<SolidColorBrush x:Key="ItemSelectedBackgroundColor">#2c313c</SolidColorBrush>
61+
<Style x:Key="ItemImageSelectedStyle" BasedOn="{StaticResource BaseItemImageSelectedStyle}" TargetType="{x:Type Image}" >
62+
<Setter Property="Cursor" Value="Arrow" />
63+
</Style>
64+
<Style x:Key="HighlightStyle">
65+
<Setter Property="Inline.Foreground" Value="#e06c75 " />
66+
</Style>
67+
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}">
68+
<Setter Property="FontSize" Value="13" />
69+
<Setter Property="Foreground" Value="#6272a4" />
70+
</Style>
71+
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource BaseItemHotkeySelecetedStyle}">
72+
<Setter Property="FontSize" Value="13" />
73+
<Setter Property="Foreground" Value="#56b6c2" />
74+
</Style>
75+
<!-- button style in the middle of the scrollbar -->
76+
<Style x:Key="ThumbStyle" BasedOn="{StaticResource BaseThumbStyle}" TargetType="{x:Type Thumb}">
77+
<Setter Property="SnapsToDevicePixels" Value="True"/>
78+
<Setter Property="OverridesDefaultStyle" Value="true"/>
79+
<Setter Property="IsTabStop" Value="false"/>
80+
<Setter Property="Width" Value="2"/>
81+
<Setter Property="Focusable" Value="false"/>
82+
<Setter Property="Template">
83+
<Setter.Value>
84+
<ControlTemplate TargetType="{x:Type Thumb}">
85+
<Border CornerRadius="2" DockPanel.Dock="Right" Background="#b4b5b7" BorderBrush="Transparent" BorderThickness="0" />
86+
</ControlTemplate>
87+
</Setter.Value>
88+
</Setter>
89+
</Style>
90+
<Style x:Key="ScrollBarStyle" BasedOn="{StaticResource BaseScrollBarStyle}" TargetType="{x:Type ScrollBar}">
91+
</Style>
92+
<Style x:Key="SeparatorStyle" BasedOn="{StaticResource BaseSeparatorStyle}" TargetType="{x:Type Rectangle}">
93+
<Setter Property="Fill" Value="#495162"/>
94+
<Setter Property="Height" Value="1"/>
95+
<Setter Property="Margin" Value="12 0 12 8"/>
96+
</Style>
97+
<Style x:Key="SearchIconStyle" TargetType="{x:Type Path}" BasedOn="{StaticResource BaseSearchIconStyle}">
98+
<Setter Property="Fill" Value="#495162" />
99+
<Setter Property="Width" Value="32" />
100+
<Setter Property="Height" Value="32" />
101+
<Setter Property="Opacity" Value="0.8" />
102+
</Style>
103+
</ResourceDictionary>
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3+
xmlns:system="clr-namespace:System;assembly=mscorlib">
4+
<ResourceDictionary.MergedDictionaries>
5+
<ResourceDictionary Source="pack://application:,,,/Themes/Base.xaml" />
6+
</ResourceDictionary.MergedDictionaries>
7+
8+
<Style x:Key="ItemGlyph" BasedOn="{StaticResource BaseGlyphStyle}" TargetType="{x:Type TextBlock}">
9+
<Setter Property="Foreground" Value="#ebebeb" />
10+
</Style>
11+
<Style x:Key="QueryBoxStyle" BasedOn="{StaticResource BaseQueryBoxStyle}" TargetType="{x:Type TextBox}">
12+
<Setter Property="Foreground" Value="#ebebeb" />
13+
<Setter Property="Background" Value="Transparent" />
14+
</Style>
15+
16+
<Style x:Key="QuerySuggestionBoxStyle" BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}" TargetType="{x:Type TextBox}">
17+
<Setter Property="Foreground" Value="Transparent" />
18+
</Style>
19+
20+
<Style x:Key="WindowBorderStyle" BasedOn="{StaticResource BaseWindowBorderStyle}" TargetType="{x:Type Border}">
21+
<Setter Property="CornerRadius" Value="5" />
22+
<Setter Property="BorderThickness" Value="1 1 0 0" />
23+
<Setter Property="BorderBrush" Value="#666666" />
24+
<Setter Property="Background">
25+
<Setter.Value>
26+
<SolidColorBrush Color="#333333" Opacity="0.95"/>
27+
</Setter.Value>
28+
</Setter>
29+
</Style>
30+
31+
<Style x:Key="WindowStyle" BasedOn="{StaticResource BaseWindowStyle}" TargetType="{x:Type Window}">
32+
<Setter Property="Background">
33+
<Setter.Value>
34+
<SolidColorBrush Color="White" Opacity="0.5"/>
35+
</Setter.Value>
36+
</Setter>
37+
</Style>
38+
39+
<Style x:Key="PendingLineStyle" BasedOn="{StaticResource BasePendingLineStyle}" TargetType="{x:Type Line}">
40+
</Style>
41+
42+
<!-- Item Style -->
43+
<Style x:Key="ItemTitleStyle" BasedOn="{StaticResource BaseItemTitleStyle}" TargetType="{x:Type TextBlock}">
44+
<Setter Property="Margin" Value="0, -10"/>
45+
<Setter Property="Foreground" Value="#ebebeb"/>
46+
</Style>
47+
<Style x:Key="ItemSubTitleStyle" BasedOn="{StaticResource BaseItemSubTitleStyle}" TargetType="{x:Type TextBlock}" >
48+
<Setter Property="Foreground" Value="#787878"/>
49+
</Style>
50+
<Style x:Key="ItemTitleSelectedStyle" BasedOn="{StaticResource BaseItemTitleSelectedStyle}" TargetType="{x:Type TextBlock}" >
51+
<Setter Property="Margin" Value="0, -10"/>
52+
<Setter Property="Foreground" Value="#ffffff"/>
53+
</Style>
54+
<Style x:Key="ItemSubTitleSelectedStyle" BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}" TargetType="{x:Type TextBlock}" >
55+
<Setter Property="Foreground" Value="#949494"/>
56+
</Style>
57+
<SolidColorBrush x:Key="ItemSelectedBackgroundColor">#545454</SolidColorBrush>
58+
59+
<!-- button style in the middle of the scrollbar -->
60+
<Style x:Key="ThumbStyle" BasedOn="{StaticResource BaseThumbStyle}" TargetType="{x:Type Thumb}">
61+
<Setter Property="Template">
62+
<Setter.Value>
63+
<ControlTemplate TargetType="{x:Type Thumb}">
64+
<Border CornerRadius="2" DockPanel.Dock="Right" Background="#525252" BorderBrush="Transparent" BorderThickness="0" />
65+
</ControlTemplate>
66+
</Setter.Value>
67+
</Setter>
68+
</Style>
69+
<Style x:Key="ScrollBarStyle" BasedOn="{StaticResource BaseScrollBarStyle}" TargetType="{x:Type ScrollBar}">
70+
<Setter Property="Background" Value="#a0a0a0"/>
71+
</Style>
72+
<Style x:Key="SearchIconStyle" TargetType="{x:Type Path}" BasedOn="{StaticResource BaseSearchIconStyle}">
73+
<Setter Property="Fill" Value="#FFFFFF" />
74+
<Setter Property="Width" Value="32" />
75+
<Setter Property="Height" Value="32" />
76+
<Setter Property="Opacity" Value="0.2" />
77+
</Style>
78+
<Style x:Key="SeparatorStyle" BasedOn="{StaticResource BaseSeparatorStyle}" TargetType="{x:Type Rectangle}">
79+
<Setter Property="Fill" Value="#787878"/>
80+
<Setter Property="Height" Value="1"/>
81+
<Setter Property="Margin" Value="0 0 0 8"/>
82+
<Setter Property="Opacity" Value="0.3" />
83+
</Style>
84+
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}">
85+
<Setter Property="FontSize" Value="14" />
86+
<Setter Property="Foreground" Value="#787878" />
87+
<Setter Property="Opacity" Value="0.1" />
88+
</Style>
89+
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}">
90+
<Setter Property="FontSize" Value="14" />
91+
<Setter Property="Foreground" Value="#787878" />
92+
<Setter Property="Opacity" Value="0.1" />
93+
</Style>
94+
95+
</ResourceDictionary>

Flow.Launcher/Themes/Dracula.xaml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3+
xmlns:system="clr-namespace:System;assembly=mscorlib">
4+
<ResourceDictionary.MergedDictionaries>
5+
<ResourceDictionary Source="pack://application:,,,/Themes/Base.xaml" />
6+
</ResourceDictionary.MergedDictionaries>
7+
<Style x:Key="ItemGlyph" BasedOn="{StaticResource BaseGlyphStyle}" TargetType="{x:Type TextBlock}">
8+
<Setter Property="Foreground" Value="#f8f8f2" />
9+
</Style>
10+
<Style x:Key="QueryBoxStyle" BasedOn="{StaticResource BaseQueryBoxStyle}" TargetType="{x:Type TextBox}">
11+
<Setter Property="SelectionBrush" Value="#ff79c6"/>
12+
<Setter Property="FontSize" Value="24" />
13+
<Setter Property="Background" Value="#282a36" />
14+
<Setter Property="Foreground" Value="#f8f8f2" />
15+
<Setter Property="CaretBrush" Value="#ffb86c" />
16+
<Setter Property="FontSize" Value="26" />
17+
<Setter Property="Padding" Value="0 4 66 0" />
18+
<Setter Property="Height" Value="42" />
19+
</Style>
20+
<Style x:Key="QuerySuggestionBoxStyle" BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}" TargetType="{x:Type TextBox}">
21+
<Setter Property="Background" Value="#282a36" />
22+
<Setter Property="Foreground" Value="#6272a4" />
23+
<Setter Property="FontSize" Value="26" />
24+
<Setter Property="Padding" Value="0 4 66 0" />
25+
<Setter Property="Height" Value="42" />
26+
</Style>
27+
<Style x:Key="WindowBorderStyle" BasedOn="{StaticResource BaseWindowBorderStyle}" TargetType="{x:Type Border}">
28+
<Setter Property="BorderThickness" Value="2" />
29+
<Setter Property="BorderBrush" Value="#44475a" />
30+
<Setter Property="CornerRadius" Value="5" />
31+
<Setter Property="Background" Value="#282a36" />
32+
</Style>
33+
<Style x:Key="WindowStyle" BasedOn="{StaticResource BaseWindowStyle}" TargetType="{x:Type Window}">
34+
<Setter Property="Width" Value="576" />
35+
<Setter Property="RenderOptions.ClearTypeHint" Value="Enabled"/>
36+
</Style>
37+
38+
<Style x:Key="PendingLineStyle" BasedOn="{StaticResource BasePendingLineStyle}" TargetType="{x:Type Line}">
39+
</Style>
40+
41+
<!-- Item Style -->
42+
<Style x:Key="ItemTitleStyle" BasedOn="{StaticResource BaseItemTitleStyle}" TargetType="{x:Type TextBlock}">
43+
<Setter Property="Foreground" Value="#f8f8f2" />
44+
</Style>
45+
<Style x:Key="ItemSubTitleStyle" BasedOn="{StaticResource BaseItemSubTitleStyle}" TargetType="{x:Type TextBlock}" >
46+
<Setter Property="Foreground" Value="#6272a4" />
47+
<Setter Property="FontSize" Value="13" />
48+
</Style>
49+
<Style x:Key="ItemNumberStyle" BasedOn="{StaticResource BaseItemNumberStyle}" TargetType="{x:Type TextBlock}">
50+
<Setter Property="Foreground" Value="#6272a4" />
51+
</Style>
52+
<Style x:Key="ItemTitleSelectedStyle" BasedOn="{StaticResource BaseItemTitleSelectedStyle}" TargetType="{x:Type TextBlock}" >
53+
<Setter Property="Cursor" Value="Arrow" />
54+
<Setter Property="Foreground" Value="#ff79c6" />
55+
</Style>
56+
<Style x:Key="ItemSubTitleSelectedStyle" BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}" TargetType="{x:Type TextBlock}" >
57+
<Setter Property="Cursor" Value="Arrow" />
58+
<Setter Property="Foreground" Value="#6272a4" />
59+
</Style>
60+
<SolidColorBrush x:Key="ItemSelectedBackgroundColor">#44475a</SolidColorBrush>
61+
<Style x:Key="ItemImageSelectedStyle" BasedOn="{StaticResource BaseItemImageSelectedStyle}" TargetType="{x:Type Image}" >
62+
<Setter Property="Cursor" Value="Arrow" />
63+
</Style>
64+
<Style x:Key="HighlightStyle">
65+
<Setter Property="Inline.Foreground" Value="#bd93f9" />
66+
</Style>
67+
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}">
68+
<Setter Property="FontSize" Value="13" />
69+
<Setter Property="Foreground" Value="#6272a4" />
70+
</Style>
71+
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource BaseItemHotkeySelecetedStyle}">
72+
<Setter Property="FontSize" Value="13" />
73+
<Setter Property="Foreground" Value="#ff79c6" />
74+
</Style>
75+
<!-- button style in the middle of the scrollbar -->
76+
<Style x:Key="ThumbStyle" BasedOn="{StaticResource BaseThumbStyle}" TargetType="{x:Type Thumb}">
77+
<Setter Property="SnapsToDevicePixels" Value="True"/>
78+
<Setter Property="OverridesDefaultStyle" Value="true"/>
79+
<Setter Property="IsTabStop" Value="false"/>
80+
<Setter Property="Width" Value="2"/>
81+
<Setter Property="Focusable" Value="false"/>
82+
<Setter Property="Template">
83+
<Setter.Value>
84+
<ControlTemplate TargetType="{x:Type Thumb}">
85+
<Border CornerRadius="2" DockPanel.Dock="Right" Background="#44475a" BorderBrush="Transparent" BorderThickness="0" />
86+
</ControlTemplate>
87+
</Setter.Value>
88+
</Setter>
89+
</Style>
90+
<Style x:Key="ScrollBarStyle" BasedOn="{StaticResource BaseScrollBarStyle}" TargetType="{x:Type ScrollBar}">
91+
</Style>
92+
<Style x:Key="SeparatorStyle" BasedOn="{StaticResource BaseSeparatorStyle}" TargetType="{x:Type Rectangle}">
93+
<Setter Property="Fill" Value="#44475a"/>
94+
<Setter Property="Height" Value="1"/>
95+
<Setter Property="Margin" Value="12 0 12 8"/>
96+
</Style>
97+
<Style x:Key="SearchIconStyle" TargetType="{x:Type Path}" BasedOn="{StaticResource BaseSearchIconStyle}">
98+
<Setter Property="Fill" Value="#6272a4" />
99+
<Setter Property="Width" Value="32" />
100+
<Setter Property="Height" Value="32" />
101+
<Setter Property="Opacity" Value="0.8" />
102+
</Style>
103+
</ResourceDictionary>

0 commit comments

Comments
 (0)