Closed Bug 1858998 Opened 1 year ago Closed 7 months ago

Add a color-scheme switcher to Storybook

Categories

(Toolkit :: UI Widgets, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: mstriemer, Assigned: cmkm)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

Attachments

(1 file)

Now that we use light-dark() in our CSS we can change the theme using the color-scheme rule. This seems like a good candidate for a Storybook toolbar button/plugin. The PseudoLocalizationButton could likely be used as a template for this.

Assignee: nobody → cmeador
Status: NEW → ASSIGNED
Severity: -- → N/A
Priority: -- → P1
Whiteboard: [fidefe-reusable-components] → [recomp]
Duplicate of this bug: 1811343
Attachment #9398251 - Attachment description: WIP: Bug 1858998 - Add global color theme switcher to Storybook → Bug 1858998 - Add global color theme switcher to Storybook r?#recomp-reviewers!
Pushed by tgiles@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d40fb80a90f0 Add global color theme switcher to Storybook r=reusable-components-reviewers,cmkm,hjones
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: