mirror of
https://github.com/penpot/penpot.git
synced 2025-01-20 05:34:23 -05:00
🐛 fix token input color swatch
This commit is contained in:
parent
2464ae1eef
commit
76b2760737
1 changed files with 3 additions and 2 deletions
|
@ -398,8 +398,9 @@ Token names should only contain letters and digits separated by . characters.")}
|
|||
:external-ref value-input-ref
|
||||
:on-change on-update-value
|
||||
:on-blur on-update-value}
|
||||
[:> input-token-color-bullet*
|
||||
{:color @color :on-click on-display-colorpicker}]]
|
||||
(when color?
|
||||
[:> input-token-color-bullet*
|
||||
{:color @color :on-click on-display-colorpicker}])]
|
||||
|
||||
(when @color-ramp-open?
|
||||
[:& ramp {:color (some-> (or @token-resolve-result (:value token))
|
||||
|
|
Loading…
Add table
Reference in a new issue