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:
parent
75656b442c
commit
a832bf89b4
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue