mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
🐛 Fix problem with :multiple for colors and typographies
This commit is contained in:
parent
ed95b59003
commit
95cb6d132b
6 changed files with 43 additions and 30 deletions
|
@ -75,7 +75,8 @@
|
|||
;; (uc/hex->rgba fill-color fill-opacity))
|
||||
|
||||
[r g b a] (uc/hex->rgba fill-color fill-opacity)
|
||||
text-color (str/format "rgba(%s, %s, %s, %s)" r g b a)
|
||||
text-color (when (and (some? fill-color) (some? fill-opacity))
|
||||
(str/format "rgba(%s, %s, %s, %s)" r g b a))
|
||||
fontsdb (deref fonts/fontsdb)
|
||||
|
||||
base #js {:textDecoration text-decoration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue