Skip to content

Adjust line heights to match brand guidelines#1080

Merged
stephaniehobson merged 2 commits intomainfrom
typography
Aug 13, 2025
Merged

Adjust line heights to match brand guidelines#1080
stephaniehobson merged 2 commits intomainfrom
typography

Conversation

@stephaniehobson
Copy link
Contributor

@stephaniehobson stephaniehobson commented Aug 5, 2025

Description

Adjust line heights in Mozilla theme to match brand guidelines

  • I have recorded this change in CHANGELOG.md.

Issue

https://github.com/mozilla/protocol/issues/10a37#issuecomment-3104777682

Testing

http://localhost:3000/components/detail/headings

@stephaniehobson stephaniehobson marked this pull request as ready for review August 8, 2025 22:58
@stephaniehobson stephaniehobson added Needs:Review 👋 Ready for Developer Review Review: µ Code review time: 5 minutes or less labels Aug 8, 2025
Copy link
Collaborator

@maureenlholland maureenlholland left a comment

Choose a reason for hiding this comment

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

r+wc

one rogue 1.15 value in condensed scale, otherwise LGTM

--body-sm-size: 0.75rem;
--body-xs-size: 0.688rem;
--body-line-height: 1.2;
--body-line-height: 1.25;
Copy link
Collaborator

Choose a reason for hiding this comment

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

future thought (non-blocking): for regular scale Body XS and condensed scale Body SM & XS, we are at 12px or lower font size with default settings. Wondering if we need to specify the small body copy line height somewhere

Suggested change
--body-line-height: 1.25;
--body-line-height: 1.25;
--body-sm-line-height: 1.4;

@maureenlholland maureenlholland removed Needs:Review 👋 Ready for Developer Review Review: µ Code review time: 5 minutes or less labels Aug 13, 2025
Co-authored-by: maureenlholland <19650432+maureenlholland@users.noreply.github.com>
@stephaniehobson stephaniehobson merged commit 09b9ae0 into main Aug 13, 2025
1 check passed
@stephaniehobson stephaniehobson deleted the typography branch August 13, 2025 22:16
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.

2 participants