We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to use this chart library externally, but when I tried to switch themes, I found that importing multiple theme CSS files would be overwritten。
The text was updated successfully, but these errors were encountered:
Yeah unfortunately this is not ideal as the chart theming depends on both the Theme as a javascript object and the exported scss files.
Theme
scss
One way to do this is using a nested @import, as we do in our storybook for dynamically switching themes.
nested @import
elastic-charts/storybook/style.scss
Lines 27 to 31 in 1b39f63
Sorry, something went wrong.
No branches or pull requests
I want to use this chart library externally, but when I tried to switch themes, I found that importing multiple theme CSS files would be overwritten。
The text was updated successfully, but these errors were encountered: