mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 10:56:20 +00:00
Pass proper parameters to colorpicker on colores page.
This commit is contained in:
parent
75656b442c
commit
a832bf89b4
@ -187,7 +187,9 @@
|
|||||||
:on-change on-change
|
:on-change on-change
|
||||||
:value (or (:hex @local) color "")
|
:value (or (:hex @local) color "")
|
||||||
:type "text"}]]
|
: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
|
[:input#project-btn.btn-primary
|
||||||
{:value "+ Add color"
|
{:value "+ Add color"
|
||||||
:on-click submit
|
:on-click submit
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user