CB-5337 fix: checkbox color (#2781)

This commit is contained in:
Alexey
2024-07-16 18:25:28 +03:00
committed by GitHub
parent 87cd84881d
commit f5149c6324
2 changed files with 8 additions and 1 deletions
@@ -58,6 +58,13 @@ $mdc-checkbox-icon-size: 16px;
@include mdc-checkbox-container-colors($mdc-theme-surface, transparent, $mdc-theme-surface, $mdc-theme-surface);
}
.theme-checkbox_on_primary {
$mdc-checkbox-mark-color: $mdc-theme-primary;
@include mdc-checkbox-ink-color($mdc-checkbox-mark-color, $query);
@include mdc-checkbox-disabled-ink-color(rgba($mdc-checkbox-mark-color, 0.5), $query);
@include mdc-checkbox-container-colors($mdc-theme-on-primary, transparent, $mdc-theme-on-primary, $mdc-theme-on-primary);
}
.theme-checkbox_small {
@include mdc-checkbox-density(-3);
}
@@ -6,5 +6,5 @@
* you may not use this file except in compliance with the License.
*/
.checkbox {
composes: theme-checkbox_surface from global;
composes: theme-checkbox_on_primary from global;
}