From b730d3abbefb9114889ed8495a9761ab138024ef Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Wed, 11 Sep 2024 19:57:02 +0800 Subject: [PATCH] feat: extract color resources. --- .../Controls/Notification.axaml | 20 +++++++++---------- src/Ursa.Themes.Semi/Controls/Toast.axaml | 19 +++++++++--------- .../Themes/Dark/NotificationShared.axaml | 15 ++++++++++++++ src/Ursa.Themes.Semi/Themes/Dark/_index.axaml | 1 + .../Themes/Light/NotificationShared.axaml | 15 ++++++++++++++ .../Themes/Light/_index.axaml | 1 + 6 files changed, 51 insertions(+), 20 deletions(-) create mode 100644 src/Ursa.Themes.Semi/Themes/Dark/NotificationShared.axaml create mode 100644 src/Ursa.Themes.Semi/Themes/Light/NotificationShared.axaml diff --git a/src/Ursa.Themes.Semi/Controls/Notification.axaml b/src/Ursa.Themes.Semi/Controls/Notification.axaml index baf697e..5493734 100644 --- a/src/Ursa.Themes.Semi/Controls/Notification.axaml +++ b/src/Ursa.Themes.Semi/Controls/Notification.axaml @@ -383,22 +383,22 @@ @@ -408,7 +408,7 @@ - + diff --git a/src/Ursa.Themes.Semi/Themes/Dark/NotificationShared.axaml b/src/Ursa.Themes.Semi/Themes/Dark/NotificationShared.axaml new file mode 100644 index 0000000..efa4307 --- /dev/null +++ b/src/Ursa.Themes.Semi/Themes/Dark/NotificationShared.axaml @@ -0,0 +1,15 @@ + + inset 0 0 0 1 #1AFFFFFF, 0 4 14 0 #40000000 + + + + + + + + + + + + diff --git a/src/Ursa.Themes.Semi/Themes/Dark/_index.axaml b/src/Ursa.Themes.Semi/Themes/Dark/_index.axaml index 91ca159..2618039 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/_index.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/_index.axaml @@ -12,6 +12,7 @@ + diff --git a/src/Ursa.Themes.Semi/Themes/Light/NotificationShared.axaml b/src/Ursa.Themes.Semi/Themes/Light/NotificationShared.axaml new file mode 100644 index 0000000..26f70c6 --- /dev/null +++ b/src/Ursa.Themes.Semi/Themes/Light/NotificationShared.axaml @@ -0,0 +1,15 @@ + + 0 0 1 0 #4A000000, 0 4 14 0 #1A000000 + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Ursa.Themes.Semi/Themes/Light/_index.axaml b/src/Ursa.Themes.Semi/Themes/Light/_index.axaml index 91ca159..2618039 100644 --- a/src/Ursa.Themes.Semi/Themes/Light/_index.axaml +++ b/src/Ursa.Themes.Semi/Themes/Light/_index.axaml @@ -12,6 +12,7 @@ +