feat(ImagePreview): add @image-preview-index-text-shadow var

This commit is contained in:
陈嘉涵 2020-01-19 14:44:00 +08:00
parent db90f83e26
commit e2f30242ea
3 changed files with 2 additions and 1 deletions

View File

@ -138,7 +138,6 @@ export default {
.van-doc-header {
width: 100%;
box-shadow: 0 4px 12px #ebedf0;
user-select: none;
&__top {

View File

@ -52,6 +52,7 @@
left: 50%;
color: @image-preview-index-text-color;
font-size: @image-preview-index-font-size;
text-shadow: @image-preview-index-text-shadow;
transform: translate(-50%, 0);
}

View File

@ -401,6 +401,7 @@
// ImagePreview
@image-preview-index-text-color: @white;
@image-preview-index-font-size: @font-size-md;
@image-preview-index-text-shadow: 0 1px 1px @gray-8;
@image-preview-overlay-background-color: rgba(0, 0, 0, .9);
// List