mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat: support link css from shadow dom (#12526)
This commit is contained in:
parent
a3180c3aaf
commit
562184dfe2
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
// colors
|
||||
--van-doc-black: #000;
|
||||
--van-doc-white: #fff;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-action-bar-button-height: 40px;
|
||||
--van-action-bar-button-warning-color: var(--van-gradient-orange);
|
||||
--van-action-bar-button-danger-color: var(--van-gradient-red);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-action-bar-icon-width: 48px;
|
||||
--van-action-bar-icon-height: 100%;
|
||||
--van-action-bar-icon-color: var(--van-text-color);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-action-bar-background: var(--van-background-2);
|
||||
--van-action-bar-height: 50px;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
@import '../style/mixins/hairline';
|
||||
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-action-sheet-max-height: 80%;
|
||||
--van-action-sheet-header-height: 48px;
|
||||
--van-action-sheet-header-font-size: var(--van-font-size-lg);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-address-edit-padding: var(--van-padding-sm);
|
||||
--van-address-edit-buttons-padding: var(--van-padding-xl)
|
||||
var(--van-padding-base);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-address-list-padding: var(--van-padding-sm) var(--van-padding-sm) 80px;
|
||||
--van-address-list-disabled-text-color: var(--van-text-color-2);
|
||||
--van-address-list-disabled-text-padding: calc(var(--van-padding-base) * 5) 0;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-back-top-size: 40px;
|
||||
--van-back-top-right: 30px;
|
||||
--van-back-top-bottom: 40px;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-badge-size: 16px;
|
||||
--van-badge-color: var(--van-white);
|
||||
--van-badge-padding: 0 3px;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-barrage-font-size: 16px;
|
||||
--van-barrage-space: 10px;
|
||||
--van-barrage-font: inherit;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-button-mini-height: 24px;
|
||||
--van-button-mini-padding: 0 var(--van-padding-base);
|
||||
--van-button-mini-font-size: var(--van-font-size-xs);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-calendar-background: var(--van-background-2);
|
||||
--van-calendar-popup-height: 80%;
|
||||
--van-calendar-header-shadow: 0 2px 10px rgba(125, 126, 128, 0.16);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-card-padding: var(--van-padding-xs) var(--van-padding-md);
|
||||
--van-card-font-size: var(--van-font-size-sm);
|
||||
--van-card-text-color: var(--van-text-color);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-cascader-header-height: 48px;
|
||||
--van-cascader-header-padding: 0 var(--van-padding-md);
|
||||
--van-cascader-title-font-size: var(--van-font-size-lg);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-cell-group-background: var(--van-background-2);
|
||||
--van-cell-group-title-color: var(--van-text-color-2);
|
||||
--van-cell-group-title-padding: var(--van-padding-md) var(--van-padding-md);
|
||||
|
@ -1,6 +1,7 @@
|
||||
@import '../style/mixins/hairline';
|
||||
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-cell-font-size: var(--van-font-size-md);
|
||||
--van-cell-line-height: 24px;
|
||||
--van-cell-vertical-padding: 10px;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-checkbox-size: 20px;
|
||||
--van-checkbox-border-color: var(--van-gray-5);
|
||||
--van-checkbox-duration: var(--van-duration-fast);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-circle-size: 100px;
|
||||
--van-circle-color: var(--van-primary-color);
|
||||
--van-circle-layer-color: var(--van-white);
|
||||
|
@ -1,6 +1,7 @@
|
||||
@import '../style/mixins/hairline';
|
||||
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-collapse-item-duration: var(--van-duration-base);
|
||||
--van-collapse-item-content-padding: var(--van-padding-sm)
|
||||
var(--van-padding-md);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-contact-card-padding: var(--van-padding-md);
|
||||
--van-contact-card-add-icon-size: 40px;
|
||||
--van-contact-card-add-icon-color: var(--van-primary-color);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-contact-edit-padding: var(--van-padding-md);
|
||||
--van-contact-edit-fields-radius: var(--van-radius-md);
|
||||
--van-contact-edit-buttons-padding: var(--van-padding-xl) 0;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-contact-list-padding: var(--van-padding-sm) var(--van-padding-sm) 80px;
|
||||
--van-contact-list-edit-icon-size: 16px;
|
||||
--van-contact-list-add-button-z-index: 999;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-count-down-text-color: var(--van-text-color);
|
||||
--van-count-down-font-size: var(--van-font-size-md);
|
||||
--van-count-down-line-height: var(--van-line-height-md);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-coupon-cell-selected-text-color: var(--van-text-color);
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-coupon-list-background: var(--van-background);
|
||||
--van-coupon-list-field-padding: 5px 0 5px var(--van-padding-md);
|
||||
--van-coupon-list-exchange-button-height: 32px;
|
||||
|
@ -1,6 +1,7 @@
|
||||
@import '../style/mixins/ellipsis';
|
||||
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-coupon-margin: 0 var(--van-padding-sm) var(--van-padding-sm);
|
||||
--van-coupon-content-height: 84px;
|
||||
--van-coupon-content-padding: 14px 0;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-dialog-width: 320px;
|
||||
--van-dialog-small-screen-width: 90%;
|
||||
--van-dialog-font-size: var(--van-font-size-lg);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-divider-margin: var(--van-padding-md) 0;
|
||||
--van-divider-vertical-margin: 0 var(--van-padding-xs);
|
||||
--van-divider-text-color: var(--van-text-color-2);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-dropdown-item-z-index: 10;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-dropdown-menu-height: 48px;
|
||||
--van-dropdown-menu-background: var(--van-background-2);
|
||||
--van-dropdown-menu-shadow: 0 2px 12px rgba(100, 101, 102, 0.12);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-empty-padding: var(--van-padding-xl) 0;
|
||||
--van-empty-image-size: 160px;
|
||||
--van-empty-description-margin-top: var(--van-padding-md);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-field-label-width: 6.2em;
|
||||
--van-field-label-color: var(--van-text-color);
|
||||
--van-field-label-margin-right: var(--van-padding-sm);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-floating-bubble-size: 48px;
|
||||
--van-floating-bubble-initial-gap: 24px;
|
||||
--van-floating-bubble-icon-size: 28px;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-floating-panel-border-radius: 16px;
|
||||
--van-floating-panel-header-height: 30px;
|
||||
--van-floating-panel-z-index: 999;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-grid-item-content-padding: var(--van-padding-md) var(--van-padding-xs);
|
||||
--van-grid-item-content-background: var(--van-background-2);
|
||||
--van-grid-item-content-active-color: var(--van-active-color);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-highlight-tag-color: var(--van-primary-color);
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-image-preview-index-text-color: var(--van-white);
|
||||
--van-image-preview-index-font-size: var(--van-font-size-md);
|
||||
--van-image-preview-index-line-height: var(--van-line-height-md);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-image-placeholder-text-color: var(--van-text-color-2);
|
||||
--van-image-placeholder-font-size: var(--van-font-size-md);
|
||||
--van-image-placeholder-background: var(--van-background);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-index-anchor-z-index: 1;
|
||||
--van-index-anchor-padding: 0 var(--van-padding-md);
|
||||
--van-index-anchor-text-color: var(--van-text-color);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-index-bar-sidebar-z-index: 2;
|
||||
--van-index-bar-index-font-size: var(--van-font-size-xs);
|
||||
--van-index-bar-index-line-height: var(--van-line-height-xs);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-list-text-color: var(--van-text-color-2);
|
||||
--van-list-text-font-size: var(--van-font-size-md);
|
||||
--van-list-text-line-height: 50px;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-loading-text-color: var(--van-text-color-2);
|
||||
--van-loading-text-font-size: var(--van-font-size-md);
|
||||
--van-loading-spinner-color: var(--van-gray-5);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-nav-bar-height: 46px;
|
||||
--van-nav-bar-background: var(--van-background-2);
|
||||
--van-nav-bar-arrow-size: 16px;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-notice-bar-height: 40px;
|
||||
--van-notice-bar-padding: 0 var(--van-padding-md);
|
||||
--van-notice-bar-wrapable-padding: var(--van-padding-xs) var(--van-padding-md);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-notify-text-color: var(--van-white);
|
||||
--van-notify-padding: var(--van-padding-xs) var(--van-padding-md);
|
||||
--van-notify-font-size: var(--van-font-size-md);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-number-keyboard-background: var(--van-gray-2);
|
||||
--van-number-keyboard-key-height: 48px;
|
||||
--van-number-keyboard-key-font-size: 28px;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-overlay-z-index: 1;
|
||||
--van-overlay-background: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-pagination-height: 40px;
|
||||
--van-pagination-font-size: var(--van-font-size-md);
|
||||
--van-pagination-item-width: 36px;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-password-input-height: 50px;
|
||||
--van-password-input-margin: 0 var(--van-padding-md);
|
||||
--van-password-input-font-size: 20px;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-picker-group-background: var(--van-background-2);
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-picker-background: var(--van-background-2);
|
||||
--van-picker-toolbar-height: 44px;
|
||||
--van-picker-title-font-size: var(--van-font-size-lg);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-popover-arrow-size: 6px;
|
||||
--van-popover-radius: var(--van-radius-lg);
|
||||
--van-popover-action-width: 128px;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-popup-background: var(--van-background-2);
|
||||
--van-popup-transition: transform var(--van-duration-base);
|
||||
--van-popup-round-radius: 16px;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-progress-height: 4px;
|
||||
--van-progress-color: var(--van-primary-color);
|
||||
--van-progress-inactive-color: var(--van-gray-5);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-pull-refresh-head-height: 50px;
|
||||
--van-pull-refresh-head-font-size: var(--van-font-size-md);
|
||||
--van-pull-refresh-head-text-color: var(--van-text-color-2);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-radio-size: 20px;
|
||||
--van-radio-dot-size: 8px;
|
||||
--van-radio-border-color: var(--van-gray-5);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-rate-icon-size: 20px;
|
||||
--van-rate-icon-gutter: var(--van-padding-base);
|
||||
--van-rate-icon-void-color: var(--van-gray-5);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-rolling-text-background: inherit;
|
||||
--van-rolling-text-color: var(--van-text-color);
|
||||
--van-rolling-text-font-size: var(--van-font-size-md);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-search-padding: 10px var(--van-padding-sm);
|
||||
--van-search-background: var(--van-background-2);
|
||||
--van-search-content-background: var(--van-background);
|
||||
|
@ -1,6 +1,7 @@
|
||||
@import '../style/mixins/hairline';
|
||||
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-share-sheet-header-padding: var(--van-padding-sm) var(--van-padding-md);
|
||||
--van-share-sheet-title-color: var(--van-text-color);
|
||||
--van-share-sheet-title-font-size: var(--van-font-size-md);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-sidebar-font-size: var(--van-font-size-md);
|
||||
--van-sidebar-line-height: var(--van-line-height-md);
|
||||
--van-sidebar-text-color: var(--van-text-color);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-sidebar-width: 80px;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-signature-padding: var(--van-padding-xs);
|
||||
--van-signature-content-height: 200px;
|
||||
--van-signature-content-background: var(--van-background-2);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-skeleton-avatar-size: 32px;
|
||||
--van-skeleton-avatar-background: var(--van-active-color);
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-skeleton-image-size: 96px;
|
||||
--van-skeleton-image-radius: 24px;
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-skeleton-paragraph-height: 16px;
|
||||
--van-skeleton-paragraph-background: var(--van-active-color);
|
||||
--van-skeleton-paragraph-margin-top: var(--van-padding-sm);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-skeleton-title-width: 40%;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-skeleton-duration: 1.2s;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-slider-active-background: var(--van-primary-color);
|
||||
--van-slider-inactive-background: var(--van-gray-3);
|
||||
--van-slider-disabled-opacity: var(--van-disabled-opacity);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-step-text-color: var(--van-text-color-2);
|
||||
--van-step-active-color: var(--van-primary-color);
|
||||
--van-step-process-text-color: var(--van-text-color);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-stepper-background: var(--van-active-color);
|
||||
--van-stepper-button-icon-color: var(--van-text-color);
|
||||
--van-stepper-button-disabled-color: var(--van-background);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-steps-background: var(--van-background-2);
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-sticky-z-index: 99;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
// Color Palette
|
||||
--van-black: #000;
|
||||
--van-white: #fff;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-submit-bar-height: 50px;
|
||||
--van-submit-bar-z-index: 100;
|
||||
--van-submit-bar-background: var(--van-background-2);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-swipe-indicator-size: 6px;
|
||||
--van-swipe-indicator-margin: var(--van-padding-sm);
|
||||
--van-swipe-indicator-active-opacity: 1;
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-switch-size: 26px;
|
||||
--van-switch-width: calc(1.8em + 4px);
|
||||
--van-switch-height: calc(1em + 4px);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-tabbar-item-font-size: var(--van-font-size-sm);
|
||||
--van-tabbar-item-text-color: var(--van-text-color);
|
||||
--van-tabbar-item-active-color: var(--van-primary-color);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-tabbar-height: 50px;
|
||||
--van-tabbar-z-index: 1;
|
||||
--van-tabbar-background: var(--van-background-2);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-tab-text-color: var(--van-gray-7);
|
||||
--van-tab-active-text-color: var(--van-text-color);
|
||||
--van-tab-disabled-text-color: var(--van-text-color-3);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-tag-padding: 0 var(--van-padding-base);
|
||||
--van-tag-text-color: var(--van-white);
|
||||
--van-tag-font-size: var(--van-font-size-sm);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-text-ellipsis-line-height: 1.6;
|
||||
--van-text-ellipsis-action-color: var(--van-blue);
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-toast-max-width: 70%;
|
||||
--van-toast-font-size: var(--van-font-size-md);
|
||||
--van-toast-text-color: var(--van-white);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-tree-select-font-size: var(--van-font-size-md);
|
||||
--van-tree-select-nav-background: var(--van-background);
|
||||
--van-tree-select-content-background: var(--van-background-2);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-uploader-size: 80px;
|
||||
--van-uploader-icon-size: 24px;
|
||||
--van-uploader-icon-color: var(--van-gray-4);
|
||||
|
@ -1,4 +1,5 @@
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--van-watermark-z-index: 100;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user