From a328e2bb99b072365e4b43106ea05e41f8c6f293 Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Wed, 14 Aug 2024 20:00:43 +0800 Subject: [PATCH] feat: add Light class to NotificationCard. --- .../Pages/ExpanderDemo.axaml | 3 +- .../Pages/NotificationDemo.axaml | 41 ++++--- .../Pages/NotificationDemo.axaml.cs | 26 ++++- .../Controls/NotificationCard.axaml | 102 +++++++++++------- 4 files changed, 117 insertions(+), 55 deletions(-) diff --git a/demo/Semi.Avalonia.Demo/Pages/ExpanderDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/ExpanderDemo.axaml index 2de225a..bd2cc1e 100644 --- a/demo/Semi.Avalonia.Demo/Pages/ExpanderDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/ExpanderDemo.axaml @@ -9,6 +9,7 @@ mc:Ignorable="d"> + @@ -36,4 +37,4 @@ - + \ No newline at end of file diff --git a/demo/Semi.Avalonia.Demo/Pages/NotificationDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/NotificationDemo.axaml index dd3b7da..ab62545 100644 --- a/demo/Semi.Avalonia.Demo/Pages/NotificationDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/NotificationDemo.axaml @@ -7,18 +7,33 @@ d:DesignHeight="450" d:DesignWidth="800" mc:Ignorable="d"> - - - - - -