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

Make $mdc-theme-on-error dark if $mdc-theme-error is light #3678

Merged
merged 6 commits into from
Oct 9, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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