Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 5f8dd45

Browse files
Updating postcss-values-parser (#16)
* Updating values parser * Adding test cases
1 parent 74fc649 commit 5f8dd45

File tree

5 files changed

+25
-1
lines changed

5 files changed

+25
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"node": ">=12"
2727
},
2828
"dependencies": {
29-
"postcss-values-parser": "6.0.0"
29+
"postcss-values-parser": "6.0.1"
3030
},
3131
"peerDependencies": {
3232
"postcss": "^8.3"

test/basic.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ body {
88
order: 2;
99
}
1010
}
11+
12+
@media (width > env(--another-custom-width)) {
13+
body {
14+
order: 3;
15+
}
16+
}

test/basic.expect.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ body {
88
order: 2;
99
}
1010
}
11+
12+
@media (width > env(--another-custom-width)) {
13+
body {
14+
order: 3;
15+
}
16+
}

test/basic.import-is-empty.expect.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ body {
88
order: 2;
99
}
1010
}
11+
12+
@media (width > env(--another-custom-width)) {
13+
body {
14+
order: 3;
15+
}
16+
}

test/basic.import.expect.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ body {
88
order: 2;
99
}
1010
}
11+
12+
@media (width > 600px) {
13+
body {
14+
order: 3;
15+
}
16+
}

0 commit comments

Comments
 (0)