mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 09:08:31 -05:00
🐛 Fix text exportation on svg with colors.
This commit is contained in:
parent
43bd98151a
commit
9b8ec1ac02
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@
|
|||
[shape]
|
||||
(let [colors (->> shape :content
|
||||
(tree-seq map? :children)
|
||||
(into #{} (comp (map :fill) (filter string?))))]
|
||||
(into #{} (comp (map :fill-color) (filter string?))))]
|
||||
(if (empty? colors)
|
||||
"#000000"
|
||||
(apply str (interpose "," colors)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue