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;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: @gray-dark;
|
||||
font-size: 14px;
|
||||
background-color: @background-color;
|
||||
color: @image-placeholder-text-color;
|
||||
font-size: @image-placeholder-font-size;
|
||||
background-color: @image-placeholder-background-color;
|
||||
}
|
||||
}
|
||||
|
@ -261,6 +261,11 @@
|
||||
@info-background-color: @red;
|
||||
@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
|
||||
@image-preview-index-text-color: @white;
|
||||
@image-preview-index-font-size: 14px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user