@dlghq/postcss-dialog

PostCSS pack for Dialog

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@dlghq/postcss-dialog
1.15.03 years ago6 years agoMinified + gzip package size for @dlghq/postcss-dialog in KB

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,
}

License

Apache-2.0