primer / doctocat

A Gatsby theme for building Primer documentation sites

Home Page:https://primer.style/doctocat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update font-weight for mono text in headings

ashygee opened this issue · comments

What is this?

Currently our code/mono typeface text is rendered at the same font-weight as the heading. This causes some readability issues and also aesthetically doesn't appear as clean.

screenshot with text-mono rendered with a font-weight:600 up top and font-weight:400 below

My suggestion is to update headings to allow for code examples/mono typeface text to render at a font-weight:400. It would be good to check if this causes any accessibility issues but overall I feel it looks and reads better.

cc @colebemis @emplums

Hi! This issue has been marked as stale because it has been open with no activity for 180 days. You can comment on the issue or remove the stale label to keep it open. If you do nothing, this issue will be closed in 7 days.