postcss-preset-mantine
Advanced tools
Comparing version 1.13.0 to 1.14.0
@@ -9,2 +9,3 @@ "use strict"; | ||
const theme = require('./postcss-mantine-theme'); | ||
const autorem = require('./auto-rem'); | ||
function colorSchemeMixin(colorScheme, type = 'default') { | ||
@@ -112,3 +113,7 @@ if (type === 'where') { | ||
}); | ||
module.exports = () => { | ||
module.exports = (options = {}) => { | ||
const plugins = []; | ||
if (options.autoRem) { | ||
plugins.push(autorem()); | ||
} | ||
return { | ||
@@ -122,2 +127,3 @@ postcssPlugin: 'postcss-preset-mantine', | ||
remEm(), | ||
...plugins, | ||
mixins({ | ||
@@ -124,0 +130,0 @@ mixins: { |
{ | ||
"name": "postcss-preset-mantine", | ||
"version": "1.13.0", | ||
"version": "1.14.0", | ||
"description": "PostCSS preset for Mantine (7.0+) applications", | ||
@@ -62,3 +62,3 @@ "main": "dist/preset.js", | ||
"license": "MIT", | ||
"packageManager": "yarn@4.0.2" | ||
"packageManager": "yarn@4.1.1" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35305
18
517