title: Change Storybook theme depending on theme of my site where I've embedded my story as iFrame
body: <p>I'm using Storybook and the <a href="https://storybook.js.org/addons/storybook-dark-mode" rel="nofollow noreferrer">storybook-dark-mode</a> addon, which is working fine, but I'm embedding my stories as iFrame on a different site. What I'm trying now is to sync the theme of the iFrame with the theme of my site where it's embedded. On the site, the current theme is stored in <em>localStorage.theme</em>. Is there a way to access it in my Storybook preview.js and even listen to changes and set the theme depending on that? Or maybe maybe even another way.</p>