postcss-preset-mantine
Advanced tools
Comparing version 1.3.0 to 1.4.0
{ | ||
"name": "postcss-preset-mantine", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "PostCSS preset for Mantine (7.0+) applications", | ||
"main": "preset.js", | ||
"main": "dist/preset.js", | ||
"types": "dist/types/preset.d.ts", | ||
"peerDependencies": { | ||
"postcss": "^8.4.21" | ||
"postcss": "^8.4.24" | ||
}, | ||
@@ -14,7 +15,16 @@ "dependencies": { | ||
"devDependencies": { | ||
"eslint": "^8.39.0", | ||
"postcss": "^8.4.21" | ||
"@types/postcss-mixins": "^9.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.59.9", | ||
"@typescript-eslint/parser": "^5.59.9", | ||
"eslint": "^8.42.0", | ||
"postcss": "^8.4.24", | ||
"tsc": "^2.0.4", | ||
"typescript": "^5.1.3" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"build": "tsc --project tsconfig.json", | ||
"lint": "eslint src", | ||
"typecheck": "tsc --noEmit", | ||
"test": "npm run typecheck && npm run lint", | ||
"prepublish": "npm run build" | ||
}, | ||
@@ -21,0 +31,0 @@ "repository": { |
# postcss-preset-mantine | ||
Mantine PostCSS preset | ||
[Documentation](http://mantine.dev/styles/postcss-preset) | ||
## Installation | ||
```sh | ||
yarn add --dev postcss postcss-preset-mantine postcss-simple-vars | ||
``` | ||
## Usage | ||
Add `postcss-preset-mantine` to your `postcss.config.js` config: | ||
```js | ||
module.exports = { | ||
plugins: { | ||
'postcss-preset-mantine': {}, | ||
'postcss-simple-vars': { | ||
variables: { | ||
'mantine-breakpoint-xs': '36em', | ||
'mantine-breakpoint-sm': '48em', | ||
'mantine-breakpoint-md': '62em', | ||
'mantine-breakpoint-lg': '75em', | ||
'mantine-breakpoint-xl': '88em', | ||
}, | ||
}, | ||
}, | ||
}; | ||
``` | ||
## License | ||
MIT License |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
9109
188
1
35
7
1