@dlghq/postcss-dialog

PostCSS pack for Dialog

Stats

StarsIssuesVersionUpdatedCreatedSize
@dlghq/postcss-dialog
111.15.02 years ago5 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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.