Global styles #338
Unanswered
dsebastien
asked this question in
Q&A
Replies: 1 comment
-
Hey there 👋 Yeah remove most of those scss files if you can and:
Cheers |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've started using twin.macro recently, and have a bit of difficulty to wrap my head around some ideas.
I've added twin.macro to a Next.js application that was already configured to use Tailwind & scss files.
In that app, I had the following in _app.tsx:
Where:
@apply
and Tailwind:Currently, I think that I'm in-between two different approaches: On one end I have the above setup which loads tailwind "in full", and on the other, I have added twin.macro's
GlobalStyles
, which probably does pretty much the same thing.This works, but I'm wondering how to clean this up and avoid loading things twice needlessly. My hunch tells me that I should get rid of the scss files (almost?) entirely, but I don't really know how to convert what I have.
What would you recommend?
Beta Was this translation helpful? Give feedback.
All reactions