0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 09:08:31 -05:00

Add title to color bullets

This commit is contained in:
Eva 2022-09-27 12:57:20 +02:00
parent 0bc24bb6eb
commit 494b08b975
2 changed files with 2 additions and 1 deletions

View file

@ -11,6 +11,7 @@
### :sparkles: New features ### :sparkles: New features
- Add title to color bullets [Taiga #4218](https://tree.taiga.io/project/penpot/task/4218)
- Add team hero in projects dashboard [Taiga #3863](https://tree.taiga.io/project/penpot/us/3863) - Add team hero in projects dashboard [Taiga #3863](https://tree.taiga.io/project/penpot/us/3863)
- Add zoom style to shared link [Taiga #3874](https://tree.taiga.io/project/penpot/us/3874) - Add zoom style to shared link [Taiga #3874](https://tree.taiga.io/project/penpot/us/3874)
- Add dashboard creation button as placeholder [Taiga #3861](https://tree.taiga.io/project/penpot/us/3861) - Add dashboard creation button as placeholder [Taiga #3861](https://tree.taiga.io/project/penpot/us/3861)

View file

@ -36,7 +36,7 @@
:is-not-library-color (nil? (:id color)) :is-not-library-color (nil? (:id color))
:is-gradient (some? (:gradient color))) :is-gradient (some? (:gradient color)))
:on-click on-click :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) (if (:gradient color)
[:div.color-bullet-wrapper {:style {:background (uc/color->background color)}}] [:div.color-bullet-wrapper {:style {:background (uc/color->background color)}}]
[:div.color-bullet-wrapper [:div.color-bullet-wrapper