From a8d1073f752eea50ba54d6a0d34a8c0eb375efc2 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Sun, 18 Feb 2024 17:30:30 +0800 Subject: [PATCH] feat: improve demo, add dynamic resource. --- demo/Ursa.Demo/Pages/FormDemo.axaml | 82 +++++++++---------- src/Ursa.Themes.Semi/Controls/Form.axaml | 4 +- src/Ursa.Themes.Semi/Themes/Dark/Form.axaml | 5 ++ src/Ursa.Themes.Semi/Themes/Dark/_index.axaml | 1 + src/Ursa.Themes.Semi/Themes/Light/Form.axaml | 5 ++ .../Themes/Light/_index.axaml | 1 + src/Ursa/Controls/Form/Form.cs | 1 + 7 files changed, 56 insertions(+), 43 deletions(-) create mode 100644 src/Ursa.Themes.Semi/Themes/Dark/Form.axaml create mode 100644 src/Ursa.Themes.Semi/Themes/Light/Form.axaml diff --git a/demo/Ursa.Demo/Pages/FormDemo.axaml b/demo/Ursa.Demo/Pages/FormDemo.axaml index 49988ff..61423b2 100644 --- a/demo/Ursa.Demo/Pages/FormDemo.axaml +++ b/demo/Ursa.Demo/Pages/FormDemo.axaml @@ -12,47 +12,47 @@ x:CompileBindings="True" x:DataType="vm:FormDemoViewModel" mc:Ignorable="d"> - + - - + + + + + + + + + + + + + + + +