mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 13:31:40 +02:00
✨ Add title to color bullets
This commit is contained in:
parent
0bc24bb6eb
commit
494b08b975
2 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
|||
:is-not-library-color (nil? (:id color))
|
||||
:is-gradient (some? (:gradient color)))
|
||||
:on-click on-click
|
||||
:alt (or (:name color) (:color color) (gradient-type->string (:type (:gradient color))))}
|
||||
:title (or (:name color) (:color color) (gradient-type->string (:type (:gradient color))))}
|
||||
(if (:gradient color)
|
||||
[:div.color-bullet-wrapper {:style {:background (uc/color->background color)}}]
|
||||
[:div.color-bullet-wrapper
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue