Closed Bug 1817231 Opened 3 years ago Closed 7 months ago

Add Firefox branding/theming to Storybook

Categories

(Toolkit :: UI Widgets, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox144 --- fixed

People

(Reporter: hjones, Assigned: oarnesto)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp] [acorntractors])

Attachments

(1 file)

Out of the box Storybook uses a built in light theme and Storybook brand assets. This can all be customized in various ways laid out in this doc: https://storybook.js.org/docs/react/configure/theming

At the very least it would be nice to change the title and icon in the sidebar to something Firefox specific. Going a bit further, it would be ideal to update the page styles to use Firefox in-content variables so that the page style matches the user's color scheme preference.

Priority: -- → P3
See Also: → 1811343
Whiteboard: [fidefe-reusable-components] → [recomp]
See Also: → 1895276
Whiteboard: [recomp] → [recomp] [acorntractors]

Do you all have a brand kit of assets we can pull from?

Good question! We don't have a brand kit exactly, but there should be assets in this browser/branding/official folder that we can pull from. Looking at this file that packages up the assets we could try using chrome://branding/content/icon128.png in Storybook. chrome://branding/content/firefox-wordmark.svg might also be interesting if we need a wordmark. Does that give you enough to get started with?

Flags: needinfo?(cmeade)

(In reply to Hanna Jones [:hjones] from comment #2)

Good question! We don't have a brand kit exactly, but there should be assets in this browser/branding/official folder that we can pull from. Looking at this file that packages up the assets we could try using chrome://branding/content/icon128.png in Storybook. chrome://branding/content/firefox-wordmark.svg might also be interesting if we need a wordmark. Does that give you enough to get started with?

YES I think Osmond [:oarnesto] will be working on this one.

Flags: needinfo?(cmeade)
Assignee: nobody → oarnesto
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
QA Whiteboard: [qa-triage-done-c145/b144]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: