Replace --in-content-page-color value with design token
Categories
(Toolkit :: Themes, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox143 | --- | fixed |
People
(Reporter: tgiles, Assigned: cmeade)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp] [acorntractors])
Attachments
(1 file)
Something that we noticed during Bug 1858998 is that changing the color-scheme in Storybook would cause some element not to update correctly. This appears to be because of variables in common-shared.css not utilizing the new design tokens. --in-content-page-color is used six times in common-shared and is a good candidate to replace the value with the design token equivalent.
Updated•2 years ago
|
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Need input to have the right replacement token to move forward.
Comment 2•1 year ago
|
||
Hey all, this in-content page variable should now be --background-color-canvas
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
We're going to use --text-color instead, and I have also created https://bugzilla.mozilla.org/show_bug.cgi?id=1980414 to consolidate the background properties.
| Assignee | ||
Comment 4•1 year ago
|
||
Changed
--in-content-page-colorreferences now use--text-color--in-content-text-colorreferences now use--text-color
Removed
--in-content-page-colorreferences--in-content-text-colorreferences
Comment 5•1 year ago
|
||
Ope my bad, I must've assumed it was page-background not the color. Thanks for catching this Catherine :)
Comment 7•1 year ago
|
||
| bugherder | ||
Updated•1 year ago
|
Updated•11 months ago
|
Description
•