Skip to content

Commit 609359b

Browse files
authored
Fix arbitrary shorthand syntax to use v3 syntax instead of v4 syntax (#2233)
1 parent 7f7d070 commit 609359b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blog/tailwindcss-v3-3/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ export function MyComponent({ company }) {
670670
"--brand-hover-color": company.brandHoverColor,
671671
}}
672672
className="bg-[var(--brand-color)] hover:bg-[var(--brand-hover-color)]" // [!code --]
673-
className="bg-(--brand-color) hover:bg-(--brand-hover-color)" // [!code ++]
673+
className="bg-[--brand-color] hover:bg-[--brand-hover-color]" // [!code ++]
674674
/>
675675
);
676676
}

0 commit comments

Comments
 (0)