This repository was archived by the owner on May 15, 2026. It is now read-only.
chore(deps): update dependency twin.macro to v3 - #64
Closed
renovate[bot] wants to merge 1 commit into
Closed
Conversation
renovate
Bot
force-pushed
the
renovate/twin.macro-3.x
branch
from
March 12, 2023 11:31
d60b54d to
aef0766
Compare
renovate
Bot
force-pushed
the
renovate/twin.macro-3.x
branch
from
March 31, 2023 05:40
aef0766 to
669988b
Compare
renovate
Bot
force-pushed
the
renovate/twin.macro-3.x
branch
from
April 17, 2023 10:17
669988b to
33f3dcb
Compare
renovate
Bot
force-pushed
the
renovate/twin.macro-3.x
branch
from
July 25, 2023 10:31
33f3dcb to
3bc8d75
Compare
renovate
Bot
force-pushed
the
renovate/twin.macro-3.x
branch
from
January 19, 2024 07:08
3bc8d75 to
72d7a83
Compare
renovate
Bot
force-pushed
the
renovate/twin.macro-3.x
branch
from
December 8, 2024 23:01
b80ef95 to
72d7a83
Compare
renovate
Bot
force-pushed
the
renovate/twin.macro-3.x
branch
from
July 26, 2025 04:20
72d7a83 to
bc5e0ed
Compare
renovate
Bot
force-pushed
the
renovate/twin.macro-3.x
branch
from
August 19, 2025 17:16
bc5e0ed to
5cd55b6
Compare
renovate
Bot
force-pushed
the
renovate/twin.macro-3.x
branch
from
September 25, 2025 14:52
5cd55b6 to
5ed3483
Compare
renovate
Bot
force-pushed
the
renovate/twin.macro-3.x
branch
from
November 16, 2025 19:49
5ed3483 to
c80198f
Compare
renovate
Bot
force-pushed
the
renovate/twin.macro-3.x
branch
from
January 19, 2026 15:04
c80198f to
2f7a595
Compare
renovate
Bot
force-pushed
the
renovate/twin.macro-3.x
branch
from
February 2, 2026 15:42
2f7a595 to
c401920
Compare
renovate
Bot
force-pushed
the
renovate/twin.macro-3.x
branch
from
April 15, 2026 20:08
c401920 to
5a67dd2
Compare
renovate
Bot
force-pushed
the
renovate/twin.macro-3.x
branch
from
May 12, 2026 15:12
5a67dd2 to
ffedd08
Compare
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR contains the following updates:
2.8.2→3.4.1Release Notes
ben-rogerson/twin.macro (twin.macro)
v3.4.1Compare Source
v3.4.0Compare Source
New preset
Not a fan of the virtual dom?
Try Twin's new SolidJS preset 🎉
Read more at #817
More updates
v3.3.1Compare Source
thanks to @albohlabs
Note: Twin will now autoload a
tailwind.config.tsconfig file if found when atailwind.config.[.js/.cjs]doesn't exist.v3.3.0: v3.3Compare Source
🎉 This version adds support for tailwindcss@3.3.1 - enjoy!
Read the official tailwind release notes for info on all the new goodies.
Install twin and tailwind latest:
Fixed
v3.1.0: v3.1Compare Source
@applysupport in plugins #770Develop tailwindcss plugins quickly using twin-supported classes.
@screeninability to grab complex theme.screens values #763 - Thanks @minzojianpieces.some is not a functionerror #767v3.0.1Compare Source
This patch contains a fix for stitches:
animation-xclasses #758And mostly fixes for arbitrary variant usage:
[@page]:m-0#759Reminder: Update tailwind to latest also or you'll probably see a
pieces.some is not a functionerror:# `twin.macro@3.01` requires `tailwindcss@>=3.2.0` npm i twin.macro@latest tailwindcss@latestv3.0.0: v3.0: Support for tailwindcss v3.2.2+Compare Source
Release changes
Use new variants like
aria-xxx,data-xxxandmin-xxx- check the official tailwindcss release posts for more infoIt's only taken three versions and a rewrite to achieve and now full plugin support is here!
tailwindcsstopeerDependenciesNo more waiting for twin to support new Tailwind features, just update
tailwindcsstailwind.config.js#693not-versions of many common variants, eg:not-empty:,:not-focus:,:not-required:reftailwind.config.js#693
config- more at docs/configtailwind.config.cjshas been added as a fallback9e7a7df!prefix on groups, eg:first:!(block mt-5)hasLogColors: falseto remove log coloringbbaec9dContainer queries
The new tailwind-container-queries plugin works with twin but there are some browser and version requirements:
Update notes
debugPluginswas removed and rolled into another existing option:debug: truecontainerhas been aligned with tailwind - no longer has a custom margin valueShort Css deprecated
Twins custom "short css" has been deprecated in favour of Tailwind arbitrary properties:
Emotion error: Value for 'content' without quotes
In Emotion, using
before:orafter:variants may trigger a console error like this:Update one or both of the packages below to avoid this error (version is when error was fixed):
Arbitrary variants/properties without parent selectors
In arbitrary variants/properties without parent selectors, Twin now needs to add the parent selector for you in order to create a compatible class to run through tailwindcss.
If twin miscalculates where the parent selector should be added then you'll need to add the parent selector yourself.
Arbitrary variant escaping
Twin now replaces all spaces with underscores in arbitrary variants, so to keep any underscores in the output we can escape them:
General value escaping
Previously in many instances, escaping required a double backslash before the character (
\\).Now we'll only need a single backslash:
Theme values/import and DEFAULT
When theme is used within an arbitrary value or property and there is a DEFAULT value found, the theme value will now return the default value automatically:
The theme import now won't return the
DEFAULToption automatically.We can still select the DEFAULT value by specifying it, eg: theme
colors.black.DEFAULT.This makes it possible to grab whole objects from the config without automatically returning the
DEFAULTvalue:Daisy UI tailwind plugin
DaisyUI often styles their components based on classNames, eg:
.btn.loading { ... }This means in some situations we have to add classNames to the jsx element to add their modifier styling
Some discussion here and at #760
Vite build issue
If you're noticing build issues after upgrading, try updating your Vite config with the updated build target:
Support
If you’re kicking ass with twin - especially if you’re in a team - then please consider supporting this project.
It will really help out with the continued development of twin - cheers! 🍻
Thanks
A huge thanks and shout out to all the
rccontributors helping with features, fixes and bug testing over the past year - you folks are awesome 👋🙏@omaemae, @ChrisEbert, @Macksi, @atxiii, @mohammadsiyou, @MatthiasDunker, @lguima, @EduardoBautista, @HaidarEzio, @ajmnz
Full Changelog: ben-rogerson/twin.macro@2.8.2...3.0.0
Configuration
📅 Schedule: Branch creation - "on the first day of the week" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.