mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(style): add background-color var (#5112)
This commit is contained in:
parent
f525abbf11
commit
ab3ccbed8f
@ -15,7 +15,7 @@ There are some basic variables below, all available variables could be found in
|
|||||||
@text-color: #323233;
|
@text-color: #323233;
|
||||||
@border-color: #ebedf0;
|
@border-color: #ebedf0;
|
||||||
@active-color: #f2f3f5;
|
@active-color: #f2f3f5;
|
||||||
@background-color: #f8f8f8;
|
@background-color: #f7f8fa;
|
||||||
@background-color-light: #fafafa;
|
@background-color-light: #fafafa;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ Vant 使用了 [Less](http://lesscss.org/) 对样式进行预处理,并内置
|
|||||||
@text-color: #323233;
|
@text-color: #323233;
|
||||||
@border-color: #ebedf0;
|
@border-color: #ebedf0;
|
||||||
@active-color: #f2f3f5;
|
@active-color: #f2f3f5;
|
||||||
@background-color: #f8f8f8;
|
@background-color: #f7f8fa;
|
||||||
@background-color-light: #fafafa;
|
@background-color-light: #fafafa;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ body {
|
|||||||
color: @text-color;
|
color: @text-color;
|
||||||
font-family: 'PingFang SC', Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, Arial, sans-serif;
|
font-family: 'PingFang SC', Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, Arial, sans-serif;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
background-color: #f8f8f8;
|
background-color: #f7f8fa;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
@active-color: #f2f3f5;
|
@active-color: #f2f3f5;
|
||||||
@active-opacity: .7;
|
@active-opacity: .7;
|
||||||
@disabled-opacity: .5;
|
@disabled-opacity: .5;
|
||||||
@background-color: #f8f8f8;
|
@background-color: #f7f8fa;
|
||||||
@background-color-light: #fafafa;
|
@background-color-light: #fafafa;
|
||||||
|
|
||||||
// Padding
|
// Padding
|
||||||
|
Loading…
x
Reference in New Issue
Block a user