mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-24 15:39:15 +08:00
[improvement] Image: add less vars
This commit is contained in:
parent
d6f6e7d888
commit
4bdfab4cb6
@ -20,8 +20,8 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
color: @gray-dark;
|
color: @image-placeholder-text-color;
|
||||||
font-size: 14px;
|
font-size: @image-placeholder-font-size;
|
||||||
background-color: @background-color;
|
background-color: @image-placeholder-background-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -261,6 +261,11 @@
|
|||||||
@info-background-color: @red;
|
@info-background-color: @red;
|
||||||
@info-font-family: PingFang SC, Helvetica Neue, Arial, sans-serif;
|
@info-font-family: PingFang SC, Helvetica Neue, Arial, sans-serif;
|
||||||
|
|
||||||
|
// Image
|
||||||
|
@image-placeholder-text-color: @gray-dark;
|
||||||
|
@image-placeholder-font-size: 14px;
|
||||||
|
@image-placeholder-background-color: @background-color;
|
||||||
|
|
||||||
// ImagePreview
|
// ImagePreview
|
||||||
@image-preview-index-text-color: @white;
|
@image-preview-index-text-color: @white;
|
||||||
@image-preview-index-font-size: 14px;
|
@image-preview-index-font-size: 14px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user