Closed Bug 1931919 Opened 2 months ago Closed 2 months ago

Use shared tokens on about:debugging

Categories

(Toolkit :: UI Widgets, task)

task

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: mkennedy, Assigned: mkennedy)

References

Details

(Whiteboard: [recomp])

Attachments

(3 files)

Currently, the about:debugging page doesn't use our shared token CSS vars in tokens-brand.css which prevents 1517856 from being fully implemented. Importing the shared brand tokens onto the about:debugging pages will allow us to complete future reusable component integration work and eliminate hard-coded variables.

Assignee: nobody → mkennedy
Blocks: 1517856
Whiteboard: [recomp]

Picking up from the conversation with the devtools member in https://phabricator.services.mozilla.com/D229185, we're thinking of @importing tokens-brand.css into the aboutdebugging.css file.

Pushed by hjones@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/425886fca40c Add shared tokens to about:debugging pages r=devtools-reviewers,jdescottes https://hg.mozilla.org/integration/autoland/rev/56d87755d5d6 Use shared page width token CSS var on about:debugging pages r=reusable-components-reviewers,devtools-reviewers,jdescottes,hjones
Backout by agoloman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/153c2c0a129e Backed out 2 changesets for causing dt failures @browser_parsable_css.js.

Backed out for causing dt failures @browser_parsable_css.js.

Flags: needinfo?(mkennedy)

After investigating, it appears the build for devtools is failing because all CSS vars in the imported tokens-brand.css file aren't being used. So Mark Striemer [:mstriemer] is looking into how to update the build tests to make an exception for the tokens-brand.css file import.

Assignee: mkennedy → nobody
Flags: needinfo?(mkennedy)
Assignee: nobody → mstriemer
Status: NEW → ASSIGNED
Assignee: mstriemer → mkennedy
Pushed by mstriemer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b2bbab225265 Add shared tokens to about:debugging pages r=devtools-reviewers,jdescottes https://hg.mozilla.org/integration/autoland/rev/e18f451097b8 Use shared page width token CSS var on about:debugging pages r=reusable-components-reviewers,devtools-reviewers,jdescottes,hjones https://hg.mozilla.org/integration/autoland/rev/cf043f73bf56 Allow unused design tokens in devtools in browser_parsable_css.js r=reusable-components-reviewers,hjones,desktop-theme-reviewers,dao
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: