Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit dab612c

Browse files
authored
feat(checkbox): Use new mdc-states mixin for checkbox styles (#1672)
1 parent 75eb1bc commit dab612c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demos/checkbox.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
$color: $material-color-red-500;
2727

2828
@include mdc-checkbox-focus-indicator-color($color);
29-
@include mdc-ripple-color($color, $mdc-checkbox-ripple-opacity);
29+
@include mdc-states($color);
3030
@include mdc-checkbox-container-colors(
3131
$unmarked-stroke-color: $color,
3232
$unmarked-fill-color: rgba($color, .25),

packages/mdc-checkbox/mdc-checkbox.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
@include mdc-checkbox-ink-color($mdc-checkbox-mark-color);
2727
@include mdc-checkbox-focus-indicator-color($mdc-checkbox-baseline-theme-color);
2828
@include mdc-ripple-surface;
29-
@include mdc-ripple-color($mdc-checkbox-baseline-theme-color, $mdc-checkbox-ripple-opacity);
29+
@include mdc-states($mdc-checkbox-baseline-theme-color);
3030
@include mdc-ripple-radius($mdc-checkbox-ripple-radius);
3131
@include mdc-checkbox-container-colors();
3232

0 commit comments

Comments
 (0)