etchteam / storybook-addon-css-variables-theme

Change the CSS variable based design tokens in your storybook on the fly
MIT License
28 stars 12 forks source link

fix: use storybook globals to store the current theme #55

Closed gavmck closed 10 months ago

gavmck commented 10 months ago

Uses storybook globals to store the current theme and provide this to the story context.

This means we don't need to provide our own URL handler to set themes via URL so I've removed the old one (making this a breaking change)

sonarcloud[bot] commented 10 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication