-
-
Notifications
You must be signed in to change notification settings - Fork 455
Modern Themes #704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modern Themes #704
Changes from 1 commit
3a0594f
0c47557
b07a437
7789c1c
c6f1a00
53c04fd
f07a009
4ced995
f83212a
c227ba3
3bc3563
46917ea
3e25030
91d21a7
505b4cb
8eba28f
f1bfa5c
9d10b7f
bb7b0cd
ecb0cac
6a58576
136f227
c89d277
49f00f5
8e93969
6048de4
6211275
c32ae79
2b7855c
39b53d9
2144577
03d134d
6e047e0
e7b4dd1
df3c5bf
89f4f5d
1621f34
92f0041
c1b0929
832405a
1c96f04
ca179be
ed5bd5b
4e01019
d084793
e201df9
6c43a48
a5534ca
d1e7b4e
1948ec5
88a9767
10accd5
d902a1e
e14bb23
1b1a81d
12f95d1
25b5f30
8aaeb85
66e722b
1149ff5
c74a2db
763cab8
54145d7
5f0df98
04a10ed
4f19355
1d746c2
42dda34
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,39 +1,39 @@ | ||
| <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
| <ResourceDictionary.MergedDictionaries> | ||
| <ResourceDictionary.MergedDictionaries> | ||
| <ResourceDictionary Source="pack://application:,,,/Themes/Base.xaml"></ResourceDictionary> | ||
| </ResourceDictionary.MergedDictionaries> | ||
| <Style x:Key="QueryBoxStyle" BasedOn="{StaticResource BaseQueryBoxStyle}" TargetType="{x:Type TextBox}"> | ||
| <Setter Property="Background" Value="#ffffff"/> | ||
| <Setter Property="Foreground" Value="#000000" /> | ||
| </Style> | ||
| </ResourceDictionary.MergedDictionaries> | ||
| <Style x:Key="QueryBoxStyle" BasedOn="{StaticResource BaseQueryBoxStyle}" TargetType="{x:Type TextBox}"> | ||
| <Setter Property="Background" Value="#ffffff"/> | ||
| <Setter Property="Foreground" Value="#000000" /> | ||
| </Style> | ||
|
|
||
| <Style x:Key="QuerySuggestionBoxStyle" BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}" TargetType="{x:Type TextBox}"> | ||
| <Setter Property="Background" Value="#ffffff"/> | ||
| <Setter Property="Foreground" Value="#000000" /> | ||
| </Style> | ||
| <Style x:Key="WindowBorderStyle" BasedOn="{StaticResource BaseWindowBorderStyle}" TargetType="{x:Type Border}"> | ||
| <Setter Property="Background" Value="#001e4e"></Setter> | ||
| </Style> | ||
| <Style x:Key="WindowStyle" TargetType="{x:Type Window}" BasedOn="{StaticResource BaseWindowStyle}" > | ||
| </Style> | ||
| <Style x:Key="PendingLineStyle" BasedOn="{StaticResource BasePendingLineStyle}" TargetType="{x:Type Line}" > | ||
| </Style> | ||
| <Style x:Key="ItemTitleStyle" BasedOn="{StaticResource BaseItemTitleStyle}" TargetType="{x:Type TextBlock}" > | ||
| <Setter Property="Foreground" Value="#f5f5f5"></Setter> | ||
| </Style> | ||
| <Style x:Key="ItemSubTitleStyle" BasedOn="{StaticResource BaseItemSubTitleStyle}" TargetType="{x:Type TextBlock}" > | ||
| <Setter Property="Foreground" Value="#c2c2c2"></Setter> | ||
| </Style> | ||
| <Style x:Key="ItemTitleSelectedStyle" BasedOn="{StaticResource BaseItemTitleSelectedStyle}" TargetType="{x:Type TextBlock}"> | ||
| <Setter Property="Foreground" Value="#f5f5f5" /> | ||
| </Style> | ||
| <Style x:Key="ItemSubTitleSelectedStyle" BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}" TargetType="{x:Type TextBlock}"> | ||
| <Setter Property="Foreground" Value="#c2c2c2" /> | ||
| </Style> | ||
|
|
||
| <Style x:Key="WindowBorderStyle" BasedOn="{StaticResource BaseWindowBorderStyle}" TargetType="{x:Type Border}"> | ||
| <Setter Property="Background" Value="#001e4e"></Setter> | ||
| </Style> | ||
| <Style x:Key="WindowStyle" TargetType="{x:Type Window}" BasedOn="{StaticResource BaseWindowStyle}" > | ||
| </Style> | ||
| <Style x:Key="PendingLineStyle" BasedOn="{StaticResource BasePendingLineStyle}" TargetType="{x:Type Line}" > | ||
| </Style> | ||
| <Style x:Key="ItemTitleStyle" BasedOn="{StaticResource BaseItemTitleStyle}" TargetType="{x:Type TextBlock}" > | ||
| <Setter Property="Foreground" Value="#f5f5f5"></Setter> | ||
| </Style> | ||
| <Style x:Key="ItemSubTitleStyle" BasedOn="{StaticResource BaseItemSubTitleStyle}" TargetType="{x:Type TextBlock}" > | ||
| <Setter Property="Foreground" Value="#c2c2c2"></Setter> | ||
| </Style> | ||
| <Style x:Key="ItemTitleSelectedStyle" BasedOn="{StaticResource BaseItemTitleSelectedStyle}" TargetType="{x:Type TextBlock}"> | ||
| <Setter Property="Foreground" Value="#f5f5f5" /> | ||
| </Style> | ||
| <Style x:Key="ItemSubTitleSelectedStyle" BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}" TargetType="{x:Type TextBlock}"> | ||
| <Setter Property="Foreground" Value="#c2c2c2" /> | ||
| </Style> | ||
| <SolidColorBrush x:Key="ItemSelectedBackgroundColor">#006ac1</SolidColorBrush> | ||
| <Style x:Key="ThumbStyle" BasedOn="{StaticResource BaseThumbStyle}" TargetType="{x:Type Thumb}"> | ||
| </Style> | ||
| <Style x:Key="ScrollBarStyle" BasedOn="{StaticResource BaseScrollBarStyle}" TargetType="{x:Type ScrollBar}"> | ||
| </Style> | ||
| <Style x:Key="ThumbStyle" BasedOn="{StaticResource BaseThumbStyle}" TargetType="{x:Type Thumb}"> | ||
| </Style> | ||
| <Style x:Key="ScrollBarStyle" BasedOn="{StaticResource BaseScrollBarStyle}" TargetType="{x:Type ScrollBar}"> | ||
| </Style> | ||
| </ResourceDictionary> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
| xmlns:svgc="http://sharpvectors.codeplex.com/svgc/" | ||
| xmlns:system="clr-namespace:System;assembly=mscorlib"> | ||
|
|
||
| <!-- Further font customisations are dynamically loaded in Theme.cs --> | ||
|
|
@@ -9,7 +10,7 @@ | |
| <Setter Property="FontWeight" Value="Regular" /> | ||
| <Setter Property="Height" Value="56" /> | ||
| <Setter Property="Background" Value="#2F2F2F" /> | ||
| <Setter Property="Width" Value="536" /> | ||
| <Setter Property="Width" Value="536" /> | ||
| <Setter Property="Foreground" Value="#E3E0E3" /> | ||
| <Setter Property="CaretBrush" Value="#E3E0E3" /> | ||
|
||
| <Setter Property="VerticalContentAlignment" Value="Center" /> | ||
|
|
@@ -85,11 +86,8 @@ | |
| <Setter Property="Foreground" Value="#D9D9D4" /> | ||
| <Setter Property="RenderOptions.ClearTypeHint" Value="Enabled"/> | ||
| </Style> | ||
|
|
||
|
|
||
| <Style x:Key="BaseItemImageSelectedStyle" TargetType="{x:Type Image}" > | ||
| </Style> | ||
|
|
||
| </Style> | ||
| <Style x:Key="BaseListboxStyle" TargetType="{x:Type ListBox}"> | ||
| <Setter Property="BorderBrush" Value="Transparent"/> | ||
| <Setter Property="Background" Value="Transparent"/> | ||
|
|
@@ -98,15 +96,13 @@ | |
| <Setter Property="Template"> | ||
| <Setter.Value> | ||
| <ControlTemplate TargetType="ListBox"> | ||
| <!-- <ScrollViewer Focusable="false" Template="{DynamicResource ScrollViewerControlTemplate}">--> | ||
| <ScrollViewer Focusable="false" Template="{DynamicResource ScrollViewerControlTemplate}"> | ||
| <VirtualizingStackPanel IsItemsHost="True" /> | ||
| </ScrollViewer> | ||
| </ControlTemplate> | ||
| </Setter.Value> | ||
| </Setter> | ||
| </Style> | ||
|
|
||
| <!-- ScrollViewer Style --> | ||
| <ControlTemplate x:Key="ScrollViewerControlTemplate" TargetType="{x:Type ScrollViewer}"> | ||
| <Grid x:Name="Grid" Background="{TemplateBinding Background}"> | ||
|
|
@@ -142,7 +138,6 @@ | |
|
|
||
| </Grid> | ||
| </ControlTemplate> | ||
|
|
||
| <!-- button style in the middle of the scrollbar --> | ||
| <Style x:Key="BaseThumbStyle" TargetType="{x:Type Thumb}"> | ||
| <Setter Property="SnapsToDevicePixels" Value="True"/> | ||
|
|
@@ -157,7 +152,6 @@ | |
| </Setter.Value> | ||
| </Setter> | ||
| </Style> | ||
|
|
||
| <Style x:Key="BaseScrollBarStyle" TargetType="{x:Type ScrollBar}"> | ||
| <Setter Property="Stylus.IsPressAndHoldEnabled" Value="false" /> | ||
| <Setter Property="Stylus.IsFlicksEnabled" Value="false" /> | ||
|
|
@@ -177,23 +171,21 @@ | |
| </ControlTemplate> | ||
| </Setter.Value> | ||
| </Setter> | ||
|
|
||
| </Style> | ||
|
|
||
|
|
||
| <Style x:Key="BaseSeparatorStyle" TargetType="Rectangle"> | ||
| <Setter Property="Visibility" Value="Collapsed" /> | ||
| <Style.Triggers> | ||
| <Style x:Key="BaseSeparatorStyle" TargetType="Rectangle"> | ||
| <Setter Property="Visibility" Value="Collapsed" /> | ||
| <Style.Triggers> | ||
| <DataTrigger Binding="{Binding ElementName=ResultListBox, Path=Visibility}" Value="Visible"> | ||
| <Setter Property="Visibility" Value="Visible" /> | ||
| </DataTrigger> | ||
| <Setter Property="Visibility" Value="Visible" /> | ||
| <!-- Top Margin for When Open List, --> | ||
| <Setter Property="Margin" Value="0 0 0 8" /> | ||
| </DataTrigger> | ||
| </Style.Triggers> | ||
| </Style> | ||
|
|
||
| <!-- Edited Base.xaml --> | ||
| <!-- Theme Custom --> | ||
|
|
||
|
|
||
| <Style x:Key="QueryBoxStyle" BasedOn="{StaticResource BaseQueryBoxStyle}" TargetType="{x:Type TextBox}"> | ||
| <Setter Property="Background" Value="#dddddd" /> | ||
| <Setter Property="Foreground" Value="#000000" /> | ||
|
|
@@ -254,16 +246,28 @@ | |
| <Style x:Key="ScrollBarStyle" BasedOn="{StaticResource BaseScrollBarStyle}" TargetType="{x:Type ScrollBar}" > | ||
| <Setter Property="Width" Value="4"/> | ||
| </Style> | ||
|
|
||
| <Style x:Key="SeparatorStyle" BasedOn="{StaticResource BaseSeparatorStyle}" TargetType="{x:Type Rectangle}"> | ||
| <Style x:Key="SeparatorStyle" BasedOn="{StaticResource BaseSeparatorStyle}" TargetType="{x:Type Rectangle}"> | ||
| <Setter Property="Fill" Value="#c6c6c6"/> | ||
| <Setter Property="Height" Value="1"/> | ||
| <Setter Property="Margin" Value="12 0 12 0"/> | ||
| </Style> | ||
|
|
||
| <Setter Property="Height" Value="1"/> | ||
| <Setter Property="Margin" Value="12 0 12 0"/> | ||
| </Style> | ||
| <Style x:Key="HighlightStyle"> | ||
| <Setter Property="Inline.Foreground" Value="#0078d7" /> | ||
| </Style> | ||
| <Style x:Key="SearchIconPosition" TargetType="{x:Type Canvas}"> | ||
| <Setter Property="Width" Value="32" /> | ||
| <Setter Property="Height" Value="32" /> | ||
| <Setter Property="Margin" Value="0 2 18 0" /> | ||
| <Setter Property="Background" Value="Transparent" /> | ||
| <Setter Property="HorizontalAlignment" Value="Right" /> | ||
| </Style> | ||
| <Geometry x:Key="SearchIconImg">F1 M12000,12000z M0,0z M10354,10962C10326,10951 10279,10927 10249,10907 10216,10886 9476,10153 8370,9046 7366,8042 6541,7220 6536,7220 6532,7220 6498,7242 6461,7268 6213,7447 5883,7619 5592,7721 5194,7860 4802,7919 4360,7906 3612,7886 2953,7647 2340,7174 2131,7013 1832,6699 1664,6465 1394,6088 1188,5618 1097,5170 1044,4909 1030,4764 1030,4470 1030,4130 1056,3914 1135,3609 1263,3110 1511,2633 1850,2235 1936,2134 2162,1911 2260,1829 2781,1395 3422,1120 4090,1045 4271,1025 4667,1025 4848,1045 5505,1120 6100,1368 6630,1789 6774,1903 7081,2215 7186,2355 7362,2588 7467,2759 7579,2990 7802,3455 7911,3937 7911,4460 7911,4854 7861,5165 7737,5542 7684,5702 7675,5724 7602,5885 7517,6071 7390,6292 7270,6460 7242,6499 7220,6533 7220,6538 7220,6542 8046,7371 9055,8380 10441,9766 10898,10229 10924,10274 10945,10308 10966,10364 10976,10408 10990,10472 10991,10493 10980,10554 10952,10717 10840,10865 10690,10937 10621,10971 10607,10974 10510,10977 10425,10980 10395,10977 10354,10962z M4685,7050C5214,7001 5694,6809 6100,6484 6209,6396 6396,6209 6484,6100 7151,5267 7246,4110 6721,3190 6369,2571 5798,2137 5100,1956 4706,1855 4222,1855 3830,1957 3448,2056 3140,2210 2838,2453 2337,2855 2010,3427 1908,4080 1877,4274 1877,4656 1908,4850 1948,5105 2028,5370 2133,5590 2459,6272 3077,6782 3810,6973 3967,7014 4085,7034 4290,7053 4371,7061 4583,7059 4685,7050z</Geometry> | ||
|
||
| <Style x:Key="SearchIconStyle" TargetType="{x:Type Path}"> | ||
| <Setter Property="Fill" Value="#555555" /> | ||
| <Setter Property="Width" Value="32" /> | ||
| <Setter Property="Height" Value="32" /> | ||
| <Setter Property="Opacity" Value="0.2" /> | ||
| </Style> | ||
|
|
||
| </ResourceDictionary> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this theme(non edited), it works but have design problem. (inputbox full height)