From 0b72578de1975d2fa18a3d12b80fcace042704ae Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Fri, 7 Jun 2024 11:04:06 +0800 Subject: [PATCH] feat: Foreground. --- demo/Ursa.Demo/Pages/RatingDemo.axaml | 1 + src/Ursa.Themes.Semi/Controls/Rating.axaml | 8 ++++---- src/Ursa.Themes.Semi/Themes/Dark/Rating.axaml | 1 - src/Ursa.Themes.Semi/Themes/Light/Rating.axaml | 1 - 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/demo/Ursa.Demo/Pages/RatingDemo.axaml b/demo/Ursa.Demo/Pages/RatingDemo.axaml index f2b4af0..0344261 100644 --- a/demo/Ursa.Demo/Pages/RatingDemo.axaml +++ b/demo/Ursa.Demo/Pages/RatingDemo.axaml @@ -35,6 +35,7 @@ Value="{Binding Value}" Count="{Binding Count}" DefaultValue="{Binding DefaultValue}" + Foreground="{StaticResource SemiRed5}" Character="{StaticResource LoveHeartGeometry}" /> diff --git a/src/Ursa.Themes.Semi/Controls/Rating.axaml b/src/Ursa.Themes.Semi/Controls/Rating.axaml index 25e8e4d..05f8352 100644 --- a/src/Ursa.Themes.Semi/Controls/Rating.axaml +++ b/src/Ursa.Themes.Semi/Controls/Rating.axaml @@ -15,6 +15,7 @@ Data="{TemplateBinding Character}" Fill="{TemplateBinding Background}" /> - - + - diff --git a/src/Ursa.Themes.Semi/Themes/Dark/Rating.axaml b/src/Ursa.Themes.Semi/Themes/Dark/Rating.axaml index f9c4707..f0cc810 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/Rating.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/Rating.axaml @@ -1,5 +1,4 @@ - \ No newline at end of file diff --git a/src/Ursa.Themes.Semi/Themes/Light/Rating.axaml b/src/Ursa.Themes.Semi/Themes/Light/Rating.axaml index affa457..ddb703a 100644 --- a/src/Ursa.Themes.Semi/Themes/Light/Rating.axaml +++ b/src/Ursa.Themes.Semi/Themes/Light/Rating.axaml @@ -1,5 +1,4 @@ - \ No newline at end of file