Skip to content

Commit a645664

Browse files
committed
Add Slim Theme
1 parent ed526e3 commit a645664

File tree

1 file changed

+217
-0
lines changed

1 file changed

+217
-0
lines changed

Flow.Launcher/Themes/SlimLight.xaml

Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
<ResourceDictionary
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:system="clr-namespace:System;assembly=mscorlib">
5+
6+
<ResourceDictionary.MergedDictionaries>
7+
<ResourceDictionary Source="pack://application:,,,/Themes/Base.xaml" />
8+
</ResourceDictionary.MergedDictionaries>
9+
<system:Double x:Key="ResultItemHeight">38</system:Double>
10+
<Style x:Key="ImageAreaWidth" TargetType="{x:Type ColumnDefinition}">
11+
<Setter Property="Width" Value="46" />
12+
</Style>
13+
<Style x:Key="ImageIconStyle" TargetType="{x:Type Image}">
14+
<Setter Property="Height" Value="24" />
15+
<Setter Property="Width" Value="24" />
16+
</Style>
17+
<Style
18+
x:Key="ItemGlyph"
19+
BasedOn="{StaticResource BaseGlyphStyle}"
20+
TargetType="{x:Type TextBlock}">
21+
<Setter Property="FontSize" Value="24" />
22+
<Setter Property="Width" Value="24" />
23+
<Setter Property="Height" Value="24" />
24+
<Setter Property="Foreground" Value="#100f0f" />
25+
</Style>
26+
<Style
27+
x:Key="QueryBoxStyle"
28+
BasedOn="{StaticResource BaseQueryBoxStyle}"
29+
TargetType="{x:Type TextBox}">
30+
<Setter Property="Padding" Value="0,2,42,0" />
31+
<Setter Property="Foreground" Value="#282728" />
32+
<Setter Property="FontSize" Value="16" />
33+
<Setter Property="Height" Value="24" />
34+
</Style>
35+
36+
<Style
37+
x:Key="QuerySuggestionBoxStyle"
38+
BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}"
39+
TargetType="{x:Type TextBox}">
40+
<Setter Property="Padding" Value="0,2,42,0" />
41+
<Setter Property="Background" Value="Transparent" />
42+
<Setter Property="Height" Value="24" />
43+
<Setter Property="FontSize" Value="16" />
44+
<Setter Property="Foreground" Value="#8f8c8f" />
45+
</Style>
46+
47+
<Style
48+
x:Key="WindowBorderStyle"
49+
BasedOn="{StaticResource BaseWindowBorderStyle}"
50+
TargetType="{x:Type Border}">
51+
<Setter Property="BorderThickness" Value="1" />
52+
<Setter Property="BorderBrush" Value="#bcbabd" />
53+
<Setter Property="Background" Value="#edebee" />
54+
<Setter Property="CornerRadius" Value="6" />
55+
<Setter Property="UseLayoutRounding" Value="True" />
56+
</Style>
57+
<Style
58+
x:Key="WindowStyle"
59+
BasedOn="{StaticResource BaseWindowStyle}"
60+
TargetType="{x:Type Window}" />
61+
<Style
62+
x:Key="PendingLineStyle"
63+
BasedOn="{StaticResource BasePendingLineStyle}"
64+
TargetType="{x:Type Line}" />
65+
66+
<!-- Item Style -->
67+
<Style
68+
x:Key="ItemTitleStyle"
69+
BasedOn="{StaticResource BaseItemTitleStyle}"
70+
TargetType="{x:Type TextBlock}">
71+
<Setter Property="FontSize" Value="14" />
72+
<Setter Property="Foreground" Value="#100f0f" />
73+
</Style>
74+
<Style
75+
x:Key="ItemSubTitleStyle"
76+
BasedOn="{StaticResource BaseItemSubTitleStyle}"
77+
TargetType="{x:Type TextBlock}">
78+
<Setter Property="FontSize" Value="10" />
79+
<Setter Property="Foreground" Value="#8f8d90" />
80+
</Style>
81+
<Style
82+
x:Key="SeparatorStyle"
83+
BasedOn="{StaticResource BaseSeparatorStyle}"
84+
TargetType="{x:Type Rectangle}">
85+
<Setter Property="Fill" Value="#dedcde" />
86+
<Setter Property="Height" Value="1" />
87+
<Setter Property="Margin" Value="0,0,0,4" />
88+
</Style>
89+
<Style x:Key="HighlightStyle" />
90+
<Style
91+
x:Key="ItemTitleSelectedStyle"
92+
BasedOn="{StaticResource BaseItemTitleSelectedStyle}"
93+
TargetType="{x:Type TextBlock}">
94+
<Setter Property="FontSize" Value="14" />
95+
<Setter Property="Foreground" Value="#100f0f" />
96+
</Style>
97+
<Style
98+
x:Key="ItemSubTitleSelectedStyle"
99+
BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}"
100+
TargetType="{x:Type TextBlock}">
101+
<Setter Property="FontSize" Value="10" />
102+
<Setter Property="Foreground" Value="#8f8d90" />
103+
</Style>
104+
<SolidColorBrush x:Key="ItemSelectedBackgroundColor">#d6d4d7</SolidColorBrush>
105+
106+
<!-- button style in the middle of the scrollbar -->
107+
<Style
108+
x:Key="ThumbStyle"
109+
BasedOn="{StaticResource BaseThumbStyle}"
110+
TargetType="{x:Type Thumb}">
111+
<Setter Property="Template">
112+
<Setter.Value>
113+
<ControlTemplate TargetType="{x:Type Thumb}">
114+
<Border
115+
Width="4"
116+
Margin="0,0,2,0"
117+
Background="#878687"
118+
BorderBrush="Transparent"
119+
BorderThickness="0"
120+
CornerRadius="2"
121+
DockPanel.Dock="Right" />
122+
</ControlTemplate>
123+
</Setter.Value>
124+
</Setter>
125+
</Style>
126+
<Style
127+
x:Key="ScrollBarStyle"
128+
BasedOn="{StaticResource BaseScrollBarStyle}"
129+
TargetType="{x:Type ScrollBar}" />
130+
<Style
131+
x:Key="SearchIconStyle"
132+
BasedOn="{StaticResource BaseSearchIconStyle}"
133+
TargetType="{x:Type Path}">
134+
<Setter Property="Fill" Value="#d5d3d6" />
135+
<Setter Property="Width" Value="24" />
136+
<Setter Property="Height" Value="24" />
137+
</Style>
138+
<Style x:Key="SearchIconPosition" TargetType="{x:Type Canvas}">
139+
<Setter Property="Background" Value="#edebee" />
140+
<Setter Property="Width" Value="24" />
141+
<Setter Property="Height" Value="24" />
142+
<Setter Property="Margin" Value="0,0,8,0" />
143+
<Setter Property="HorizontalAlignment" Value="Right" />
144+
</Style>
145+
<Style x:Key="PluginActivationIcon" TargetType="{x:Type Image}">
146+
<Setter Property="Width" Value="24" />
147+
<Setter Property="Height" Value="24" />
148+
<Setter Property="Margin" Value="0,0,8,0" />
149+
<Setter Property="HorizontalAlignment" Value="Right" />
150+
<Setter Property="VerticalAlignment" Value="Center" />
151+
</Style>
152+
153+
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}">
154+
<Setter Property="FontSize" Value="12" />
155+
<Setter Property="Foreground" Value="#8f8d90" />
156+
</Style>
157+
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}">
158+
<Setter Property="FontSize" Value="12" />
159+
<Setter Property="Foreground" Value="#8f8d90" />
160+
</Style>
161+
<Style x:Key="ItemGlyphSelectedStyle" TargetType="{x:Type TextBlock}">
162+
<Setter Property="Foreground" Value="#100f0f" />
163+
<Setter Property="Width" Value="24" />
164+
<Setter Property="Height" Value="24" />
165+
<Setter Property="FontSize" Value="24" />
166+
</Style>
167+
<CornerRadius x:Key="ItemRadius">6</CornerRadius>
168+
<Thickness x:Key="ItemMargin">4 0 4 0</Thickness>
169+
<Thickness x:Key="ResultMargin">0 0 0 4</Thickness>
170+
<Style
171+
x:Key="ClockPanel"
172+
BasedOn="{StaticResource ClockPanel}"
173+
TargetType="{x:Type StackPanel}">
174+
<Setter Property="Orientation" Value="Horizontal" />
175+
<Setter Property="Margin" Value="0,0,42,0" />
176+
</Style>
177+
<Style
178+
x:Key="ClockBox"
179+
BasedOn="{StaticResource BaseClockBox}"
180+
TargetType="{x:Type TextBlock}">
181+
<Setter Property="FontSize" Value="14" />
182+
<Setter Property="Foreground" Value="#8f8d90" />
183+
<Setter Property="Margin" Value="0,0,10,0" />
184+
</Style>
185+
<Style
186+
x:Key="DateBox"
187+
BasedOn="{StaticResource BaseDateBox}"
188+
TargetType="{x:Type TextBlock}">
189+
<Setter Property="FontSize" Value="14" />
190+
<Setter Property="Foreground" Value="#8f8d90" />
191+
</Style>
192+
<Style
193+
x:Key="PreviewBorderStyle"
194+
BasedOn="{StaticResource BasePreviewBorderStyle}"
195+
TargetType="{x:Type Border}">
196+
<Setter Property="Margin" Value="0,0,10,8" />
197+
<Setter Property="BorderBrush" Value="#dedcde" />
198+
</Style>
199+
<Style
200+
x:Key="PreviewItemTitleStyle"
201+
BasedOn="{StaticResource BasePreviewItemTitleStyle}"
202+
TargetType="{x:Type TextBlock}">
203+
<Setter Property="Foreground" Value="#100f0f" />
204+
</Style>
205+
<Style
206+
x:Key="PreviewItemSubTitleStyle"
207+
BasedOn="{StaticResource BasePreviewItemSubTitleStyle}"
208+
TargetType="{x:Type TextBlock}">
209+
<Setter Property="Foreground" Value="#8f8d90" />
210+
</Style>
211+
<Style
212+
x:Key="PreviewGlyph"
213+
BasedOn="{StaticResource BasePreviewGlyph}"
214+
TargetType="{x:Type TextBlock}">
215+
<Setter Property="Foreground" Value="#100f0f" />
216+
</Style>
217+
</ResourceDictionary>

0 commit comments

Comments
 (0)