Refactor
This commit is contained in:
parent
f7c0654b9b
commit
3ca03b3fba
3 changed files with 7 additions and 4 deletions
|
@ -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 },
|
||||
]
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue