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

Adjust shadows and gradients for dark mode #2433

Merged
merged 3 commits into from
Feb 8, 2024
Merged

Adjust shadows and gradients for dark mode #2433

merged 3 commits into from
Feb 8, 2024

Conversation

connor-baer
Copy link
Member

Purpose

The experimental dark mode has surfaced some bugs in how color tokens are used in the components and highlighted some hard-coded color values.

Approach and changes

  • Adjust the overflow indicator in dark mode. The color-mix function isn't supported in all target browsers; however, the overflow indicator is arguably a progressive enhancement and not essential to the user experience.
  • Adjust shadows to be more visible in dark mode.

Definition of done

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

@connor-baer connor-baer added the 🐞 bug Something isn't working as it should label Feb 8, 2024
@connor-baer connor-baer requested a review from a team as a code owner February 8, 2024 17:18
Copy link

changeset-bot bot commented Feb 8, 2024

🦋 Changeset detected

Latest commit: 849fbdb

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 Feb 8, 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 Feb 8, 2024 5:40pm

Copy link

codecov bot commented Feb 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a6dba35) 96.79% compared to head (849fbdb) 96.78%.
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2433      +/-   ##
==========================================
- Coverage   96.79%   96.78%   -0.01%     
==========================================
  Files         229      229              
  Lines       19037    19040       +3     
  Branches     1184     1185       +1     
==========================================
+ Hits        18426    18427       +1     
- Misses        598      600       +2     
  Partials       13       13              
Files Coverage Δ
packages/circuit-ui/styles/style-mixins.ts 98.27% <100.00%> (+0.01%) ⬆️

... and 1 file with indirect coverage changes

The `color-mix` function isn't supported in all target browsers, however, the overflow indicator is arguably a progressive enhancement and not essential to the user experience.
@connor-baer connor-baer changed the base branch from next to main February 8, 2024 17:39
@connor-baer connor-baer merged commit 0e0a8e8 into main Feb 8, 2024
9 of 11 checks passed
@connor-baer connor-baer deleted the fix/dark-mode branch February 8, 2024 17:51
@connor-baer connor-baer mentioned this pull request Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working as it should 🗂 circuit-ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant