Skip to content

Commit e97f66c

Browse files
committed
build: removes usage of postcss-color-function
1 parent 5222551 commit e97f66c

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

packages/uui-css/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@
3434
},
3535
"scripts": {
3636
"build": "npm run build:cssprops && tsc --build && rollup -c rollup.config.js",
37-
"build:cssprops": "npm run postcss:convert && npm run postcss:colors && npm run custom-properties-cache",
37+
"build:cssprops": "npm run postcss:convert && npm run custom-properties-cache",
3838
"postcss:convert": "postcss lib/custom-properties.css -o dist/custom-properties.css",
39-
"postcss:colors": "postcss dist/custom-properties.css -u postcss-color-function -o dist/custom-properties.css",
4039
"clean": "tsc --build --clean && rimraf -g dist lib/*.js lib/**/*.js *.tgz lib/**/*.d.ts custom-elements.json custom-properties.*",
4140
"analyze": "web-component-analyzer **/*.element.ts --outFile custom-elements.json",
4241
"custom-properties-cache": "node ./scripts/update-custom-properties-cache.js"

packages/uui-css/postcss.config.cjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
const config = {
33
plugins: [
44
require('postcss-advanced-variables'),
5-
require('postcss-color-function'),
65
require('postcss-url'),
76
require('autoprefixer'),
87
],

postcss.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ module.exports = () => {
22
return {
33
plugins: {
44
'postcss-advanced-variables': {},
5-
'postcss-color-function': {},
65
},
76
};
87
};

0 commit comments

Comments
 (0)