Skip to content

Commit aa281a1

Browse files
committed
keep BlurBlack add darker version
1 parent 258de01 commit aa281a1

File tree

2 files changed

+65
-2
lines changed

2 files changed

+65
-2
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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+
<system:Boolean x:Key="ThemeBlurEnabled">True</system:Boolean>
9+
10+
<Style x:Key="QueryBoxStyle" BasedOn="{StaticResource BaseQueryBoxStyle}" TargetType="{x:Type TextBox}">
11+
<Setter Property="Foreground" Value="#FFFFFFFF" />
12+
<Setter Property="Background" Value="Transparent" />
13+
</Style>
14+
15+
<Style x:Key="QuerySuggestionBoxStyle" BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}" TargetType="{x:Type TextBox}">
16+
<Setter Property="Foreground" Value="LightGray" />
17+
</Style>
18+
19+
<Style x:Key="WindowBorderStyle" BasedOn="{StaticResource BaseWindowBorderStyle}" TargetType="{x:Type Border}">
20+
<Setter Property="Background">
21+
<Setter.Value>
22+
<SolidColorBrush Color="Black" Opacity="0.6"/>
23+
</Setter.Value>
24+
</Setter>
25+
</Style>
26+
27+
<Style x:Key="WindowStyle" BasedOn="{StaticResource BaseWindowStyle}" TargetType="{x:Type Window}">
28+
<Setter Property="Width" Value="750" /> <!-- This is used to set the blur width only -->
29+
<Setter Property="Background">
30+
<Setter.Value>
31+
<SolidColorBrush Color="Black" Opacity="0.6"/>
32+
</Setter.Value>
33+
</Setter>
34+
</Style>
35+
36+
<Style x:Key="PendingLineStyle" BasedOn="{StaticResource BasePendingLineStyle}" TargetType="{x:Type Line}">
37+
</Style>
38+
39+
<!-- Item Style -->
40+
<Style x:Key="ItemTitleStyle" BasedOn="{StaticResource BaseItemTitleStyle}" TargetType="{x:Type TextBlock}">
41+
<Setter Property="Margin" Value="0, -10"/>
42+
<Setter Property="Foreground" Value="#FFFFFFFF"/>
43+
</Style>
44+
<Style x:Key="ItemSubTitleStyle" BasedOn="{StaticResource BaseItemSubTitleStyle}" TargetType="{x:Type TextBlock}" >
45+
<Setter Property="Foreground" Value="#FFFFFFFF"/>
46+
</Style>
47+
<Style x:Key="ItemTitleSelectedStyle" BasedOn="{StaticResource BaseItemTitleSelectedStyle}" TargetType="{x:Type TextBlock}" >
48+
<Setter Property="Margin" Value="0, -10"/>
49+
<Setter Property="Foreground" Value="#FFFFFFFF"/>
50+
</Style>
51+
<Style x:Key="ItemSubTitleSelectedStyle" BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}" TargetType="{x:Type TextBlock}" >
52+
<Setter Property="Foreground" Value="#FFFFFFFF"/>
53+
</Style>
54+
<SolidColorBrush x:Key="ItemSelectedBackgroundColor">#356ef3</SolidColorBrush>
55+
56+
<!-- button style in the middle of the scrollbar -->
57+
<Style x:Key="ThumbStyle" BasedOn="{StaticResource BaseThumbStyle}" TargetType="{x:Type Thumb}">
58+
</Style>
59+
60+
<Style x:Key="ScrollBarStyle" BasedOn="{StaticResource BaseScrollBarStyle}" TargetType="{x:Type ScrollBar}">
61+
<Setter Property="Background" Value="#a0a0a0"/>
62+
</Style>
63+
</ResourceDictionary>

Flow.Launcher/Themes/BlurBlack.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<Style x:Key="WindowBorderStyle" BasedOn="{StaticResource BaseWindowBorderStyle}" TargetType="{x:Type Border}">
2020
<Setter Property="Background">
2121
<Setter.Value>
22-
<SolidColorBrush Color="Black" Opacity="0.6"/>
22+
<SolidColorBrush Color="Black" Opacity="0.3"/>
2323
</Setter.Value>
2424
</Setter>
2525
</Style>
@@ -28,7 +28,7 @@
2828
<Setter Property="Width" Value="750" /> <!-- This is used to set the blur width only -->
2929
<Setter Property="Background">
3030
<Setter.Value>
31-
<SolidColorBrush Color="Black" Opacity="0.6"/>
31+
<SolidColorBrush Color="Black" Opacity="0.3"/>
3232
</Setter.Value>
3333
</Setter>
3434
</Style>

0 commit comments

Comments
 (0)