Skip to content
Discussion options

You must be logged in to vote

You could consider using CSS variables like:

@theme {
  /* Default values */
  --color-primary: red;
  --color-secondary: blue;
  …
}

Then, in the application, redefine the CSS variables, in a <style> tag or dynamically-generated CSS from the application, etc:

<style>
:root {
  /* Real values */
  --color-primary: #123456; 
  --color-secondary: #abcdef;
  …
}
</style>

Or

:root {
  /* Real values */
  --color-primary: #123456; 
  --color-secondary: #abcdef;
  …
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by AvinashKasukurthi
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
3 participants