mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-26 19:16:24 +00:00
feat: 添加新的颜色样式,更新全局样式和组件以支持更多用户颜色选项
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
:root {
|
||||
:root[user-color="violet"] {
|
||||
--radius: 0.65rem;
|
||||
--background: oklch(1 0 0);
|
||||
--foreground: oklch(0.141 0.005 285.823);
|
||||
@ -33,7 +33,7 @@
|
||||
--sidebar-ring: oklch(0.795 0.184 86.047);
|
||||
}
|
||||
|
||||
.dark {
|
||||
.dark[user-color="violet"] {
|
||||
--background: oklch(0.141 0.005 285.823);
|
||||
--foreground: oklch(0.985 0 0);
|
||||
--card: oklch(0.21 0.006 285.885);
|
||||
|
Reference in New Issue
Block a user