-
Notifications
You must be signed in to change notification settings - Fork 12
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
Tailwindcss 3.3.0 breaks generated elm code (through from|to|via utilities) #25
Comments
nidico
added a commit
to nidico/elm-tailwind-modules
that referenced
this issue
Mar 29, 2023
This resolves matheus23#25 for the 0.5-alpha branch.
nidico
added a commit
to nidico/elm-tailwind-modules
that referenced
this issue
Mar 29, 2023
This resolves matheus23#25 for the master branch.
Good catch. elm-tailwind-modules/src/helpers.ts Lines 24 to 50 in f3bb237
|
nidico
added a commit
to nidico/elm-tailwind-modules
that referenced
this issue
Mar 30, 2023
Tailwindcss 3.3.0 introduced new utility classes with percent signs which is invalid in Elm function names. Fixes matheus23#25.
nidico
added a commit
to nidico/elm-tailwind-modules
that referenced
this issue
Mar 30, 2023
Tailwindcss 3.3.0 introduced new utility classes with percent signs which is invalid in Elm function names. Fixes matheus23#25.
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tailwind 3.3.0 introduced new
from-x%
|to-x%
|via-x%
utility classes which break the generated elm code in both elm-tailwind-modules 0.4.1 and 0.5.0-alpha5.The invalid generated elm code looks like this:
Unfortunately,
package.json
currently allows updates to^3.1.6
(semver compatible to 3.1.6) which includes 3.3.x, so (as long as this isn't properly fixed) intermediate releases with pinned tailwindcss < 3.3 could be a quick fix. Otherwise users of the library can just locally pin tailwindcss to e.g.3.2.7
.The text was updated successfully, but these errors were encountered: