[improvement] Image: add less vars

This commit is contained in:
陈嘉涵 2019-05-17 15:23:30 +08:00
parent d6f6e7d888
commit 4bdfab4cb6
2 changed files with 8 additions and 3 deletions

View File

@ -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;
} }
} }

View File

@ -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;