feat: 添加新的颜色样式,更新全局样式和组件以支持更多用户颜色选项

This commit is contained in:
2025-09-25 19:18:09 +08:00
parent e6e7ee64a2
commit 751ce7878b
11 changed files with 46 additions and 26 deletions

View File

@ -1,4 +1,4 @@
:root {
:root[user-color="green"] {
--radius: 0.65rem;
--background: oklch(1 0 0);
--foreground: oklch(0.141 0.005 285.823);
@ -33,7 +33,7 @@
--sidebar-ring: oklch(0.723 0.219 149.579);
}
.dark {
.dark[user-color="green"] {
--background: oklch(0.141 0.005 285.823);
--foreground: oklch(0.985 0 0);
--card: oklch(0.21 0.006 285.885);