Skip to content

Commit bf1a836

Browse files
ryan-m-walkerdyc3
andauthored
feat(css): add support for parsing and formatting the CSS if function (#8111)
Co-authored-by: Carson McManus <[email protected]>
1 parent e0a02bf commit bf1a836

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+33497
-8064
lines changed

.changeset/seven-words-trade.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"@biomejs/biome": patch
3+
---
4+
5+
Added support for parsing and formatting the [CSS if function](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/if).
6+
7+
***Example***
8+
9+
``` css
10+
.basic-style {
11+
color: if(style(--scheme: dark): #eeeeee; else: #000000;);
12+
}
13+
```

crates/biome_css_factory/src/generated/node_factory.rs

Lines changed: 193 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)