mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(ImagePreview): add @image-preview-index-text-shadow var
This commit is contained in:
parent
db90f83e26
commit
e2f30242ea
@ -138,7 +138,6 @@ export default {
|
||||
|
||||
.van-doc-header {
|
||||
width: 100%;
|
||||
box-shadow: 0 4px 12px #ebedf0;
|
||||
user-select: none;
|
||||
|
||||
&__top {
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user