Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 002d8bf

Browse files
committed
fix(theming): switch accent palette to use accent hues
closes #969
1 parent 8f937bd commit 002d8bf

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/core/services/theming/theming.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ var DEFAULT_COLOR_TYPE = 'primary';
6161
// A color in a theme will use these hues by default, if not specified by user.
6262
var LIGHT_DEFAULT_HUES = {
6363
'accent': {
64-
'default': '400',
65-
'hue-1': '300',
66-
'hue-2': '800',
67-
'hue-3': 'A100',
64+
'default': 'A700',
65+
'hue-1': 'A200',
66+
'hue-2': 'A400',
67+
'hue-3': 'A100'
6868
}
6969
};
7070
var DARK_DEFAULT_HUES = {
@@ -131,7 +131,7 @@ function ThemingProvider() {
131131

132132
var backgroundImage = getComputedStyle(element).backgroundImage;
133133
if (backgroundImage === 'none' || !backgroundImage) {
134-
backgroundImage = '{}'
134+
backgroundImage = '{}';
135135
}
136136

137137
backgroundImage = backgroundImage

0 commit comments

Comments
 (0)