Closed Bug 2088683 Opened 23 days ago Closed 22 days ago

Some labels in Mermaid diagrams in the source docs are hard to read against their background

Categories

(Developer Infrastructure :: Source Documentation, defect)

defect

Tracking

(firefox161 fixed)

RESOLVED FIXED
161 Branch
Tracking Status
firefox161 --- fixed

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug)

Details

Attachments

(3 external files)

./mach doc mermaid-diff (bug 2088494) flags labels below 4.5:1 contrast in three places, in both color schemes:

  • browser/components/urlbar/docs/ranking.md: its style lines put white text on #4caf50 (2.8:1) and #2196f3 (3.1:1).
  • toolkit/mozapps/notificationserver/docs/index.md: all three diagrams wrap messages in rect grey, which puts the message text at 3.7:1 in the light scheme. The dark scheme is flagged too.
  • tools/moztreedocs/docs/mermaid-integration.md: ZenUML draws the step number (1.1) in gray at 3.6:1. ZenUML has no option for its color.
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5acfefd0714a https://hg.mozilla.org/integration/autoland/rev/eabbab23bc2f Darken the green and blue nodes in the urlbar frecency diagram so their white text is readable. https://github.com/mozilla-firefox/firefox/commit/6e74cd51b0fb https://hg.mozilla.org/integration/autoland/rev/376b0a952b4f Draw the pipe IPC boxes in the notification server diagrams in translucent gray. r=firefox-desktop-core-reviewers ,mossop https://github.com/mozilla-firefox/firefox/commit/438c3cfda66e https://hg.mozilla.org/integration/autoland/rev/a80a4a4aa099 Draw ZenUML's step numbers in the color of its message labels. r=firefox-source-docs-reviewers,sylvestre
Status: ASSIGNED → RESOLVED
Closed: 22 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: