Pass colors to theme closures
This commit is contained in:
parent
1d72dc2699
commit
359252c9b4
1 changed files with 2 additions and 0 deletions
|
|
@ -13,8 +13,10 @@ import negateValue from './negateValue'
|
|||
import * as corePlugins from '../plugins'
|
||||
import configurePlugins from './configurePlugins'
|
||||
import defaultConfig from '../../stubs/defaultConfig.stub'
|
||||
import colors from '../../colors'
|
||||
|
||||
const configUtils = {
|
||||
colors,
|
||||
negative(scale) {
|
||||
return Object.keys(scale)
|
||||
.filter((key) => scale[key] !== '0')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue