Closed ajlond123 closed 7 years ago
Show me your PostCSS config
module.exports = {
plugins: [
require('postcss-import'),
require('postcss-mixins'),
require('postcss-simple-vars'),
require('postcss-extend'),
require('postcss-cssnext')({
browsers: ['last 2 versions', '> 5%'],
features: {
customProperties : {
warnings: false
}
},
warnForDuplicates: false
}),
require('postcss-short-color'),
require('postcss-pxtorem')({
propWhiteList: ['font-size', 'letter-spacing', 'line-height'],
mediaQuery: 0
}),
require('lost'),
require('mdcss')
]
};
You don’t have postcss-nested
plugin to support .theme-dark &
. postcss-nesting
is postcss-cssnext
has different API.
Thanks!
There seems to be an issue with using ampersand parent selectors inside of mixins. Please see examples below.
Mixin
Input
Output
Expected Output