Closed
Description
I'm writing up some documentation for one of my plugins, and I noticed that when mentioning the variable shorthand syntax, the blog article about Tailwind v3.3 was updated to demonstrate the variable shorthand syntax using the v4-only syntax. This should ideally show the old syntax, with a note about the new syntax used in v4.x.
- className="bg-[var(--brand-color)] hover:bg-[var(--brand-hover-color)]"
+ className="bg-(--brand-color) hover:bg-(--brand-hover-color)"
Source: https://tailwindcss.com/blog/tailwindcss-v3-3#css-variables-without-the-var
Metadata
Metadata
Assignees
Labels
No labels