Skip to content

Commit 324a620

Browse files
committed
drop importFrom in postcss custom-media-queries
1 parent d8c8544 commit 324a620

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

css/content.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import url("open-props/media.min.css");
2+
13
.content {
24
max-inline-size: 80ch;
35
font-size: var(--font-size-2);

css/global.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import url("@oddbird/popover-polyfill/dist/popover.css");
22
@import url("open-props");
33
@import url("open-props/normalize.min.css");
4+
@import url("open-props/media.min.css");
45

56
:root {
67
--brand: #1eccea;

css/index.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import url("open-props/media.min.css");
2+
13
main,
24
body > footer {
35
inline-size: 100vw;

postcss.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ module.exports = {
2323
"color-functional-notation": false,
2424
"custom-media-queries": {
2525
preserve: false,
26-
importFrom: ["node_modules/open-props/media.min.css"],
2726
},
2827
},
2928
}),

0 commit comments

Comments
 (0)