Skip to content

Commit 246c51a

Browse files
committed
postcss-progressive-custom-properties
1 parent ec13c83 commit 246c51a

5 files changed

Lines changed: 6 additions & 13 deletions

File tree

plugins/postcss-progressive-custom-properties/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changes to PostCSS Progressive Custom Properties
22

3+
### Unreleased (patch)
4+
5+
- Remove redundant match for `contrast-color( <color> )`;
6+
37
### 4.2.0
48

59
_August 22, 2025_

plugins/postcss-progressive-custom-properties/dist/index.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

plugins/postcss-progressive-custom-properties/dist/index.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

plugins/postcss-progressive-custom-properties/scripts/contrast-color.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export const contrastColorMatchers = [
77
'sniff': 'contrast-color(',
88
'matchers': [
99
matcherForValue('contrast-color($1)'),
10-
matcherForValue('contrast-color($1)'),
1110
],
1211
},
1312
];

plugins/postcss-progressive-custom-properties/src/matchers.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3321,16 +3321,6 @@ export const matchers = [
33213321
"property": "color",
33223322
"sniff": "contrast-color(",
33233323
"matchers": [
3324-
{
3325-
"type": "function",
3326-
"value": "contrast-color",
3327-
"nodes": [
3328-
{
3329-
"type": "word",
3330-
"isVariable": true
3331-
}
3332-
]
3333-
},
33343324
{
33353325
"type": "function",
33363326
"value": "contrast-color",

0 commit comments

Comments
 (0)