-
-
Notifications
You must be signed in to change notification settings - Fork 794
feat(css): add support for parsing and formatting the CSS if function #8111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
f166de5
feat(css): if function
ryan-m-walker 27836c2
fix formatter issues
ryan-m-walker f6555f6
add better error handling
ryan-m-walker 22008b0
cleanup
ryan-m-walker 05888a6
fix kind size issue
ryan-m-walker 392d318
cleanup
ryan-m-walker 9d507e8
fix overflow issue
ryan-m-walker 072f986
clean up and better documentation
ryan-m-walker 373cec6
clean up
ryan-m-walker d262308
add changeset
ryan-m-walker ca354bb
improve changeset message
ryan-m-walker 21e12e9
clean up error handling
ryan-m-walker cc6a1da
fix up error tests
ryan-m-walker fd89907
improve error recovery
ryan-m-walker 68f0fcc
fix lint issues
ryan-m-walker a82903c
update changeset
ryan-m-walker e1460ae
Update crates/biome_css_parser/src/syntax/value/if.rs
ryan-m-walker 681bbea
Update crates/biome_css_parser/src/syntax/value/if.rs
ryan-m-walker ba79234
fix wrong error message handler
ryan-m-walker c4057ec
Merge branch 'biomejs:main' into feat/css-if
ryan-m-walker c21521a
Merge remote-tracking branch 'origin/feat/css-if' into feat/css-if
ryan-m-walker 4ac9b9b
fix lint issues and bump issue
ryan-m-walker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| --- | ||
| "@biomejs/biome": patch | ||
| --- | ||
|
|
||
| Added support for parsing and formatting the [CSS if function](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/if). | ||
|
|
||
| ***Example*** | ||
|
|
||
| ``` css | ||
| .basic-style { | ||
| color: if(style(--scheme: dark): #eeeeee; else: #000000;); | ||
| } | ||
| ``` | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.