Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix color contrast of tertiary Button underline #2400

Closed
wants to merge 2 commits into from

Conversation

connor-baer
Copy link
Member

@connor-baer connor-baer commented Jan 22, 2024

Purpose

The underline of the Button's tertiary variant doesn't meet color contrast requirements.

Approach and changes

  • Replaced var(--cui-border-normal) (1.67:1) with var(--cui-fg-subtle) (4.82:1)

Definition of done

  • Development completed
  • Reviewers assigned
  • Unit and integration tests
  • Meets minimum browser support
  • Meets accessibility requirements

Copy link

changeset-bot bot commented Jan 22, 2024

🦋 Changeset detected

Latest commit: ef835aa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sumup/circuit-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Jan 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
oss-circuit-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 7, 2024 2:07pm

Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@5e90c53). Click here to learn what that means.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2400   +/-   ##
=======================================
  Coverage        ?   87.76%           
=======================================
  Files           ?      198           
  Lines           ?    21251           
  Branches        ?     1316           
=======================================
  Hits            ?    18652           
  Misses          ?     2547           
  Partials        ?       52           

This comment was marked as outdated.

@connor-baer connor-baer force-pushed the fix/tertiary-button-underline branch from cb7dd12 to ef835aa Compare May 7, 2024 14:04
@connor-baer connor-baer marked this pull request as ready for review May 7, 2024 14:05
@connor-baer connor-baer requested a review from a team as a code owner May 7, 2024 14:05
@connor-baer
Copy link
Member Author

Closing in favor of an upcoming pull request that will address this and other usability issues in the new buttons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant