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:
parent
b3f50928d4
commit
25eff6a0a7
1 changed files with 1 additions and 8 deletions
|
@ -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 %))]
|
||||
|
|
Loading…
Add table
Reference in a new issue