Skip to content

Commit

Permalink
Pass colors to theme closures
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Jun 19, 2021
1 parent 1d72dc2 commit 359252c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/util/resolveConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 359252c

Please sign in to comment.