Skip to content

Commit

Permalink
fix(checkbox): Update to match new colors (#2622)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamernest authored Apr 21, 2018
1 parent e164a24 commit 68f4ad0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions packages/mdc-checkbox/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@
// limitations under the License.
//

$mdc-checkbox-mark-color: white !default;
$mdc-checkbox-border-color: rgba(black, .54) !default;
$mdc-checkbox-disabled-color: rgba(black, .26) !default;
$mdc-checkbox-baseline-theme-color: secondary !default;
@import "@material/theme/variables";

$mdc-checkbox-mark-color: mdc-theme-prop-value(on-primary);
$mdc-checkbox-border-color: rgba(mdc-theme-prop-value(on-surface), .54);
$mdc-checkbox-disabled-color: rgba(mdc-theme-prop-value(on-surface), .26);
$mdc-checkbox-baseline-theme-color: secondary;

$mdc-checkbox-touch-area: 40px;
$mdc-checkbox-size: 18px;
Expand Down
2 changes: 1 addition & 1 deletion packages/mdc-checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"@material/animation": "^0.34.0",
"@material/base": "^0.34.0",
"@material/ripple": "^0.34.1",
"@material/selection-control": "^0.34.1",
"@material/rtl": "^0.34.0",
"@material/selection-control": "^0.34.1",
"@material/theme": "^0.34.0"
}
}

0 comments on commit 68f4ad0

Please sign in to comment.