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

Support CSS Color Module Level 4 #53

Merged
merged 20 commits into from
Oct 24, 2024
Merged

Support CSS Color Module Level 4 #53

merged 20 commits into from
Oct 24, 2024

Conversation

liZe
Copy link
Member

@liZe liZe commented Dec 18, 2023

Fix #47.

@liZe liZe force-pushed the color4 branch 2 times, most recently from 016f0b1 to 7f306ec Compare December 18, 2023 20:14
ax-sc and others added 10 commits June 18, 2024 23:24
Implementation of level 4 specifications is currently limited to (1) space-seperated arguments with an optional slash-seperated opacity, (2) definition of 'rebeccapurple', (3) percentages and numbers are accepted as opacity value, (4) the hwb() function and (5) hsla()/rgba() being aliases to hsl()/rgb().
- clean code and docstrings
- handle angles in hwb()
- copy extended colors to avoid a modification of color3’s list
4- and 8-digit hashes have first been added in a different CSS specification,
independant from Color Level 3.

This reverts commit c3f4c96.
@liZe liZe marked this pull request as ready for review October 24, 2024 13:47
@grewn0uille grewn0uille merged commit 58e4fa2 into main Oct 24, 2024
10 checks passed
@grewn0uille grewn0uille deleted the color4 branch October 24, 2024 14: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.

Support CSS Color Module Level 4
3 participants