+
@@ -96,4 +98,10 @@ watch([theme, grammar], run, { immediate: true })
padding: 10px;
--uno: border border-base rounded p4;
}
+:root {
+ color-scheme: light;
+}
+:root.dark {
+ color-scheme: dark;
+}
From 0ad1c9508e2a60877673de821d694e41c7177e46 Mon Sep 17 00:00:00 2001
From: uncenter <47499684+uncenter@users.noreply.github.com>
Date: Sun, 28 Jan 2024 13:40:47 -0500
Subject: [PATCH 2/2] impr: store all theme info
---
playground/src/App.vue | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/playground/src/App.vue b/playground/src/App.vue
index c77cd95..6764f5b 100644
--- a/playground/src/App.vue
+++ b/playground/src/App.vue
@@ -1,11 +1,12 @@