Closed
Bug 1875396
Opened 2 years ago
Closed 2 years ago
Avoid using `font-weight: 300` and `font-weight: lighter`
Categories
(Toolkit :: Themes, enhancement, P2)
Toolkit
Themes
Tracking
()
RESOLVED
FIXED
124 Branch
| Tracking | Status | |
|---|---|---|
| firefox124 | --- | fixed |
People
(Reporter: jules, Assigned: jules)
References
(Blocks 2 open bugs)
Details
(Keywords: access, intl)
Attachments
(1 external file)
Today h1s / titles tend to rely on font-weight: 300. We can't guarantee that different platform fonts have legible light weights so this has caused legibility problems, bugs, and conversations in the past. Upon recent discussions with Eric Pang from UX, we're opting for dropping the use of this weight for headings. To avoid any future visual issues, we should also not use light font weights in general beyond headings.
The steps to take care of this:
- remove
--font-weight-lightdesign token in tokens-brand.css - remove
--font-weight-lightoption within the font-weight property intext-and-typography.css - remove all
--font-weight-lightmentions in typography docs - audit and find any custom CSS headings (e.g. error info pages) that are using
300orlighterand opt for--font-weight-boldinstead - audit for
font-weight: 300andfont-weight: lighteruses in general and find a better default (either the default font weight or--font-weight-bold) case-by-case
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
•
|
||
Adding further considerations found in 1779302 by :jteow
Lastly, quite a number of about pages don't use the title-text class and instead inherit their styling from html|h1 in common-shared.css. One such example of this is about:profiles.
Updated•2 years ago
|
Severity: -- → S3
Priority: -- → P2
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → jules
Attachment #9377086 -
Attachment description: WIP: Bug 1875396 - Avoid using `font-weight: 300` and `font-weight: lighter` r?#desktop-theme-reviewers → Bug 1875396 - Avoid using `font-weight: 300` and `font-weight: lighter` r?#desktop-theme-reviewers,#reusable-components-reviewers,kcochrane
Status: NEW → ASSIGNED
Pushed by jsimplicio@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b69dab8abba5
Avoid using `font-weight: 300` and `font-weight: lighter` r=kcochrane,desktop-theme-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,translations-reviewers,dao,mtigley,hjones,nchevobbe
Comment 4•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox124:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•