Skip to content
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

Support tailwindcss 2.2.2 #465

Closed
13 tasks done
ben-rogerson opened this issue Jun 18, 2021 · 5 comments
Closed
13 tasks done

Support tailwindcss 2.2.2 #465

ben-rogerson opened this issue Jun 18, 2021 · 5 comments

Comments

@ben-rogerson
Copy link
Owner

ben-rogerson commented Jun 18, 2021

Time to update twin with the latest features introduced in tailwindcss@2.2.0-2.2.4.

  • Simple variants: only (only-child), first-of-type, last-of-type, only-of-type, target, default, indeterminate, placeholder-shown, autofill, required, valid, invalid, in-range, out-of-range (Ref) (PR)
  • first-letter and first-line pseudo-elements (Ref) (PR)
  • selection variant (Ref) (PR)
  • Automatically add content: '' whenever a before or after variant is used (Ref) (PR)
  • marker variant for styling lists (Ref) (PR)
  • peer-* variants for styling sibling elements (Ref) (PR)
  • Shorthand color opacity syntax (Ref) (PR)
  • Extended arbitrary value support (Ref) (PR)
  • Simplified transform and filter composition (Ref) (PR)
  • Background origin utilities (Ref) (Thanks to @theonesean PR)
  • Per-side border color utilities (Ref) (PR)
  • Caret color utilities (Ref) (PR)
  • Various smaller fixes and improvements

I'll be working my way through this list and I'll keep it up to date as the PRs go up.

@ben-rogerson ben-rogerson linked a pull request Jul 11, 2021 that will close this issue
@ben-rogerson ben-rogerson removed a link to a pull request Jul 14, 2021
@ben-rogerson ben-rogerson pinned this issue Jul 30, 2021
@theonesean
Copy link
Contributor

Hey, @ben-rogerson, I would like to try and knock out the border site color utilities this weekend. Any guidance you could provide would be appreciated!

@ben-rogerson
Copy link
Owner Author

@theonesean Hey sean, thanks for the offer 👍

I just took a look at that item and can see it'll require a bit of reworking so I'll probably do that one myself.

The background origin utilities will be straightforward so jump on that one if you're keen. As they're static classes, you should only need to add them to the staticStyles list + add some fixture tests.

@theonesean
Copy link
Contributor

Sounds good! I can snag that!

@ben-rogerson
Copy link
Owner Author

The next release is coming soon, just a tad more testing first 👍

@ben-rogerson
Copy link
Owner Author

I've just released twin.macro@2.7.0 which includes all the JIT features listed above 🎉

@ben-rogerson ben-rogerson unpinned this issue Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants