Is it possible to use dynamic themes? #1221
Closed
bartekczyz
started this conversation in
General
Replies: 1 comment 5 replies
-
@bartekczyz if you want to define anything not at buildtime, use the |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello :) My project is getting bigger and bigger and I'm investigating which library I should use instead of CSS modules.
Panda looks impressive, but I'm not sure if it covers my use case: I want to have a tiny external style that defines some tokens like colors. The thing is, some of the customers might define their own set of colors, so it can't be done in the build time. What is the best approach to tackle this problem?
I was thinking of rendering a
<style>
with--color-brand: #f0f;
and some more variables, but I'm also not sure if that's the right approachThanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions