mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-5337 fix: checkbox color (#2781)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user