Skip to content

Commit

Permalink
fix(checkbox): Use secondary and on-secondary as default colors
Browse files Browse the repository at this point in the history
Previously, the secondary color was by default used for the background
of the checkbox and on-primary was used for the color of the checkmark.

Fixes #5730
  • Loading branch information
Zach Posten committed Mar 19, 2020
1 parent a88c8e4 commit b95172e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mdc-checkbox/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
@use "@material/theme/variables" as theme-variables;
@use "@material/density/variables" as density-variables;

$mark-color: theme-variables.prop-value(on-primary) !default;
$baseline-theme-color: secondary !default;
$mark-color: theme-variables.prop-value(on-secondary) !default;
$border-color: rgba(theme-variables.prop-value(on-surface), .54) !default;
$disabled-color: rgba(theme-variables.prop-value(on-surface), .38) !default;
$baseline-theme-color: secondary !default;

$ripple-size: 40px !default;
$icon-size: 18px !default;
Expand Down

0 comments on commit b95172e

Please sign in to comment.