@dlghq/postcss-dialog
v1.15.0
Published
PostCSS pack for Dialog
Downloads
95
Readme
PostCSS Dialog Preset
Installation
npm install --save-dev postcss
npm install --save-dev @dlghq/postcss-dialog
Usage
postcss([
require('@dlghq/postcss-dialog')({
// options
})
]);
Options
Name | Plugin
--------- | ------------
import
| postcss-import
mixins
| postcss-mixins
env
| postcss-preset-env
modules
| postcss-modules
dedupe
| postcss-discard-duplicates
cssnano
| cssnano
rtl
| rtlcss
debug
| postcss-browser-reporter
report
| postcss-reporter
Set value to false
or null
to disable plugin.
Default values
{
import: {
skipDuplicates: true,
},
mixins: true,
env: {
stage: 3,
features: {
'custom-media-queries': true,
'nesting-rules': true,
'custom-properties': true,
'color-mod-function': { unresolved: 'warn' },
},
},
modules: false,
dedupe: true,
cssnano: {
preset: 'default',
},
rtl: false,
report: true,
debug: false,
}