Closed
Bug 2076451
Opened 1 month ago
Closed 1 month ago
Update Linux 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: jooliver)
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/linux
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/linux/browser.cssbrowser/themes/linux/customizableui/panelUI.cssbrowser/themes/linux/places/organizer.css
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
Assignee: nobody → jooliver
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•1 month ago
|
||
- Updates the Linux browser theme to use tokens where possible, otherwise adds explanatory disable comments
- Removes affected files from stylelint rollouts
Updated•1 month ago
|
Attachment #9651285 -
Attachment description: WIP: Bug 2076451 - update Linux browser theme to use design tokens r=#desktop-theme-reviewers → Bug 2076451 - update Linux browser theme to use design tokens r=#desktop-theme-reviewers
Updated•1 month ago
|
Pushed by jooliver@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/397cb80b12f3
https://hg.mozilla.org/integration/autoland/rev/8fef460625dd
update Linux browser theme to use design tokens r=desktop-theme-reviewers,places-reviewers,mstriemer,emilio
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
•