-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix display of color swatches using new v4 oklch color palette (#1073)
The new oklch color palette doesn't show swatches in some cases due to how we were detecting fallback values for CSS variables. I've made the code much more general and it should be able to handle any number of CSS var fallbacks regardless of how its nested. --------- Co-authored-by: Robin Malfait <[email protected]>
- Loading branch information
1 parent
9be9123
commit 8a39555
Showing
23 changed files
with
204 additions
and
172 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
108 changes: 48 additions & 60 deletions
108
packages/tailwindcss-language-server/tests/fixtures/v4/auto-content-split/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
packages/tailwindcss-language-server/tests/fixtures/v4/auto-content-split/package.json
This file contains 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"dependencies": { | ||
"tailwindcss": "^4.0.0-alpha.25", | ||
"@tailwindcss/oxide": "^4.0.0-alpha.25" | ||
"tailwindcss": "^4.0.0-alpha.30", | ||
"@tailwindcss/oxide": "^4.0.0-alpha.30" | ||
} | ||
} |
Oops, something went wrong.