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

Use shorter coordinate names for consistency with Color API #144

Closed
LeaVerou opened this issue Jun 16, 2022 · 0 comments
Closed

Use shorter coordinate names for consistency with Color API #144

LeaVerou opened this issue Jun 16, 2022 · 0 comments
Assignees
Labels
Breaking change color-api Parity with the Color API

Comments

@LeaVerou
Copy link
Member

E.g. hsl.l instead of hsl.lightness

We can have the longer ones as optional labels, to facilitate automatic generation of UIs.

@LeaVerou LeaVerou added color-api Parity with the Color API Breaking change labels Jun 16, 2022
@LeaVerou LeaVerou self-assigned this Jun 19, 2022
LeaVerou added a commit that referenced this issue Jun 19, 2022
LeaVerou added a commit that referenced this issue Jun 21, 2022
- Use ColorSpace (and RGBColorSpace) objects instead of ad hoc literals. Fixes #113
- Use shorter coordinate names, fixes #144
- Explicit range vs reference range distinction
- Remove Color.defineSpace() as we are not using it anymore
LeaVerou added a commit that referenced this issue Jun 21, 2022
LeaVerou added a commit that referenced this issue Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking change color-api Parity with the Color API
Projects
None yet
Development

No branches or pull requests

1 participant