Skip to content

Is it safe not to have --tw prefixes in CSS variable names? #16273

Answered by Inventoris
kkomelin asked this question in Help
Discussion options

You must be logged in to vote

@kkomelin hey! You can still add the prefix manually.

@import "tailwindcss" prefix(tw);

This will return the --tw prefix to all classes and variables generated by Tailwind.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Inventoris
Comment options

@kkomelin
Comment options

@Inventoris
Comment options

@wongjn
Comment options

wongjn Feb 8, 2025
Collaborator

@kkomelin
Comment options

Answer selected by kkomelin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants