Skip to content

fix: remove h5 font weight override#3272

Merged
daniellefrappier18 merged 4 commits into
mainfrom
daniellef/10977-remove-h5-font-weight-override
May 5, 2026
Merged

fix: remove h5 font weight override#3272
daniellefrappier18 merged 4 commits into
mainfrom
daniellef/10977-remove-h5-font-weight-override

Conversation

@daniellefrappier18
Copy link
Copy Markdown
Contributor

@daniellefrappier18 daniellefrappier18 commented Apr 30, 2026

What are the relevant tickets?

Fixes https://github.com/mitodl/hq/issues/10977

Description (What does it do?)

Removes a local fontWeight override that was added to match Figma's h5 design. Now that the h5 typography definition in smoot-design has been updated to use fontWeight: 700 (Neue Haas Grotesk 65 Bold), the override is redundant.

Screenshots (if appropriate):

  • Desktop screenshots
  • Mobile width screenshots

AFTER (override removed — inheriting h5 from current smoot-design): The title will render at 700 (bold)
automatically — matching the "before" screenshot — without the local override.

Screenshot 2026-05-01 at 11 10 47 AM

How can this be tested?

Using the browser's dev tools inspector, verify that the h5 element reflects a font-weight of 700.

Additional Context

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 30, 2026

OpenAPI Changes

No changes detected

View full changelog

Unexpected changes? Ensure your branch is up-to-date with main (consider rebasing).

@daniellefrappier18 daniellefrappier18 marked this pull request as ready for review April 30, 2026 16:04
Copilot AI review requested due to automatic review settings April 30, 2026 16:04
@daniellefrappier18 daniellefrappier18 added the Needs Review An open Pull Request that is ready for review label Apr 30, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes a mobile-only fontWeight override on the UAI Announcement Card title, intending to rely on the updated h5 typography coming from @mitodl/smoot-design instead of a local override.

Changes:

  • Removed the fontWeightBold override from the sm breakpoint styles for the card title.

Comment thread frontends/main/src/app-pages/HomePage/UAIAnnouncementCard.tsx
Comment thread frontends/main/src/app-pages/HomePage/UAIAnnouncementCard.tsx
Copy link
Copy Markdown
Contributor

@ChristopherChudzicki ChristopherChudzicki left a comment

Choose a reason for hiding this comment

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

👍

@daniellefrappier18 daniellefrappier18 merged commit 7f50358 into main May 5, 2026
13 checks passed
@daniellefrappier18 daniellefrappier18 deleted the daniellef/10977-remove-h5-font-weight-override branch May 5, 2026 17:54
@odlbot odlbot mentioned this pull request May 5, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review An open Pull Request that is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants