Skip to content

Commit

Permalink
fix(theme): Make $mdc-theme-on-error dark if $mdc-theme-error is light (
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow-light authored and williamernest committed Oct 9, 2018
1 parent ccbd6d6 commit 5b1348c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mdc-theme/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $mdc-theme-surface: #fff !default;
$mdc-theme-on-surface: if(mdc-theme-contrast-tone($mdc-theme-surface) == "dark", #000, #fff) !default;

$mdc-theme-error: #b00020 !default;
$mdc-theme-on-error: #fff !default;
$mdc-theme-on-error: if(mdc-theme-contrast-tone($mdc-theme-error) == "dark", #000, #fff) !default;

//
// Text colors according to light vs dark and text type.
Expand Down

0 comments on commit 5b1348c

Please sign in to comment.