-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
H2 and H3 headings too similar visually #97
Comments
I believe the solution is to adopt a medium contrast type scale, which provides balanced contrast between heading sizes without overly large jumps. A type scale refers to the multiple by which font sizes increase. You can find more about typographic scales here: Typographic Scales. For content-heavy websites like ours, a medium contrast scale is ideal, typically ranging from 1.2x - 1.33x. The larger the scale, the more contrast between heading sizes. However, I don’t want a drastic deviation from our current font sizes, as this could disrupt the look and feel of projects using our theme. Constraints
Given these constraints, we're limited to a scale of approximately 1.2x. I’ve used the Minor Third scale (1.2x) and rounded the values to the nearest even whole number, with the Major Third scale (1.25x) added for reference:
Summary:
Here’s a final comparison of current vs. suggested values:
|
This was discussed today and the final recommendations of new font size and increased font weight was accepted within the team. This is now ready for dev 💻 Final Recommendations:
Font Weight: 600 And also some designs and examples in Figma: Updated Typography (#97) |
This PR: - Increases heading (h1, h2, h3, etc) font weight from 400 to 600 - Why? To make headings stand out better from the body text - Increases h1 and h2 font size, slightly decreases h6 size - Why? Brings the headings into better alignment with standard typographic scales. See Quansight-Labs/czi-scientific-python-mgmt#97. Closes Quansight-Labs/czi-scientific-python-mgmt#97. ### Before/after screenshots | Before | After | | ---- | ---- | | ![](https://github.com/user-attachments/assets/a5be530a-f7c9-4b13-a580-e28b0340c3cd) | ![](https://github.com/user-attachments/assets/6dc8cad8-f325-47bc-bd45-25259df8ec16) |
No description provided.
The text was updated successfully, but these errors were encountered: