Skip to content

Commit

Permalink
feat(theme): Allow overriding of text themes (#1481)
Browse files Browse the repository at this point in the history
  • Loading branch information
gline9 authored and acdvorak committed Nov 3, 2017
1 parent 3b5f9a6 commit f579e0a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/mdc-theme/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ $mdc-theme-background: #fff !default; // White
// Which set of text colors to use for each main theme color (light or dark).
//

$mdc-theme-primary-tone: mdc-theme-light-or-dark($mdc-theme-primary);
$mdc-theme-primary-light-tone: mdc-theme-light-or-dark($mdc-theme-primary-light);
$mdc-theme-primary-dark-tone: mdc-theme-light-or-dark($mdc-theme-primary-dark);
$mdc-theme-primary-tone: mdc-theme-light-or-dark($mdc-theme-primary) !default;
$mdc-theme-primary-light-tone: mdc-theme-light-or-dark($mdc-theme-primary-light) !default;
$mdc-theme-primary-dark-tone: mdc-theme-light-or-dark($mdc-theme-primary-dark) !default;

$mdc-theme-secondary-tone: mdc-theme-light-or-dark($mdc-theme-secondary);
$mdc-theme-secondary-light-tone: mdc-theme-light-or-dark($mdc-theme-secondary-light);
$mdc-theme-secondary-dark-tone: mdc-theme-light-or-dark($mdc-theme-secondary-dark);
$mdc-theme-secondary-tone: mdc-theme-light-or-dark($mdc-theme-secondary) !default;
$mdc-theme-secondary-light-tone: mdc-theme-light-or-dark($mdc-theme-secondary-light) !default;
$mdc-theme-secondary-dark-tone: mdc-theme-light-or-dark($mdc-theme-secondary-dark) !default;

$mdc-theme-background-tone: mdc-theme-light-or-dark($mdc-theme-background);
$mdc-theme-background-tone: mdc-theme-light-or-dark($mdc-theme-background) !default;

//
// Text colors according to light vs dark and text type.
Expand All @@ -68,7 +68,7 @@ $mdc-theme-text-colors: (
disabled: rgba(white, .5),
icon: rgba(white, .5)
)
);
) !default;

//
// Primary text colors for each of the theme colors.
Expand Down

0 comments on commit f579e0a

Please sign in to comment.