Hi,
So I've recently trying out this addon in combination with storybook / tailwindcss.
Also using daisyui with it's list of themes - https://daisyui.com/docs/themes/
I've also been using the Version 7 Alpha of Storybook.
From what I can tell the onChange hook isn't being called when the page is initially loaded.
Only when the theme is changed in the menu.
Hi, So I've recently trying out this addon in combination with storybook / tailwindcss. Also using daisyui with it's list of themes - https://daisyui.com/docs/themes/ I've also been using the Version 7 Alpha of Storybook.
From what I can tell the onChange hook isn't being called when the page is initially loaded. Only when the theme is changed in the menu.
I was going to try the addParameters way of doing things. https://github.com/tonai/storybook-addon-themes/issues/67 But it looks as if it's been depreciated in V7 https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-addparameters-and-adddecorator
preview.js