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 fill color for test results icon #505

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

chrisbreiding
Copy link
Contributor

@chrisbreiding chrisbreiding commented Nov 19, 2024

Without the icon-light class, it's not possible to change the little box's fill color separately from the rest of the icon.

Copy link

changeset-bot bot commented Nov 19, 2024

🦋 Changeset detected

Latest commit: 86d8541

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

This PR includes changesets to release 3 packages
Name Type
@cypress-design/icon-registry Patch
@cypress-design/react-icon Patch
@cypress-design/vue-icon 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 Nov 19, 2024

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

Name Status Preview Updated (UTC)
cypress-design ✅ Ready (Inspect) Visit Preview Nov 19, 2024 5:39pm

@@ -1,4 +1,4 @@
<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1 10H4V13H1V10Z" fill="currentColor" class="icon-dark" />
<path d="M1 10H4V13H1V10Z" fill="#D0D2E0" class="icon-light" />
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this continue to be currentColor?

Copy link
Contributor Author

@chrisbreiding chrisbreiding Nov 19, 2024

Choose a reason for hiding this comment

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

I was following what the x24 version had since it allowed changing the color of that part, but I guess it's the class that matters more. I reverted this one and updated the x24 to match.

Copy link

cypress bot commented Nov 19, 2024

cypress-design    Run #2539

Run Properties:  status check passed Passed #2539  •  git commit 8933b7d018 ℹ️: Merge 86d8541a78a5602c0285fdc343b676d006dc281c into c7d9e8c264117172cf03ef87414a...
Project cypress-design
Branch Review chrisbreiding/fix-test-results-fill-color
Run status status check passed Passed #2539
Run duration 02m 37s
Commit git commit 8933b7d018 ℹ️: Merge 86d8541a78a5602c0285fdc343b676d006dc281c into c7d9e8c264117172cf03ef87414a...
Committer Chris Breiding
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 222
View all changes introduced in this branch ↗︎
UI Coverage  11.36%
  Untested elements 166  
  Tested elements 25  
Accessibility  99.37%
  Failed rules  0 critical   1 serious   0 moderate   1 minor
  Failed elements 22  

@chrisbreiding chrisbreiding merged commit c8ec846 into main Nov 19, 2024
15 checks passed
@chrisbreiding chrisbreiding deleted the chrisbreiding/fix-test-results-fill-color branch November 19, 2024 17:48
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