This commit is contained in:
syuilo
2017-02-22 21:43:38 +09:00
parent f7c0654b9b
commit 3ca03b3fba
3 changed files with 7 additions and 4 deletions

View File

@ -22,7 +22,7 @@ module.exports = (commit, env) => {
exclude: /node_modules/,
loader: StringReplacePlugin.replace({
replacements: [
{ pattern: /\$theme\-color\-foreground/g, replacement: () => '#fff' },
{ pattern: /\$theme\-color\-foreground/g, replacement: () => constants.themeColorForeground },
{ pattern: /\$theme\-color/g, replacement: () => constants.themeColor },
]
})