Skip to content

Design update: ExpiryBadge and BaseBadge - #338

Merged
devmount merged 6 commits into
mainfrom
enhancements/319-design-update-badges
Oct 5, 2026
Merged

devmount merged 6 commits into
mainfrom
enhancements/319-design-update-badges

Conversation

@devmount

@devmount devmount commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

What changed?

This PR aligns the color implementation of ExpiryBadge and BaseBadge components with current designs. A color contrast issue was resolved and the Counter badge was extended to support manual dark/light variants.

Why?

Consistency and improved accessability

Limitations and Notes

  • This is a color-change only, except for two changes I made:
    • Icons now cannot shrink anymore (insufficient space for the badge text lead to the icons getting tiny since they are in a flex context)
    • Text within badges cannot break to a new line anymore (this cause the badge to scale out of proportion)
  • The Notify ExpiryBadge currently fails a contrast check. I'm not sure if this was intended by design (cc @laurelterlesky), I added a Figma comment for that.

Applicable Issues

Closes #319

QA Log

  • Manually checked every single Variant with the corresponding design and changed colors accordingly

Screenshots

ExpiryBadge

image

BaseBadge

image image

@aaspinwall aaspinwall left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It looks great!

@davinotdavid davinotdavid left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks! However, please check Laurel's comment in the Figma file and update the colour so that the contrast checks pass before merging.

@devmount

devmount commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator Author

@aaspinwall @davinotdavid Thanks so much for your reviews! I fixed the contrast issue now and added a manual dark/light variant for the counter badge (see Laurels comments). Can you take a quick look again?

@devmount
devmount requested a review from davinotdavid October 5, 2026 07:08

@davinotdavid davinotdavid left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks!

@devmount
devmount merged commit 839e397 into main Oct 5, 2026
5 checks passed
@devmount
devmount deleted the enhancements/319-design-update-badges branch October 5, 2026 15:29
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.

[Design Committee] Badge updates

3 participants