mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
[improvement] Image: add less vars
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user