mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 11:18:34 +02:00
✨ Information panels
This commit is contained in:
parent
04f620ec00
commit
1e48221d7b
10 changed files with 713 additions and 18 deletions
|
@ -36,7 +36,7 @@
|
|||
(let [color (if (string? color) {:color color :opacity 1} color)
|
||||
{:keys [name color opacity gradient]} color
|
||||
color-str (or name color (gradient-type->string (:type gradient)))]
|
||||
(when (= size :big)
|
||||
(when (or (not size) (= size :big))
|
||||
[:span.color-text {:on-click #(when on-click (on-click %))
|
||||
:on-double-click #(when on-double-click (on-double-click %))
|
||||
:title name } color-str])))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue