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
The text was updated successfully, but these errors were encountered:
Serator
changed the title
There is no way to use theme() with a arbitrary value or property containing a dot.
There is no way to use theme() with a arbitrary value or property containing a dot
Dec 29, 2021
Hey! Thank you for your bug report!
Much appreciated! 🙏
I've opened a PR to validate this behaviour and it looks like we already fixed it. This will be available in the next version (released later today) but you can already try it using the insiders build: npm install tailwindcss@insiders
I'm facing this same issue trying to get calc() to work with theme() in an arbitrary value. According to the intellisense it's valid, but the css never actually gets generated/injected:
What version of Tailwind CSS are you using?
For example: v3.0.8
What browser are you using?
Chrome 96.0.4664.110
What operating system are you using?
Windows 10
Reproduction URL
https://play.tailwindcss.com/FivB5hnvPh
Describe your issue
There is no way to use
theme()
with a arbitrary value or property containing a dot.tailwind.config.js
Example code
The text was updated successfully, but these errors were encountered: