mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +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
|
||||
: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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user