File tree Expand file tree Collapse file tree 5 files changed +17
-15
lines changed
GeneratedResources/WinUI/Colors
Esri.Calcite.WinUI/Styles Expand file tree Collapse file tree 5 files changed +17
-15
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>
63 <SolidColorBrush x : Key =" CalciteBackgroundBrush" Color =" {ThemeResource CalciteBackgroundColor}" />
74 <SolidColorBrush x : Key =" CalciteBackgroundNoneBrush" Color =" {ThemeResource CalciteBackgroundNoneColor}" />
85 <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-
62 <ResourceDictionary .ThemeDictionaries>
73 <ResourceDictionary x:Key =" Default" >
84 <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>
106
117 <StaticResource x : Key =" ButtonBackground" ResourceKey =" CalciteBackground3Brush" />
128 <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>
84
95 <StaticResource x : Key =" TextControlBorderBrush" ResourceKey =" CalciteBorder2Brush" />
106 <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 >
1835 </ResourceDictionary .MergedDictionaries>
1936 <!-- Other app resources here -->
2037 <Style TargetType =" TextBlock" x : Key =" CodeTextBlock" >
You can’t perform that action at this time.
0 commit comments