diff --git a/package-lock.json b/package-lock.json index ca96271..95468ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,7 +45,6 @@ "glob": "^11.0.0", "lightningcss": "^1.28.2", "plop": "^4.0.1", - "postcss-color-contrast": "^1.1.0", "sass-embedded": "^1.82.0", "storybook": "^8.4.7", "storybook-dark-mode": "^4.0.2", @@ -9833,19 +9832,6 @@ "node": "^10 || ^12 || >=14" } }, - "node_modules/postcss-color-contrast": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/postcss-color-contrast/-/postcss-color-contrast-1.1.0.tgz", - "integrity": "sha512-NYZcZf+D70RlM71cTBl7Vkz+ZmHY5iik0BXmG089GnVv0iAEODhXqQDdH8LVBPQANLKV/ZcW0y4nVtOoFk4d2g==", - "dev": true, - "license": "MIT", - "dependencies": { - "postcss-value-parser": "^4.2.0" - }, - "peerDependencies": { - "postcss": "*" - } - }, "node_modules/postcss-load-config": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz", diff --git a/package.json b/package.json index 1b27d9d..5109895 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,6 @@ "vite-css-modules": "^1.6.0", "typescript-plugin-css-modules": "^5.0.1", "sass-embedded": "^1.82.0", - "postcss-color-contrast": "^1.1.0", "lightningcss": "^1.28.2", "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1" diff --git a/package.json.js b/package.json.js index ae03545..ad78301 100644 --- a/package.json.js +++ b/package.json.js @@ -128,7 +128,6 @@ const packageConfig = { 'vite-css-modules': '^1.6.0', 'typescript-plugin-css-modules': '^5.0.1', 'sass-embedded': '^1.82.0', - 'postcss-color-contrast': '^1.1.0', 'lightningcss': '^1.28.2', // React diff --git a/src/docs/Colors.mdx b/src/docs/Colors.mdx index 85b5bc3..599e940 100644 --- a/src/docs/Colors.mdx +++ b/src/docs/Colors.mdx @@ -2,7 +2,6 @@ import cx from 'classnames/dedupe'; import { Meta, Unstyled } from '@storybook/blocks'; -import colorContrast from 'postcss-color-contrast/js'; import { colorsByCategory } from '../styling/variables.ts'; import { H4, H5 } from '../typography/Heading/Heading.tsx'; @@ -38,9 +37,7 @@ Primitive color tokens are the basic color definitions which are not dependent o