Skip to content

Conversation

@stuart-james
Copy link
Contributor

Previously, wordpressThemeJson checked that themeContent starts with :root{, but Tailwind wraps theme layer in :root, :host, causing an early return. Remove '{' to support :host selector and add trim() for non-minified app.css.

…app.css

- Previously, wordpressThemeJson checked that themeContent starts with  `:root{`
- Tailwind outputs `:root, :host {`, causing an early return.
- Remove '{' and add trim() to support non-minified app.css.
@Log1x Log1x merged commit c0eb48e into roots:tailwind-v4 Feb 2, 2025
1 check passed
@Log1x
Copy link
Member

Log1x commented Feb 2, 2025

ty!

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

Successfully merging this pull request may close these issues.

2 participants