histoire
histoire copied to clipboard
Get current used theme
Clear and concise description of the problem
I want to integrate, in the wrapper, the current used theme in Histoire to switch my components themes to dark or light variation.
In my case, I use Vuetify and, if I can get the current theme, I can switch this directly using vuetify API and it's apply to all my components.
Suggested solution
Have a method or a property in the wrapper part to get current theme
Alternative
No response
Additional context
No response
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.