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: change from hex to rgb in tests #1932

Merged
merged 1 commit into from
Jan 17, 2025
Merged

chore: change from hex to rgb in tests #1932

merged 1 commit into from
Jan 17, 2025

Conversation

j-mes
Copy link
Member

@j-mes j-mes commented Jan 16, 2025

Describe your changes

Testing the colours in o-colors now isn't being matched with hex codes, but rather rgb values with decimals which makes it even more specific and is a new standard that was recommended in February 2024 - See https://www.w3.org/TR/css-color-4/.

As a subsequent reaction, it was failing tests so this is just updating them to use rgb values with decimals. Colour me surprised, it all passed tests locally and on GitHub Actions too!

Issue ticket number and link

OR-1207

Link to Figma designs

N/A

Checklist before requesting a review

  • I have applied percy label for o-[COMPONENT] or chromatic label for o3-[COMPONENT] on my PR before merging and after review. Find more details in CONTRIBUTING.md
  • If it is a new feature, I have added thorough tests.
  • I have updated relevant docs.
  • I have updated relevant env variables in Doppler.

@notlee notlee temporarily deployed to origami-webs-o-colors-r-noqutt January 16, 2025 17:36 Inactive
@j-mes j-mes marked this pull request as ready for review January 17, 2025 09:53
@j-mes j-mes requested a review from a team as a code owner January 17, 2025 09:53
Copy link
Contributor

@notlee notlee left a comment

Choose a reason for hiding this comment

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

🙌

@j-mes j-mes merged commit 2fcc97e into main Jan 17, 2025
8 checks passed
@j-mes j-mes deleted the o-colors-rgb-fun branch January 17, 2025 10:31
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