Rename styles to theme

This commit is contained in:
Adam Wathan 2019-01-31 19:44:19 -05:00
parent 3fbd6b300a
commit efc7927078
3 changed files with 4 additions and 4 deletions

View File

@ -439,7 +439,7 @@ ul {
*::after {
border-width: 0;
border-style: solid;
border-color: config('styles.borderColors.default', currentColor);
border-color: config('theme.borderColors.default', currentColor);
}
/**

View File

@ -763,7 +763,7 @@ module.exports = {
'lg': '992px',
'xl': '1200px',
},
styles: styles,
theme: styles,
variants: {
appearance: ['responsive'],
backgroundAttachment: ['responsive'],

View File

@ -49,11 +49,11 @@ import whitespace from './plugins/whitespace'
import width from './plugins/width'
import zIndex from './plugins/zIndex'
function loadPlugins({ styles, variants, corePlugins }, plugins) {
function loadPlugins({ theme, variants, corePlugins }, plugins) {
return Object.keys(plugins)
.filter(plugin => corePlugins[plugin] !== false)
.map(plugin => plugins[plugin]({
values: styles[plugin],
values: theme[plugin],
variants: variants[plugin],
}))
}