You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be awesome if there was a way to customize the detection to support more languages like Gleam, instead of having to rely on the automatic detection.
The text was updated successfully, but these errors were encountered:
What version of Tailwind CSS are you using?
v4.0.0-beta.9
What build tool (or framework if it abstracts the build tool) are you using?
Vite v6.0.7
What version of Node.js are you using?
v23.2.0
What browser are you using?
Arc (Chromium)
What operating system are you using?
macOS
Reproduction URL
npm dev
bg-red-200
is missingDescribe your issue
Tailwind doesn't detect the class inside this list
[class("bg-red-200")]
at https://github.com/okkdev/tailwindcss4-class-detection-bug-repro/blob/main/src/main.gleam#L33It only works if there is a whitespace somewhere inside of the square braces.
As shown here: https://github.com/okkdev/tailwindcss4-class-detection-bug-repro/blob/main/src/main.gleam#L35
and here: https://github.com/okkdev/tailwindcss4-class-detection-bug-repro/blob/main/src/main.gleam#L38
It would be awesome if there was a way to customize the detection to support more languages like Gleam, instead of having to rely on the automatic detection.
The text was updated successfully, but these errors were encountered: