From 088ebf1f760bd7008d0fcb4f53f7f68d085c6c74 Mon Sep 17 00:00:00 2001 From: Seven Date: Fri, 12 Dec 2025 00:11:27 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20Divider=20?= =?UTF-8?q?=E5=92=8C=20Input=20=E7=BB=84=E4=BB=B6=EF=BC=8C=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=B8=BB=E9=A2=98=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/{ => ui}/divider/index.vue | 0 src/components/ui/input/index.vue | 27 +++++++++++++++++++++++ src/theme/variables.css | 12 ++++++++++ 3 files changed, 39 insertions(+) rename src/components/{ => ui}/divider/index.vue (100%) create mode 100644 src/components/ui/input/index.vue diff --git a/src/components/divider/index.vue b/src/components/ui/divider/index.vue similarity index 100% rename from src/components/divider/index.vue rename to src/components/ui/divider/index.vue diff --git a/src/components/ui/input/index.vue b/src/components/ui/input/index.vue new file mode 100644 index 0000000..765cd8e --- /dev/null +++ b/src/components/ui/input/index.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/src/theme/variables.css b/src/theme/variables.css index a134dcf..945c968 100644 --- a/src/theme/variables.css +++ b/src/theme/variables.css @@ -1,2 +1,14 @@ /* For information on how to create your own theme, please refer to: http://ionicframework.com/docs/theming/ */ + +:root { + --ui-input-background: #ffffff; + --ui-input-color: #222222; +} + +@media (prefers-color-scheme: dark) { + :root { + --ui-input-background: #1e1e1e; + --ui-input-color: #ffffff; + } +}