histoire icon indicating copy to clipboard operation
histoire copied to clipboard

Get current used theme

Open throrin19 opened this issue 9 months ago • 0 comments

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

throrin19 avatar Sep 18 '23 13:09 throrin19