[Doc] update neutral color variables (#2130)

This commit is contained in:
neverland
2018-11-23 20:29:43 +08:00
committed by GitHub
parent ec159b5e47
commit f69c66b439
21 changed files with 57 additions and 39 deletions
+4 -4
View File
@@ -20,12 +20,12 @@ There are some basic variables below, all available variables could be found in
@green: #4b0;
@gray: #c9c9c9;
@gray-light: #e5e5e5;
@gray-darker: #666;
@gray-dark: #999;
@gray-darker: #7d7e80;
@gray-dark: #969799;
// default colors
@text-color: #333;
@border-color: #eee;
@text-color: #323233;
@border-color: #ebedf0;
@active-color: #e8e8e8;
@background-color: #f8f8f8;
@background-color-light: #fafafa;
+4 -4
View File
@@ -24,12 +24,12 @@ Vant 使用了 [Less](http://lesscss.org/) 对样式进行预处理,并内置
@green: #4b0;
@gray: #c9c9c9;
@gray-light: #e5e5e5;
@gray-darker: #666;
@gray-dark: #999;
@gray-darker: #7d7e80;
@gray-dark: #969799;
// default colors
@text-color: #333;
@border-color: #eee;
@text-color: #323233;
@border-color: #ebedf0;
@active-color: #e8e8e8;
@background-color: #f8f8f8;
@background-color-light: #fafafa;
+3 -1
View File
@@ -43,9 +43,11 @@ export default {
</script>
<style lang="less">
@import '../../packages/style/var';
body {
color: #333;
line-height: 1;
color: @text-color;
background-color: #fafafa;
font-family: 'PingFang SC', Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
+1 -1
View File
@@ -128,7 +128,7 @@ export default {
display: inline-block;
&.active {
color: #fff;
color: @white;
background-color: @blue;
}
}