-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(editor): upgrading twind to support new tailwind 3 syntax (#6024)
This PR upgrades [twind](https://twind.style/) to its latest version, adjusts the initialization code, and enables support for Tailwind's dynamic class names: <video src="https://github.com/concrete-utopia/utopia/assets/7003853/49a8ff00-524d-4fb4-a1c7-9b852ce6f628"></video> **Manual Tests:** I hereby swear that: - [X] I opened a hydrogen project and it loaded - [X] I could navigate to various routes in Preview mode
- Loading branch information
Showing
3 changed files
with
107 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -161,6 +161,9 @@ | |
"@stitches/react": "1.2.8", | ||
"@svgr/plugin-jsx": "5.5.0", | ||
"@tippyjs/react": "4.1.0", | ||
"@twind/core": "1.1.3", | ||
"@twind/preset-autoprefix": "1.0.7", | ||
"@twind/preset-tailwind": "1.1.4", | ||
"@types/fontfaceobserver": "0.0.6", | ||
"@types/lodash.findlastindex": "4.6.7", | ||
"@types/react-syntax-highlighter": "11.0.4", | ||
|
@@ -271,7 +274,6 @@ | |
"string-hash": "1.1.3", | ||
"strip-ansi": "6.0.0", | ||
"tippy.js": "6.2.6", | ||
"twind": "0.16.16", | ||
"typescript": "5.2.2", | ||
"typescript-for-the-editor": "npm:[email protected]", | ||
"url-join": "4.0.1", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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