Skip to content

How to reference Tailwind variable in regular SCSS ? #2738

Answered by florianbouvot
kissu asked this question in Help
Discussion options

You must be logged in to vote

@kissu like this:

* {
 scrollbar-width: theme('spacing.2');
}

But look at this for more info: https://tailwindcss.com/docs/using-with-preprocessors

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kissu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants