Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-preset-mantine

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-preset-mantine - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

dist/postcss-light-dark.js

22

package.json
{
"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
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc