Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix(theming): switch accent palette to use accent hues
Browse files Browse the repository at this point in the history
closes #969
  • Loading branch information
rschmukler committed Jan 7, 2015
1 parent 8f937bd commit 002d8bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/services/theming/theming.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ var DEFAULT_COLOR_TYPE = 'primary';
// A color in a theme will use these hues by default, if not specified by user.
var LIGHT_DEFAULT_HUES = {
'accent': {
'default': '400',
'hue-1': '300',
'hue-2': '800',
'hue-3': 'A100',
'default': 'A700',
'hue-1': 'A200',
'hue-2': 'A400',
'hue-3': 'A100'
}
};
var DARK_DEFAULT_HUES = {
Expand Down Expand Up @@ -131,7 +131,7 @@ function ThemingProvider() {

var backgroundImage = getComputedStyle(element).backgroundImage;
if (backgroundImage === 'none' || !backgroundImage) {
backgroundImage = '{}'
backgroundImage = '{}';
}

backgroundImage = backgroundImage
Expand Down

0 comments on commit 002d8bf

Please sign in to comment.