Skip to content

Commit 98b53a4

Browse files
committed
feat: add more example fixtures for testing
1 parent baa2ec8 commit 98b53a4

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

examples/basics/local.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ body {
1414
.container {
1515
width: var(--container-size);
1616
padding: var(--container-padding);
17+
background-color: var(--test-custom-selector);
1718
}

examples/basics/theme.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,15 @@
1313
--container-padding: 1rem;
1414
}
1515
}
16+
17+
/* CSS with new at-rules */
18+
19+
@custom-selector :--root :root, :after, :before;
20+
21+
@layer variables {
22+
@layer colors {
23+
:--root {
24+
--test-custom-selector: rgba(17, 17, 17, 1);
25+
}
26+
}
27+
}

0 commit comments

Comments
 (0)