Move screens into theme config
This commit is contained in:
parent
f8ddb7696c
commit
ec1bdd27ec
8 changed files with 72 additions and 44 deletions
|
|
@ -24,7 +24,7 @@ function extractMinWidths(breakpoints) {
|
|||
|
||||
module.exports = function(options) {
|
||||
return function({ addComponents, config }) {
|
||||
const screens = _.get(options, 'screens', config('screens'))
|
||||
const screens = _.get(options, 'screens', config('theme.screens'))
|
||||
|
||||
const minWidths = extractMinWidths(screens)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue