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.7.0 to 1.8.0

6

dist/postcss-light-dark.js

@@ -38,3 +38,3 @@ "use strict";

root.walkDecls((decl) => {
const { value, prop } = decl;
const { value } = decl;
const regex = /\blight-dark\b/;

@@ -44,5 +44,5 @@ if (regex.test(value)) {

const darkMixin = (0, postcss_1.atRule)({ name: 'mixin', params: 'dark' });
darkMixin.append((0, postcss_1.decl)({ prop, value: darkVal }));
darkMixin.append(decl.clone({ value: darkVal }));
decl.parent?.insertAfter(decl, darkMixin);
decl.parent?.insertAfter(decl, (0, postcss_1.decl)({ prop, value: lightVal }));
decl.parent?.insertAfter(decl, decl.clone({ value: lightVal }));
decl.remove();

@@ -49,0 +49,0 @@ }

{
"name": "postcss-preset-mantine",
"version": "1.7.0",
"version": "1.8.0",
"description": "PostCSS preset for Mantine (7.0+) applications",

@@ -16,7 +16,7 @@ "main": "dist/preset.js",

"@types/jest": "^29.5.2",
"@types/node": "^20.2.6",
"@types/node": "^20.3.1",
"@types/postcss-mixins": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"eslint": "^8.42.0",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"eslint": "^8.43.0",
"jest": "^29.5.0",

@@ -23,0 +23,0 @@ "postcss": "^8.4.24",

Sorry, the diff of this file is not supported yet

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