Skip to content

Commit

Permalink
feat(checkbox): Use new mdc-states mixin for checkbox styles (#1672)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfranqueiro committed Dec 5, 2017
1 parent 75eb1bc commit dab612c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demos/checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
$color: $material-color-red-500;

@include mdc-checkbox-focus-indicator-color($color);
@include mdc-ripple-color($color, $mdc-checkbox-ripple-opacity);
@include mdc-states($color);
@include mdc-checkbox-container-colors(
$unmarked-stroke-color: $color,
$unmarked-fill-color: rgba($color, .25),
Expand Down
2 changes: 1 addition & 1 deletion packages/mdc-checkbox/mdc-checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@include mdc-checkbox-ink-color($mdc-checkbox-mark-color);
@include mdc-checkbox-focus-indicator-color($mdc-checkbox-baseline-theme-color);
@include mdc-ripple-surface;
@include mdc-ripple-color($mdc-checkbox-baseline-theme-color, $mdc-checkbox-ripple-opacity);
@include mdc-states($mdc-checkbox-baseline-theme-color);
@include mdc-ripple-radius($mdc-checkbox-ripple-radius);
@include mdc-checkbox-container-colors();

Expand Down

0 comments on commit dab612c

Please sign in to comment.