File tree Expand file tree Collapse file tree 5 files changed +15
-17
lines changed
GeneratedResources/WinUI/Colors
Esri.Calcite.WinUI/Styles Expand file tree Collapse file tree 5 files changed +15
-17
lines changed Original file line number Diff line number Diff line change 11<ResourceDictionary
22 xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml" >
3+ <ResourceDictionary .MergedDictionaries>
4+ <ResourceDictionary Source =" ms-appx:///Esri.Calcite.WinUI/Colors/Colors.xaml" />
5+ </ResourceDictionary .MergedDictionaries>
36 <SolidColorBrush x : Key =" CalciteBackgroundBrush" Color =" {ThemeResource CalciteBackgroundColor}" />
47 <SolidColorBrush x : Key =" CalciteBackgroundNoneBrush" Color =" {ThemeResource CalciteBackgroundNoneColor}" />
58 <SolidColorBrush x : Key =" CalciteBorder1Brush" Color =" {ThemeResource CalciteBorder1Color}" />
Original file line number Diff line number Diff line change 11<ResourceDictionary xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml" >
2+ <ResourceDictionary .MergedDictionaries>
3+ <ResourceDictionary Source =" ms-appx:///Esri.Calcite.WinUI/Colors/Brushes.xaml" />
4+ </ResourceDictionary .MergedDictionaries>
5+
26 <ResourceDictionary .ThemeDictionaries>
37 <ResourceDictionary x:Key =" Default" >
48 <Color x : Key =" CalciteTextOnBrandColor" >White</Color >
Original file line number Diff line number Diff line change 33 xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
44 xmlns : cal =" using:Esri.Calcite.WinUI"
55 >
6+ <ResourceDictionary .MergedDictionaries>
7+ <ResourceDictionary Source =" ms-appx:///Esri.Calcite.WinUI/Styles/Fonts.xaml" />
8+ <ResourceDictionary Source =" ms-appx:///Esri.Calcite.WinUI/Styles/Brushes.xaml" />
9+ </ResourceDictionary .MergedDictionaries>
610
711 <StaticResource x : Key =" ButtonBackground" ResourceKey =" CalciteBackground3Brush" />
812 <StaticResource x : Key =" ButtonBackgroundPointerOver" ResourceKey =" CalciteBackground2Brush" />
Original file line number Diff line number Diff line change 11<ResourceDictionary
22 xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33 xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml" >
4+ <ResourceDictionary .MergedDictionaries>
5+ <ResourceDictionary Source =" ms-appx:///Esri.Calcite.WinUI/Styles/Fonts.xaml" />
6+ <ResourceDictionary Source =" ms-appx:///Esri.Calcite.WinUI/Colors/Brushes.xaml" />
7+ </ResourceDictionary .MergedDictionaries>
48
59 <StaticResource x : Key =" TextControlBorderBrush" ResourceKey =" CalciteBorder2Brush" />
610 <StaticResource x : Key =" TextControlBackground" ResourceKey =" CalciteBackground1Brush" />
Original file line number Diff line number Diff line change 1515 <CalciteResources xmlns =" using:Esri.Calcite.WinUI" />
1616 </XamlControlsResources .MergedDictionaries>
1717 </XamlControlsResources >
18-
19- <!-- Merge in XAML resource overrides -->
20- <ResourceDictionary >
21- <!-- Override brand colors -->
22- <!-- <ResourceDictionary.ThemeDictionaries>
23- <ResourceDictionary x:Key="Default">
24- <Color x:Key="CalciteBrandColor" >#8F53CA</Color>
25- <Color x:Key="CalciteBrandHoverColor" >#7938B6</Color>
26- <Color x:Key="CalciteBrandPressColor" >#652E98</Color>
27- </ResourceDictionary>
28- <ResourceDictionary x:Key="Dark">
29- <Color x:Key="CalciteBrandColor" >#7938B6</Color>
30- <Color x:Key="CalciteBrandHoverColor" >#652E98</Color>
31- <Color x:Key="CalciteBrandPressColor" >#51247A</Color>
32- </ResourceDictionary>
33- </ResourceDictionary.ThemeDictionaries>-->
34- </ResourceDictionary >
3518 </ResourceDictionary .MergedDictionaries>
3619 <!-- Other app resources here -->
3720 <Style TargetType =" TextBlock" x : Key =" CodeTextBlock" >
You can’t perform that action at this time.
0 commit comments