mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
style(theme-chalk): [checkbox-button] add disabled+checked visual distinction (#23665)
This commit is contained in:
@@ -98,6 +98,12 @@
|
||||
map.get($button, 'disabled-border-color')
|
||||
);
|
||||
}
|
||||
|
||||
@include when(checked) {
|
||||
.#{$namespace}-checkbox-button__inner {
|
||||
background-color: getCssVar('checkbox-button-disabled-checked-fill');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
|
||||
@@ -297,6 +297,7 @@ $checkbox-button: map.merge(
|
||||
'checked-bg-color': getCssVar('color-primary'),
|
||||
'checked-text-color': getCssVar('color-white'),
|
||||
'checked-border-color': getCssVar('color-primary'),
|
||||
'disabled-checked-fill': getCssVar('border-color-extra-light'),
|
||||
),
|
||||
$checkbox-button
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user