This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
[Bug] CSS classes for themes only applied in docs if there exists a story #86
Labels
bug
Something isn't working
Needs triage
New issue that needs some investigation from the maintainers
I use theme switching by class name in Angular:
When using a custom doc that is not linked to a story element and just documentation, the css classes are not inserted in the body. I would need the css styles for example in case I want to render a color palette with variables instead of hard-coding the values.
Workaround:
I created an empty component and render it in the docs. Then it works again:
The text was updated successfully, but these errors were encountered: