mirror of
https://github.com/penpot/penpot.git
synced 2026-09-08 21:19:49 +00:00
Improved color collections color lightbox.
This commit is contained in:
parent
b3f50928d4
commit
25eff6a0a7
@ -265,14 +265,7 @@
|
|||||||
[:div.lightbox-body
|
[:div.lightbox-body
|
||||||
[:h3 "New color"]
|
[:h3 "New color"]
|
||||||
[:form
|
[:form
|
||||||
[:div.row-flex
|
[:div.row-flex.center
|
||||||
[: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
|
|
||||||
(colorpicker
|
(colorpicker
|
||||||
:value (or (:hex @local) color "#00ccff")
|
:value (or (:hex @local) color "#00ccff")
|
||||||
:on-change #(swap! local assoc :hex %))]
|
:on-change #(swap! local assoc :hex %))]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user