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

[Bug]: Shim does not support arbitrary properties #522

Open
DarraghBurke-Figma opened this issue Nov 21, 2024 · 0 comments
Open

[Bug]: Shim does not support arbitrary properties #522

DarraghBurke-Figma opened this issue Nov 21, 2024 · 0 comments
Labels
🐞 Bug Bug or Bug fixes

Comments

@DarraghBurke-Figma
Copy link

Reproduction

https://codepen.io/captainlepidus/pen/ZEggYMX

In the above repro, a standard class like font-bold works, but [color: red] throws a warning:

"[UNKNOWN_DIRECTIVE] {'rule':'[color:red]'}"

Describe the bug

Tailwind supports arbitrary CSS properties with the syntax:

class="[property:value]"

This syntax works in Twind, but not in the shim.

Severity

serious, but I can work around it

System Info

npx envinfo
sh: envinfo: command not found

Command doesn't work for me unfortunately.



### Additional Information

_No response_
@DarraghBurke-Figma DarraghBurke-Figma added the 🐞 Bug Bug or Bug fixes label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

1 participant