Skip to content

Conversation

@rosvik
Copy link
Member

@rosvik rosvik commented Dec 8, 2025

On Android, 400 is always the default font weight, so we previously didn't specify a fontWeight value for regular text. But since android text styles is also used for web, this caused an issue when a text type with regular weight was applied to an element with a different default weight. E.g. <Typo.h3 textType="body__m"> which would result in bold text, since a <h3> element has bold text by default.

part of https://github.com/AtB-AS/kundevendt/issues/20183

Copy link
Member

@reidzeibel reidzeibel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks in order 🚀

@rosvik rosvik merged commit 7c862cf into main Dec 8, 2025
1 check passed
@rosvik rosvik deleted the rosvik/set-regular-weight branch December 8, 2025 13:23
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.

3 participants