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

chore: update token colors in meter, illustrated message #7205

Merged
merged 5 commits into from
Nov 6, 2024

Conversation

yihuiliao
Copy link
Member

Closes

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

@rspbot
Copy link

rspbot commented Oct 17, 2024

// TODO: ask design about what the color should be. Says gray-800 in the designs file, neutral in token spec, but different neutral in dropzone spec
default: 'gray-800',
isInDropZone: 'gray-500', // neutral doesn't seem to match the color in designs, opted for gray-500 instead
default: 'neutral',
Copy link
Member Author

Choose a reason for hiding this comment

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

according to design, the illustration should have the same color both in an IllustratedMessage and in a DropZone. the design files do not currently reflect this but there are tickets to update them

@rspbot
Copy link

rspbot commented Oct 30, 2024

@@ -82,11 +82,11 @@ const fillStyles = style<MeterStyleProps>({
borderStyle: 'none',
borderRadius: 'full',
backgroundColor: {
default: 'informative',
default: 'informative-visual',
Copy link
Member Author

Choose a reason for hiding this comment

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

matches what is in the design file. confirmed that the token accent-content-color-default which is listed in the token file is not correct with spectrum.

@adobe adobe deleted a comment from rspbot Oct 30, 2024
@yihuiliao yihuiliao changed the title (WIP) chore: update token colors in meter, illustrated message chore: update token colors in meter, illustrated message Oct 30, 2024
@rspbot
Copy link

rspbot commented Oct 31, 2024

@snowystinger
Copy link
Member

Have we run chromatic against this?

@yihuiliao
Copy link
Member Author

link to chromatic

@rspbot
Copy link

rspbot commented Nov 1, 2024

@yihuiliao yihuiliao added this pull request to the merge queue Nov 6, 2024
Merged via the queue into main with commit 09f5e8a Nov 6, 2024
31 checks passed
@yihuiliao yihuiliao deleted the meter-progress-bar-tokens branch November 6, 2024 16:52
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.

4 participants