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

Color #42

Closed
mbostock opened this issue Feb 2, 2021 · 4 comments · Fixed by #190
Closed

Color #42

mbostock opened this issue Feb 2, 2021 · 4 comments · Fixed by #190
Labels
enhancement New feature or request

Comments

@mbostock
Copy link
Member

mbostock commented Feb 2, 2021

You can do Text type = color, but it’d be better with an output element to show the color value.

@mbostock mbostock added the enhancement New feature or request label Feb 2, 2021
@mootari
Copy link
Member

mootari commented Feb 4, 2021

How do you feel about optional transparency support?

@mbostock
Copy link
Member Author

mbostock commented Feb 4, 2021

@mootari Not sure what you mean. This would use the browser’s native color input, which I don’t think we have control over?

@mootari
Copy link
Member

mootari commented Feb 4, 2021

I wasn't sure how much you'd want to enhance the default color inputs. Since support for RRGGBBAA values is growing, this might have presented an opportunity to offer a compound color input with optional alpha support.

The WHATWG discussion is still meandering though, so it might indeed be better to stick to the basics, at least for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants