Skip to content

Commit

Permalink
fix: pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-Antoine-Soucy committed Sep 26, 2023
1 parent 18ae5b5 commit 7f5d0a3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/library/Uno.Themes.WinUI.Markup/Theme/HyperlinkButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ public static class Foreground

[ResourceKeyDefinition(typeof(Brush), "HyperlinkButtonForegroundDisabled")]
public static ResourceValue<Brush> Disabled => new("HyperlinkButtonForegroundDisabled", true);

[ResourceKeyDefinition(typeof(Brush), "SecondaryHyperlinkButtonForeground")]
public static ResourceValue<Brush> Secondary => new("SecondaryHyperlinkButtonForeground", true);
}

public static class Background
Expand Down Expand Up @@ -58,7 +55,7 @@ public static class BorderBrush
public static ResourceValue<Brush> Disabled => new("HyperlinkButtonBorderBrushDisabled", true);
}

public static class Typo
public static class Typography
{
[ResourceKeyDefinition(typeof(FontFamily), "HyperlinkButtonFontFamily")]
public static ResourceValue<FontFamily> FontFamily => new("HyperlinkButtonFontFamily", true);
Expand All @@ -67,17 +64,20 @@ public static class Typo
public static ResourceValue<double> FontSize => new("HyperlinkButtonFontSize", true);
}

[ResourceKeyDefinition(typeof(double), "HyperlinkButtonBackgroundOpacity")]
public static ResourceValue<double> Opacity => new("HyperlinkButtonBackgroundOpacity", true);
public static class Opacity
{
[ResourceKeyDefinition(typeof(double), "HyperlinkButtonBackgroundOpacity")]
public static ResourceValue<double> Default => new("HyperlinkButtonBackgroundOpacity", true);

[ResourceKeyDefinition(typeof(double), "HyperlinkButtonBackgroundOpacityPointerOver")]
public static ResourceValue<double> OpacityPointerOver => new("HyperlinkButtonBackgroundOpacityPointerOver", true);
[ResourceKeyDefinition(typeof(double), "HyperlinkButtonBackgroundOpacityPointerOver")]
public static ResourceValue<double> PointerOver => new("HyperlinkButtonBackgroundOpacityPointerOver", true);

[ResourceKeyDefinition(typeof(double), "HyperlinkButtonBackgroundOpacityPressed")]
public static ResourceValue<double> OpacityPressed => new("HyperlinkButtonBackgroundOpacityPressed", true);
[ResourceKeyDefinition(typeof(double), "HyperlinkButtonBackgroundOpacityPressed")]
public static ResourceValue<double> Pressed => new("HyperlinkButtonBackgroundOpacityPressed", true);

[ResourceKeyDefinition(typeof(double), "HyperlinkButtonBackgroundOpacityDisabled")]
public static ResourceValue<double> OpacityDisabled => new("HyperlinkButtonBackgroundOpacityDisabled", true);
[ResourceKeyDefinition(typeof(double), "HyperlinkButtonBackgroundOpacityDisabled")]
public static ResourceValue<double> Disabled => new("HyperlinkButtonBackgroundOpacityDisabled", true);
}
}

public static class Styles
Expand Down

0 comments on commit 7f5d0a3

Please sign in to comment.