-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1251bd
commit 1e9de25
Showing
2 changed files
with
51 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using Microsoft.UI.Xaml; | ||
using Microsoft.UI.Xaml.Media; | ||
using Uno.Extensions.Markup.Internals; | ||
|
||
namespace Uno.Themes.Markup | ||
{ | ||
public static partial class Theme | ||
{ | ||
public static class Thumb | ||
{ | ||
public static class Resources | ||
{ | ||
public static class Default | ||
{ | ||
public static class Background | ||
{ | ||
[ResourceKeyDefinition(typeof(Brush), "SliderThumbBackground")] | ||
public static ResourceValue<Brush> Default => new("SliderThumbBackground", true); | ||
|
||
[ResourceKeyDefinition(typeof(Brush), "SliderThumbBackgroundDisabled")] | ||
public static ResourceValue<Brush> Disabled => new("SliderThumbBackgroundDisabled", true); | ||
} | ||
} | ||
} | ||
|
||
public static class Styles | ||
{ | ||
[ResourceKeyDefinition(typeof(Style), "MaterialSliderThumbStyle", TargetType = typeof(Microsoft.UI.Xaml.Controls.Primitives.Thumb))] | ||
public static ResourceValue<Style> Default => new("MaterialSliderThumbStyle"); | ||
} | ||
} | ||
} | ||
} |