0.2.1 • Published 1 year ago

@yme/postcss v0.2.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@yme/postcss

based on mantine-ui postcss-preset-mantine

module.export = {
  plugins: {
    '@yme/postcss': {
      // replace theme('primary') to var(--theme-primary)
      getVariable: ((value) => `var(--theme-${value})`),

      // default unit scale and base font size
      converters: { varScale = '--unit-scale', fontSize = 16 },

      // custom mixins
      mixins: {}
    }
  }
}