Closed
Bug 2076454
Opened 1 month ago
Closed 1 month ago
Update Windows browser theme chrome so it passes use-design-tokens
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox160 fixed)
RESOLVED
FIXED
160 Branch
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: jooliver, Assigned: oarnesto)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp][acorntractors])
Attachments
(1 external file)
Migrate hardcoded CSS values in the listed files to design tokens so they pass stylelint-plugin-mozilla/use-design-tokens.
Existing violations can be viewed with:
./mach lint -l stylelint --skip-rollouts browser/themes/windows/browser.css browser/themes/windows/customizableui/panelUI.css browser/themes/windows/downloads/allDownloadsView.css browser/themes/windows/downloads/downloads.css
Guidelines:
- Replace hardcoded values with existing space/size/color/font/etc tokens where possible.
- Treat stylelint --fix suggestions as hints; verify visually. Suggestions might not always be correct or use the correct semantic token type.
- If values are truly exceptional and cannot be replaced with a token, add a stylelint-disable comment for that line. Make sure to specify the rule that is being disabled and include an explanation of the reason for the exception in the comment.
- Existing var(...) usages that are not design tokens: either map to a token, introduce an alias, or add a stylelint-disable comment/explanation.
- After addressing all issues in a file, remove it from
stylelint-rollouts.config.js
Files:
browser/themes/windows/browser.cssbrowser/themes/windows/customizableui/panelUI.cssbrowser/themes/windows/downloads/allDownloadsView.cssbrowser/themes/windows/downloads/downloads.css
Updated•1 month ago
|
Included in files:
browser/themes/windows/places/organizer.css
Updated command for existing violations:
./mach lint -l stylelint --skip-rollouts browser/themes/windows/browser.css browser/themes/windows/customizableui/panelUI.css browser/themes/windows/downloads/allDownloadsView.css browser/themes/windows/downloads/downloads.css browser/themes/windows/places/organizer.css
Updated•1 month ago
|
Attachment #9652793 -
Attachment description: WIP: Bug 2076454 - Update browser/themes/windows to pass use-design-tokens r=#reusable-components-reviewers-rotation → Bug 2076454 - Update browser/themes/windows to pass use-design-tokens r=#desktop-theme-reviewers
Pushed by oarnesto@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/da386a58c036
https://hg.mozilla.org/integration/autoland/rev/c9d5edfe267b
Update browser/themes/windows to pass use-design-tokens r=desktop-theme-reviewers,places-reviewers,akulyk,daisuke
Comment 4•1 month ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox160:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•