You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removes the floating StorybookThemeToggle button that was added as a
workaround. The native Storybook toolbar already provides a theme
switcher via the globalTypes configuration.
This simplifies the code by removing:
- StorybookThemeToggle component (40 lines)
- isE2ETestEnv() utility (7 lines)
- Conditional rendering logic in decorator (3 lines)
Users can now toggle themes using the standard Storybook toolbar
(mirror icon at the top), which provides a cleaner, more consistent UX.
Net: -52 lines
0 commit comments