vski.damian
TTCTheo's Typesafe Cult
•Created by vski.damian on 6/17/2024 in #questions
change tailwind color based on api response
Using next 14, turbo, tailwind
I have an app that should change colors based on api response.
Can I somehow change the tailwind config primary color in the top of my next app in the head server component?
I think that it is possible in client component by adding style tag and adding new declaration of css variable, but i can’t do it in a server component
12 replies