File tree Expand file tree Collapse file tree 5 files changed +19
-5
lines changed
.dev-assets/syntax-issues Expand file tree Collapse file tree 5 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * AT IMPORT
3+ */
4+
5+ /* new syntax rules for @import have no syntax highlighting */
16@import url ("green.css" ) layer suppor ts(selector(& )) (min-width : calc (10px ));
27
38/* layer as a function */
4- @import url ("green.css" ) layer(bar) suppor ts(selector(& )) (min-width : calc (10px ));
9+ @import url ("green.css" ) layer(bar) suppor ts(selector(& ))
10+ (min-width : calc (10px ));
Original file line number Diff line number Diff line change 22 * AT LAYER
33 */
44
5+ /* layer name has no syntax highlighting */
56.foo {
67 @layer base {
78 block-size : 100% ;
Original file line number Diff line number Diff line change 33 */
44
55/* Missing token for `prefers-reduced-motion: reduce` */
6- @media (prefers-reduced-motion : reduce) {}
6+ @media (prefers-reduced-motion : reduce) {
7+ }
Original file line number Diff line number Diff line change 22 * GRID PLACEMENT SLASH
33 */
44
5+ /* Property value slash doesn't have its own syntax highlighting */
56.example {
67 grid-row : 1 / 3 ;
78 grid-column : 1 / -1 ;
Original file line number Diff line number Diff line change 1- .item > div : nth-child (1 of : not (.hidden )) {
1+ /**
2+ * OF :NOT
3+ */
4+
5+ /* `of` and trailing grammar has no syntax highlighting */
6+ .item > div : nth-child (1 of : not (.hidden )) {
27 padding-left : var (--item_margin );
38}
4-
59.item > div : nth-last-child (1 of : not (.hidden )) {
610 padding-right : var (--item_margin );
711}
812
13+ /* Same as above, but using CSS Nesting formatting */
914.item {
1015 & > div {
11- & : nth-child (1 of : not (.hidden )) {
16+ & : nth-child (1 of : not (.hidden )) {
1217 padding-left : var (--item_margin );
1318 }
1419 & : nth-last-child (1 of : not (.hidden )) {
You can’t perform that action at this time.
0 commit comments