What is the best way to change the theme via global settings on the website? #11798
Unanswered
adrianoresende
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there,
I created a new global configuration theme, where the user changes the colors, size (radius), etc.
The best way to change the variables is on
globals.css
, right?Format CSS doesn't make it possible to change the variables with JS, so the best way is to implement
layout.tsx
inside<head>
?How do I get the values from theme globals?
Beta Was this translation helpful? Give feedback.
All reactions