Add support for Tailwind v4 CSS theme override #12
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 adds a build target to
tailwind/index.css
, intended to support Tailwind V4 (currently in beta), which allows theme override using CSS syntax.More information here: https://tailwindcss.com/docs/v4-beta#overriding-the-default-theme.
Note
Even though Tailwind V4 is in beta, I believe the syntax for theme override is unlikely to change, so this PR should be future proof. But if they do change I'm happy to follow-up.
Also, I noticed there is no pipeline for CHANGELOG generation and automatic publication. Happy to open a follow-up PR to set up changesets if you think that's helpful.
I have not bumped version or added to CHANGELOG.md either. Please let me know if you want me to do that in this PR as well.
Thanks!