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

Fix issue with tailwind class escaping #32

Merged
merged 1 commit into from
Sep 4, 2022

Conversation

Wyn-Price
Copy link
Contributor

@Wyn-Price Wyn-Price commented Dec 8, 2021

tailwind.e was being used incorrectly, causing classnames to be incorrectly escaped. This caused @apply to not work. I believe this is what causes #25

See below for the generated css:
image

The input for tailwind.e needs to be the whole class name. Prior to this PR, the input was only the colour modifier (100, 200, 300, ect). As classnames cannot begin with a number, this gets escaped.

@DHFW
Copy link

DHFW commented Feb 24, 2022

Please merge this!

@adoxography adoxography merged commit 071b62a into adoxography:main Sep 4, 2022
@adoxography
Copy link
Owner

Looks good! Thanks!

adoxography added a commit that referenced this pull request Mar 20, 2023
Fix issue with tailwind class escaping
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.

4 participants