mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
feat(CellGroup): cellGroup 组件样式变量化 (#2213)
This commit is contained in:
parent
6d13e10fb5
commit
af62dcfb5f
@ -3,9 +3,9 @@
|
||||
|
||||
.van-cell-group {
|
||||
&__title {
|
||||
padding: 15px 15px 5px;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
.theme(color, '@gray-dark');
|
||||
.theme(padding, '@cell-group-title-padding');
|
||||
.theme(font-size, '@cell-group-title-font-size');
|
||||
.theme(line-height, '@cell-group-title-line-height');
|
||||
.theme(color, '@cell-group-title-color');
|
||||
}
|
||||
}
|
||||
|
@ -139,6 +139,13 @@
|
||||
@cell-large-title-font-size: @font-size-lg;
|
||||
@cell-large-label-font-size: @font-size-md;
|
||||
|
||||
// CellGroup
|
||||
@cell-group-background-color: @white;
|
||||
@cell-group-title-color: @gray-dark;
|
||||
@cell-group-title-padding: @padding-md @padding-md @padding-xs;
|
||||
@cell-group-title-font-size: @font-size-md;
|
||||
@cell-group-title-line-height: 16px;
|
||||
|
||||
// Checkbox
|
||||
@checkbox-size: 20px;
|
||||
@checkbox-border-color: @gray-light;
|
||||
@ -336,4 +343,4 @@
|
||||
@dropdown-menu-title-disabled-text-color: @gray-dark;
|
||||
@dropdown-menu-title-padding: 0 @padding-xs;
|
||||
@dropdown-menu-title-line-height: 18px;
|
||||
@dropdown-menu-option-active-color: @blue;
|
||||
@dropdown-menu-option-active-color: @blue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user