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

Add first draft of new wide-gamut color palette #14693

Merged
merged 4 commits into from
Oct 16, 2024
Merged

Conversation

adamwathan
Copy link
Member

@adamwathan adamwathan commented Oct 16, 2024

This PR updates all of the colors in our default theme to use OKLCH instead of RGB and increases the overall chroma to take advantage of the wider color gamut.

Just a first draft based on @danhollick's initial work — expecting these will be further refined before a stable release as we continue to test them.

image

@adamwathan adamwathan force-pushed the feat/p3-color-palette branch from 4a19e77 to ca1e5e5 Compare October 16, 2024 16:54
Comment on lines +628 to +632
@theme {
--color-red: rgb(255, 0, 0);
--color-green: rgb(0, 255, 0);
--color-blue: rgb(0, 0, 255);
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Added these simple colors here so we have some stable colors to use in these UI tests, otherwise these tests are going to keep getting out of sync as we refine the color palette.

@adamwathan adamwathan merged commit 2d45f5a into next Oct 16, 2024
1 check passed
@adamwathan adamwathan deleted the feat/p3-color-palette branch October 16, 2024 19:24
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.

1 participant