mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-25 15:59:16 +08:00
feat: add dark mode basic variables
This commit is contained in:
parent
97b074ad0c
commit
73322fd310
@ -1,4 +1,4 @@
|
|||||||
:root {
|
body {
|
||||||
// Color Palette
|
// Color Palette
|
||||||
--van-black: #000;
|
--van-black: #000;
|
||||||
--van-white: #fff;
|
--van-white: #fff;
|
||||||
@ -76,3 +76,13 @@
|
|||||||
--van-radius-lg: 8px;
|
--van-radius-lg: 8px;
|
||||||
--van-radius-max: 999px;
|
--van-radius-max: 999px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.van-theme-dark {
|
||||||
|
--van-text-color: #f5f5f5;
|
||||||
|
--van-text-color-secondary: #707070;
|
||||||
|
--van-text-color-tertiary: #4d4d4d;
|
||||||
|
--van-border-color: #3a3a3c;
|
||||||
|
--van-active-color: #3a3a3c;
|
||||||
|
--van-background: #000;
|
||||||
|
--van-background-light: #2c2c2e;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user