-
Notifications
You must be signed in to change notification settings - Fork 4.5k
JIT + dark + arbitrary value is not working #5006
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
Comments
It seems to work if you drop the dop- prefix, so I guess some kind of issue with prefixes and JIT. |
Seem like the issue is because of these patterns are missing tailwindcss/src/jit/lib/expandTailwindAtRules.js Lines 9 to 16 in a230653
|
Hi there, This is not working for ring opacity on text inputs. There is a Stackoverflow topic here - https://stackoverflow.com/a/71168939/1828637 A Tailwind Play shows this is still an issue - https://play.tailwindcss.com/Tv8lkLkkLn |
What version of Tailwind CSS are you using?
v2.2.2
What build tool (or framework if it abstracts the build tool) are you using?
Webpack
What version of Node.js are you using?
v14.17.0
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction repository
https://play.tailwindcss.com/bQUf4HyGrG
Describe your issue
When using
darkMode: 'class'
,dark:text-[rgb(217,217,217)]
won't work. If I define the color in theme then use the color name, then it works.Reproduce:
Search for line with
dark:dop-text-[rgb(217,217,217)]
you will see there is no effect.https://play.tailwindcss.com/bQUf4HyGrG
Not sure why it is not working either. The editor suggested correctly but there is no class generated.
The text was updated successfully, but these errors were encountered: