Skip to content

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

@sidewayss

Description

@sidewayss

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?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions