0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 18:48:37 -05:00

Improved color collections color lightbox.

This commit is contained in:
Andrey Antukh 2016-05-18 20:51:09 +03:00
parent b3f50928d4
commit 25eff6a0a7
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -265,14 +265,7 @@
[:div.lightbox-body
[:h3 "New color"]
[:form
[:div.row-flex
[:input#color-hex.input-text
{:placeholder "#"
:class (form/error-class local :hex)
:on-change on-change
:value (or (:hex @local) color "")
:type "text"}]]
[:div.row-flex.center.color-picker-default
[:div.row-flex.center
(colorpicker
:value (or (:hex @local) color "#00ccff")
:on-change #(swap! local assoc :hex %))]