Skip to content

Commit cf3d88f

Browse files
committed
Add Glyph Color Style
1 parent ed5c50e commit cf3d88f

22 files changed

+132
-3
lines changed

Flow.Launcher/Themes/Base.xaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,15 +406,19 @@
406406
<Setter Property="Background" Value="Transparent" />
407407
<Setter Property="Margin" Value="0,0,10,10" />
408408
</Style>
409-
<Style x:Key="PreviewGlyph" TargetType="{x:Type TextBlock}">
410-
<Setter Property="Foreground" Value="{Binding ElementName=ItemGlyphSelectedStyle, Path=Fill}" />
409+
<Style x:Key="BasePreviewGlyph" TargetType="{x:Type TextBlock}">
410+
<Setter Property="Foreground" Value="#555555" />
411411
<Setter Property="VerticalAlignment" Value="Center" />
412412
<Setter Property="HorizontalAlignment" Value="Center" />
413413
<Setter Property="FontSize" Value="100" />
414414
<Setter Property="MaxWidth" Value="128" />
415415
<Setter Property="Height" Value="Auto" />
416416
<Setter Property="MaxHeight" Value="128" />
417417
</Style>
418+
<Style
419+
x:Key="PreviewGlyph"
420+
BasedOn="{StaticResource BasePreviewGlyph}"
421+
TargetType="{x:Type TextBlock}" />
418422
<Style x:Key="PreviewSep" TargetType="{x:Type Separator}">
419423
<Setter Property="Visibility" Value="Visible" />
420424
<Setter Property="Background" Value="{Binding ElementName=MiddleSeparator, Path=Fill}" />

Flow.Launcher/Themes/BlurBlack Darker.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,4 +181,10 @@
181181
<Setter Property="Foreground" Value="#FFFFFFFF" />
182182
<Setter Property="Opacity" Value="0.5" />
183183
</Style>
184+
<Style
185+
x:Key="PreviewGlyph"
186+
BasedOn="{StaticResource BasePreviewGlyph}"
187+
TargetType="{x:Type TextBlock}">
188+
<Setter Property="Foreground" Value="#FFFFFFFF" />
189+
</Style>
184190
</ResourceDictionary>

Flow.Launcher/Themes/BlurBlack.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,4 +162,10 @@
162162
TargetType="{x:Type TextBlock}">
163163
<Setter Property="Foreground" Value="#FFFFFFFF" />
164164
</Style>
165+
<Style
166+
x:Key="PreviewGlyph"
167+
BasedOn="{StaticResource BasePreviewGlyph}"
168+
TargetType="{x:Type TextBlock}">
169+
<Setter Property="Foreground" Value="#FFFFFFFF" />
170+
</Style>
165171
</ResourceDictionary>

Flow.Launcher/Themes/BlurWhite.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,10 @@
173173
TargetType="{x:Type TextBlock}">
174174
<Setter Property="Foreground" Value="#818181" />
175175
</Style>
176+
<Style
177+
x:Key="PreviewGlyph"
178+
BasedOn="{StaticResource BasePreviewGlyph}"
179+
TargetType="{x:Type TextBlock}">
180+
<Setter Property="Foreground" Value="#FF000000" />
181+
</Style>
176182
</ResourceDictionary>

Flow.Launcher/Themes/Bullet Light.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,4 +200,10 @@
200200
TargetType="{x:Type TextBlock}">
201201
<Setter Property="Foreground" Value="#949394" />
202202
</Style>
203+
<Style
204+
x:Key="PreviewGlyph"
205+
BasedOn="{StaticResource BasePreviewGlyph}"
206+
TargetType="{x:Type TextBlock}">
207+
<Setter Property="Foreground" Value="#2b2b2e" />
208+
</Style>
203209
</ResourceDictionary>

Flow.Launcher/Themes/Circle Light.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,4 +181,10 @@
181181
TargetType="{x:Type TextBlock}">
182182
<Setter Property="Foreground" Value="#9da1aa" />
183183
</Style>
184+
<Style
185+
x:Key="PreviewGlyph"
186+
BasedOn="{StaticResource BasePreviewGlyph}"
187+
TargetType="{x:Type TextBlock}">
188+
<Setter Property="Foreground" Value="#9da1aa" />
189+
</Style>
184190
</ResourceDictionary>

Flow.Launcher/Themes/Circle System.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,10 @@
182182
TargetType="{x:Type TextBlock}">
183183
<Setter Property="Foreground" Value="{m:DynamicColor SystemControlPageTextBaseMediumBrush}" />
184184
</Style>
185+
<Style
186+
x:Key="PreviewGlyph"
187+
BasedOn="{StaticResource BasePreviewGlyph}"
188+
TargetType="{x:Type TextBlock}">
189+
<Setter Property="Foreground" Value="#9da1aa" />
190+
</Style>
185191
</ResourceDictionary>

Flow.Launcher/Themes/Cyan Dark.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,4 +202,10 @@
202202
TargetType="{x:Type TextBlock}">
203203
<Setter Property="Foreground" Value="#768084" />
204204
</Style>
205+
<Style
206+
x:Key="PreviewGlyph"
207+
BasedOn="{StaticResource BasePreviewGlyph}"
208+
TargetType="{x:Type TextBlock}">
209+
<Setter Property="Foreground" Value="#58c2b4" />
210+
</Style>
205211
</ResourceDictionary>

Flow.Launcher/Themes/Darker Glass.xaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,5 +165,10 @@
165165
TargetType="{x:Type TextBlock}">
166166
<Setter Property="Foreground" Value="#787878" />
167167
</Style>
168-
168+
<Style
169+
x:Key="PreviewGlyph"
170+
BasedOn="{StaticResource BasePreviewGlyph}"
171+
TargetType="{x:Type TextBlock}">
172+
<Setter Property="Foreground" Value="#ebebeb" />
173+
</Style>
169174
</ResourceDictionary>

Flow.Launcher/Themes/Discord Dark.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,10 @@
183183
TargetType="{x:Type TextBlock}">
184184
<Setter Property="Foreground" Value="#72767d" />
185185
</Style>
186+
<Style
187+
x:Key="PreviewGlyph"
188+
BasedOn="{StaticResource BasePreviewGlyph}"
189+
TargetType="{x:Type TextBlock}">
190+
<Setter Property="Foreground" Value="#ffffff" />
191+
</Style>
186192
</ResourceDictionary>

0 commit comments

Comments
 (0)