0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 09:08:31 -05:00

Pass proper parameters to colorpicker on colores page.

This commit is contained in:
Andrey Antukh 2016-01-20 19:24:41 +02:00
parent 75656b442c
commit a832bf89b4

View file

@ -187,7 +187,9 @@
:on-change on-change
:value (or (:hex @local) color "")
:type "text"}]]
(colorpicker #(swap! local merge %))
(colorpicker {:picker {:width 205 :height 205}
:bar {:width 15 :height 205}
:callback #(swap! local merge %)})
[:input#project-btn.btn-primary
{:value "+ Add color"
:on-click submit