Skip to content

Commit 359252c

Browse files
committed
Pass colors to theme closures
1 parent 1d72dc2 commit 359252c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/util/resolveConfig.js

+2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ import negateValue from './negateValue'
1313
import * as corePlugins from '../plugins'
1414
import configurePlugins from './configurePlugins'
1515
import defaultConfig from '../../stubs/defaultConfig.stub'
16+
import colors from '../../colors'
1617

1718
const configUtils = {
19+
colors,
1820
negative(scale) {
1921
return Object.keys(scale)
2022
.filter((key) => scale[key] !== '0')

0 commit comments

Comments
 (0)