App with prototype <color-input> #162
sidewayss
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
See #158. I just now made up the name
<color-input>. The idea is that it's an emulation and replacement for<input type="color">.I have a working prototype, without
<color-swatch>and adapted to my existing app, here: https://sidewayss.github.io/rAF/apps/color/App docs are here: https://sidewayss.github.io/rAF/apps/#color (I have yet to update them for this change)
Source is here: https://github.com/sidewayss/rAF/tree/main/apps/color
Check out the colored rectangles at the far right of the
Start:andEnd:fields, the 2nd and 3rd rows in the form. They are<button>s that wrap a swatchy<div>, and open a<dialog>that wraps:<color-picker><select>of color spacesI'll be posting the app in the color.js repo Show & Tell as soon as it's ready for release, in the near future. I am posting this here because I want to draw attention to the proposal in #158, and because this repo is more "experimental" and I'm looking for feedback on this before I release the app.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions