Skip to content

Commit 323d49d

Browse files
committed
expanded the breakpoints definition
1 parent 7b2501f commit 323d49d

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
@let small: (max-width: 599px);
1+
@let small (max-width: 599px);
2+
@let medium (min-width: 600px) and (max-width: 959px);
3+
@let large (min-width: 960px);

test/test-cases/constants/expected.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,8 @@
1313
background: white;
1414
}
1515
}
16+
@media (min-width: 600px) and (max-width: 959px) {
17+
._constants_source__foo {
18+
background: peru;
19+
}
20+
}

test/test-cases/constants/source.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@let borders: "./borders.css", breakpoints: "./breakpoints.css";
2-
@-import small from breakpoints;
2+
@-import small, medium from breakpoints;
33
@import secondary, primary as blue from "./colors.css";
44

55
.foo {
@@ -13,3 +13,8 @@
1313
background: white;
1414
}
1515
}
16+
@media medium {
17+
.foo {
18+
background: peru;
19+
}
20+
}

0 commit comments

Comments
 (0)