make toolkit our source of truth for CSS token values/variables
Categories
(Toolkit :: UI Widgets, enhancement)
Tracking
()
People
(Reporter: hjones, Assigned: jules)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [recomp])
Attachments
(1 file, 1 obsolete file)
Currently our reusable widgets in toolkit rely on variable values defined in in-content/common-shared.css
This has led to issues when these widgets are used in chrome contexts. It also means that the lit based components we're currently building have an implicit dependency on that CSS file having been loaded somewhere in the contexts in which they are being used.
As a solution to the issues we've encountered we want to create a CSS tokens/variables file in toolkit that can be shared between in-content and chrome. This will be our source of truth for component variable values going forward (specifically for things like colors, spacing, etc). The names used should match the variable names used by design to facilitate better communication and smoother dev/design handoffs.
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Backed out for causing dt failures in browser_styleeditor_fission_switch_target.js.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | devtools/client/styleeditor/test/browser_styleeditor_fission_switch_target.js | Test timed out -
Comment 5•2 years ago
|
||
bugherder |
Assignee | ||
Updated•2 years ago
|
Comment 7•1 years ago
|
||
Dao, should we back out this bug from release and build a RC2 given that you marked several of the regressions filed by Alice as S2? Thanks
Comment 8•1 years ago
|
||
(In reply to Pascal Chevrel:pascalc from comment #7)
Dao, should we back out this bug from release and build a RC2 given that you marked several of the regressions filed by Alice as S2? Thanks
Do you know if this can be backed out without conflicts from 114? If so that's probably the best way forward there.
Comment 9•1 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #8)
(In reply to Pascal Chevrel:pascalc from comment #7)
Dao, should we back out this bug from release and build a RC2 given that you marked several of the regressions filed by Alice as S2? Thanks
Do you know if this can be backed out without conflicts from 114? If so that's probably the best way forward there.
It backs out cleanly.
Comment 10•1 years ago
|
||
(In reply to Pascal Chevrel:pascalc from comment #9)
(In reply to Dão Gottwald [::dao] from comment #8)
(In reply to Pascal Chevrel:pascalc from comment #7)
Dao, should we back out this bug from release and build a RC2 given that you marked several of the regressions filed by Alice as S2? Thanks
Do you know if this can be backed out without conflicts from 114? If so that's probably the best way forward there.
It backs out cleanly.
Okay, let's do that then. Thanks!
Comment 11•1 years ago
|
||
The issue is that --button-primary-bgcolor
is unset which is used for setting the focus color
Changing
--system-color-accent: var(--button-primary-bgcolor);
to
--system-color-accent: var(--button-primary-bgcolor, AccentColor);
Fixes all regressors for me
Comment 12•1 years ago
|
||
Comment 13•1 years ago
|
||
Attached a patch if that is preferrable
Comment 14•1 years ago
|
||
backout bugherder uplift |
Backed out changeset 1cdfa0b182b1 (Bug 1798404) for causing regressions (Bug 1835581, Bug 1835583, Bug 1835588, Bug 1835590)
https://hg.mozilla.org/releases/mozilla-release/rev/080093fea70c
Updated•1 years ago
|
Comment 15•1 years ago
|
||
Should this be 114 fixed 115 affected? This is still on central right? Just backed out of 114?
Comment 16•1 years ago
|
||
This is still on central, the backout is only on 114
Comment 17•1 years ago
|
||
Comment on attachment 9336561 [details]
Bug 1798404 - followup: fix focusring in non-browser themes dialogs r?dao,jules
Revision D179453 was moved to bug 1835581. Setting attachment 9336561 [details] to obsolete.
Updated•1 years ago
|
Updated•1 years ago
|
Updated•1 years ago
|
Updated•9 months ago
|
Description
•