Skip to content

Conversation

@stevegolton
Copy link
Member

Currently we use font-weight: bolder in a few places to make some text bolder relative to the parent. This is fine but the actual implementation of bolder is uses banding to determine which level is chosen. See: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/font-weight#meaning_of_relative_weights. In short, the only outputs of bolder are 400, 700, and 900.

Since we only have a handful of Roboto weights available, the boldest of which being 500, it makes sense to just hard code these fonts to weight 500 instead of using bolder.

Change-Id: I6d38b934cc79ca0655bd1f5637564601d635bee1
@stevegolton stevegolton changed the title Replace text-weight: bolder with 500 as this is much cleaner Replace text-weight: bolder with 500 to improve text clarity Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant