style: decentralized less var (#8369)

* style: decentralized less var

* chore: remove emtpy var file
This commit is contained in:
neverland
2021-03-17 16:14:18 +08:00
committed by GitHub
parent 3b645362d8
commit b3146b9108
157 changed files with 997 additions and 1002 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
@import '../style/var.less';
@import './var.less';
.van-image {
position: relative;
+9
View File
@@ -0,0 +1,9 @@
@import '../style/var.less';
@image-placeholder-text-color: @gray-6;
@image-placeholder-font-size: @font-size-md;
@image-placeholder-background-color: @background-color;
@image-loading-icon-size: 32px;
@image-loading-icon-color: @gray-4;
@image-error-icon-size: 32px;
@image-error-icon-color: @gray-4;