Open
Description
Current Behavior
In [email protected]
, background: red
converts to ""
, while background-color: red
converts to "bg-[red]"
.
Expected Behavior
It’d be great if CSS like background: red
could be mapped to a tailwind class too. I understand that the value of background
shorthand can also contain image URL and its placement. It ca be hard to parse, but even supporting simple cases would be great. In practice, a lot of CSS I have seen is using background: color
shorthand.
Environment
- Version:
[email protected]
- Platform: macOS
- Node.js Version: 18.16
PS: Great lib @Jackardios! Thanks for working on it 🙌