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

[space-picker] user color space included when import {colorjs.io/dist/color.js} not {colorjs.io/src/index.js} #192

Open
sidewayss opened this issue Jan 2, 2025 · 0 comments

Comments

@sidewayss
Copy link

Source code is here: https://github.com/sidewayss/sidewayss.github.io/tree/main/scratch

Both these pages create a custom color space and add it to the registry. The only difference between the two files is:

 import Color from "https://colorjs.io/dist/color.js";

versus

import Color from "https://colorjs.io/src/index.js";

This page's picker includes the custom color space in the <space-picker>, as the last item in the list: "sRGB (0-255)".

This page's picker does not include it.

Is there a way to work around this? Or is this a feature request?

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

No branches or pull requests

1 participant