Skip to content

styles: Use numeric darkness naming and HSL for color values #3237

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

Merged
merged 2 commits into from
Feb 5, 2021

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Feb 4, 2021

This PR refactors our CSS color variables to use numeric darkness values in their names (e.g. grey900 and yellow500), instead of "dark, darker, darkest, ...". It also switches those color values over to use HSL instead of RGB to make it easier to find good light/dark variants of the colors in the future. The actual colors did not change though, they were only converted to the other representation :)

r? @locks

@locks
Copy link
Contributor

locks commented Feb 5, 2021

Let's do this!

@bors r+

@bors
Copy link
Contributor

bors commented Feb 5, 2021

📌 Commit a01f488 has been approved by locks

@bors
Copy link
Contributor

bors commented Feb 5, 2021

⌛ Testing commit a01f488 with merge f743cc8...

@bors
Copy link
Contributor

bors commented Feb 5, 2021

☀️ Test successful - checks-actions
Approved by: locks
Pushing f743cc8 to master...

@bors bors merged commit f743cc8 into rust-lang:master Feb 5, 2021
@Turbo87 Turbo87 deleted the color-vars branch February 5, 2021 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants