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

🐛 Fix color of texts in pdf exported files

This commit is contained in:
Andrés Moya 2021-08-31 12:00:33 +02:00 committed by Alonso Torres
parent 23e4fa82c8
commit df8269bc7f

View file

@ -91,7 +91,10 @@
:version "1.1"
:xmlns "http://www.w3.org/2000/svg"
:xmlnsXlink "http://www.w3.org/1999/xlink"
:xmlns:penpot (when include-metadata? "https://penpot.app/xmlns")}
:xmlns:penpot (when include-metadata? "https://penpot.app/xmlns")
;; Fix Chromium bug about color of html texts
;; https://bugs.chromium.org/p/chromium/issues/detail?id=1244560#c5
:style {:-webkit-print-color-adjust :exact}}
(case (:type object)
:frame [:& frame-wrapper {:shape object :view-box vbox}]