Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to inject custom CSS #86

Open
fabis94 opened this issue May 11, 2023 · 0 comments
Open

Add ability to inject custom CSS #86

fabis94 opened this issue May 11, 2023 · 0 comments

Comments

@fabis94
Copy link

fabis94 commented May 11, 2023

themeReplacements are a good start for being able to set CSS variable values, but what if the variables have different values in dark/light theme?

:root {
  --color: #fff;
}

:root.dark {
  --color: #000;
}

Thus it would be nice if we could inject custom CSS, even if it has to be CSS-in-JS provided as a string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant