style(theme-chalk): [checkbox-button] add disabled+checked visual distinction (#23665)

This commit is contained in:
Noblet Ouways
2026-02-25 04:29:44 +01:00
committed by GitHub
parent e35eb5ad3f
commit bd450fb409
2 changed files with 7 additions and 0 deletions

View File

@@ -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 {

View File

@@ -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
);