diff --git a/demo/Ursa.Demo/Pages/BadgeDemo.axaml b/demo/Ursa.Demo/Pages/BadgeDemo.axaml index 5d2f3d0b..012ea37b 100644 --- a/demo/Ursa.Demo/Pages/BadgeDemo.axaml +++ b/demo/Ursa.Demo/Pages/BadgeDemo.axaml @@ -5,8 +5,8 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:u="https://irihi.tech/ursa" - d:DesignHeight="450" - d:DesignWidth="800" + d:DesignHeight="850" + d:DesignWidth="850" mc:Ignorable="d"> - + @@ -29,26 +33,38 @@ HorizontalAlignment="Center" Header="500" OverflowCount="100"> - + + + - + + + - + + + - + + + - + + + - + + + @@ -56,88 +72,134 @@ Header="VIP" CornerPosition="TopLeft" Dot="True"> - + + + - + + + - + + + - + + + - + + + - + + + - + + + - + + + + + + + + - + + + - - - - + + + - + + + - + + + - + + + + + + + + - + + + - - - - + + + - + + + - + + + - + + + + + + + + - + + + - - - - + + + @@ -145,37 +207,49 @@ Header="URSA" Classes="Primary" Dot="True"> - + + + - + + + - + + + - + + + - + + + - + + + @@ -183,76 +257,100 @@ Header="URSA" Classes="Light Primary" Dot="True"> - + + + - + + + - + + + - + + + - + + + - + + + - + - + + + - + + + - + + + - + + + - + + + - + + + diff --git a/src/Ursa.Themes.Semi/Controls/Badge.axaml b/src/Ursa.Themes.Semi/Controls/Badge.axaml index 4402f054..099384fa 100644 --- a/src/Ursa.Themes.Semi/Controls/Badge.axaml +++ b/src/Ursa.Themes.Semi/Controls/Badge.axaml @@ -32,7 +32,8 @@ HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}" Content="{TemplateBinding Content}" - ContentTemplate="{TemplateBinding ContentTemplate}" /> + ContentTemplate="{TemplateBinding ContentTemplate}" + Foreground="{DynamicResource BadgeContentForeground}" /> + ContentTemplate="{TemplateBinding ContentTemplate}" + Foreground="{DynamicResource BadgeContentForeground}" /> - - - - - - + + + + + + + - + - - - - - + diff --git a/src/Ursa.Themes.Semi/Themes/Dark/Badge.axaml b/src/Ursa.Themes.Semi/Themes/Dark/Badge.axaml index 6d973585..37c65848 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/Badge.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/Badge.axaml @@ -1,13 +1,14 @@ + + - @@ -15,19 +16,19 @@ + + - - + - \ No newline at end of file diff --git a/src/Ursa.Themes.Semi/Themes/Light/Badge.axaml b/src/Ursa.Themes.Semi/Themes/Light/Badge.axaml index 61282694..403f1375 100644 --- a/src/Ursa.Themes.Semi/Themes/Light/Badge.axaml +++ b/src/Ursa.Themes.Semi/Themes/Light/Badge.axaml @@ -1,6 +1,7 @@ +