Skip to content

Commit

Permalink
feat(ProgressBar): lightweight styling for Progress controls
Browse files Browse the repository at this point in the history
  • Loading branch information
rajamatt committed Jul 12, 2023
1 parent 66d109c commit a7663a6
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
using Microsoft.UI.Xaml.Media;
using Uno.Extensions.Markup.Internals;

namespace Uno.Themes.Markup
{
public static partial class Theme
{
public static class ProgressBar
{
public static class Resources
{
public static class Default
{
public static class Foreground
{
[ResourceKeyDefinition(typeof(Brush), "ProgressBarForeground")]
public static ResourceValue<Brush> Default => new("ProgressBarForeground", true);
}

public static class Background
{
[ResourceKeyDefinition(typeof(Brush), "ProgressBarBackground")]
public static ResourceValue<Brush> Default => new("ProgressBarBackground", true);
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
using Microsoft.UI.Xaml.Media;
using Uno.Extensions.Markup.Internals;

namespace Uno.Themes.Markup
{
public static partial class Theme
{
public static class ProgressRing
{
public static class Resources
{
public static class Default
{
public static class Foreground
{
[ResourceKeyDefinition(typeof(Brush), "ProgressRingForeground")]
public static ResourceValue<Brush> Default => new("ProgressRingForeground", true);
}

public static class Background
{
[ResourceKeyDefinition(typeof(Brush), "ProgressRingBackground")]
public static ResourceValue<Brush> Default => new("ProgressRingBackground", true);
}
}
}
}
}
}

0 comments on commit a7663a6

Please sign in to comment.