diff --git a/src/library/Uno.Themes.WinUI.Markup/Theme.LightWeight/Themes.LightWeightStyles.CheckBox.cs b/src/library/Uno.Themes.WinUI.Markup/Theme.LightWeight/Themes.LightWeightStyles.CheckBox.cs index 373c8fecc..f5a158528 100644 --- a/src/library/Uno.Themes.WinUI.Markup/Theme.LightWeight/Themes.LightWeightStyles.CheckBox.cs +++ b/src/library/Uno.Themes.WinUI.Markup/Theme.LightWeight/Themes.LightWeightStyles.CheckBox.cs @@ -5,6 +5,7 @@ #endif using Microsoft.UI.Xaml.Media; using Uno.Extensions.Markup.Internals; +using Microsoft.UI.Xaml; namespace Uno.Themes.Markup { @@ -133,43 +134,55 @@ public static class BorderBrush public static ResourceValue IndeterminateDisabled => new("CheckBoxBorderBrushIndeterminateDisabled", true); } - public static class GlyphForeground + public static class Glyph { - [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundUnchecked")] - public static ResourceValue Unchecked => new("CheckBoxGlyphForegroundUnchecked", true); + public static class Foreground + { + [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundUnchecked")] + public static ResourceValue Unchecked => new("CheckBoxGlyphForegroundUnchecked", true); - [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundUncheckedPointerOver")] - public static ResourceValue UncheckedPointerOver => new("CheckBoxGlyphForegroundUncheckedPointerOver", true); + [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundUncheckedPointerOver")] + public static ResourceValue UncheckedPointerOver => new("CheckBoxGlyphForegroundUncheckedPointerOver", true); - [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundUncheckedPressed")] - public static ResourceValue UncheckedPressed => new("CheckBoxGlyphForegroundUncheckedPressed", true); + [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundUncheckedPressed")] + public static ResourceValue UncheckedPressed => new("CheckBoxGlyphForegroundUncheckedPressed", true); - [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundUncheckedDisabled")] - public static ResourceValue UncheckedDisabled => new("CheckBoxGlyphForegroundUncheckedDisabled", true); + [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundUncheckedDisabled")] + public static ResourceValue UncheckedDisabled => new("CheckBoxGlyphForegroundUncheckedDisabled", true); - [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundChecked")] - public static ResourceValue Checked => new("CheckBoxGlyphForegroundChecked", true); + [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundChecked")] + public static ResourceValue Checked => new("CheckBoxGlyphForegroundChecked", true); - [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundCheckedPointerOver")] - public static ResourceValue CheckedPointerOver => new("CheckBoxGlyphForegroundCheckedPointerOver", true); + [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundCheckedPointerOver")] + public static ResourceValue CheckedPointerOver => new("CheckBoxGlyphForegroundCheckedPointerOver", true); - [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundCheckedPressed")] - public static ResourceValue CheckedPressed => new("CheckBoxGlyphForegroundCheckedPressed", true); + [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundCheckedPressed")] + public static ResourceValue CheckedPressed => new("CheckBoxGlyphForegroundCheckedPressed", true); - [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundCheckedDisabled")] - public static ResourceValue CheckedDisabled => new("CheckBoxGlyphForegroundCheckedDisabled", true); + [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundCheckedDisabled")] + public static ResourceValue CheckedDisabled => new("CheckBoxGlyphForegroundCheckedDisabled", true); - [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundIndeterminate")] - public static ResourceValue Indeterminate => new("CheckBoxGlyphForegroundIndeterminate", true); + [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundIndeterminate")] + public static ResourceValue Indeterminate => new("CheckBoxGlyphForegroundIndeterminate", true); - [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundIndeterminatePointerOver")] - public static ResourceValue IndeterminatePointerOver => new("CheckBoxGlyphForegroundIndeterminatePointerOver", true); + [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundIndeterminatePointerOver")] + public static ResourceValue IndeterminatePointerOver => new("CheckBoxGlyphForegroundIndeterminatePointerOver", true); - [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundIndeterminatePressed")] - public static ResourceValue IndeterminatePressed => new("CheckBoxGlyphForegroundIndeterminatePressed", true); + [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundIndeterminatePressed")] + public static ResourceValue IndeterminatePressed => new("CheckBoxGlyphForegroundIndeterminatePressed", true); - [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundIndeterminateDisabled")] - public static ResourceValue IndeterminateDisabled => new("CheckBoxGlyphForegroundIndeterminateDisabled", true); + [ResourceKeyDefinition(typeof(Brush), "CheckBoxGlyphForegroundIndeterminateDisabled")] + public static ResourceValue IndeterminateDisabled => new("CheckBoxGlyphForegroundIndeterminateDisabled", true); + } + + public static class PathData + { + [ResourceKeyDefinition(typeof(string), "CheckBoxHyphenGlyphPathData")] + public static ResourceValue Hyphen => new("CheckBoxHyphenGlyphPathData", true); + + [ResourceKeyDefinition(typeof(string), "CheckBoxCheckGlyphPathData")] + public static ResourceValue Check => new("CheckBoxCheckGlyphPathData", true); + } } public static class Typo @@ -189,6 +202,42 @@ public static class Typo [ResourceKeyDefinition(typeof(double), "CheckBoxCharacterSpacing")] public static ResourceValue CharacterSpacing => new("CheckBoxCharacterSpacing", true); } + + public static class FocusArea + { + public static class Size + { + [ResourceKeyDefinition(typeof(double), "CheckBoxFocusAreaSize")] + public static ResourceValue Default => new("CheckBoxFocusAreaSize", true); + } + } + + public static class CheckArea + { + public static class Size + { + [ResourceKeyDefinition(typeof(double), "CheckBoxCheckAreaSize")] + public static ResourceValue Default => new("CheckBoxCheckAreaSize", true); + } + + public static class Length + { + [ResourceKeyDefinition(typeof(GridLength), "CheckBoxCheckAreaLength")] + public static ResourceValue Default => new("CheckBoxCheckAreaLength", true); + } + + public static class CornerRadiuses + { + [ResourceKeyDefinition(typeof(CornerRadius), "CheckBoxCheckAreaCornerRadius")] + public static ResourceValue Default => new("CheckBoxCheckAreaCornerRadius", true); + } + + public static class BorderThickness + { + [ResourceKeyDefinition(typeof(Thickness), "CheckBoxCheckAreaBorderThickness")] + public static ResourceValue Default => new("CheckBoxCheckAreaBorderThickness", true); + } + } } } }