Allow CSS rendering of faces to use current theme

This commit is contained in:
Ellis Kenyo 2024-04-21 16:20:35 +08:00 committed by TEC
parent 9010e61dc7
commit 4fdba88f1f
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ and the current theme otherwise."
(concat pre
(string-join
(cl-map 'list (lambda (attr)
(let ((val (ox-chameleon--face-attr face (car attr) t)))
(let ((val (ox-chameleon--face-attr face (car attr))))
(when (engrave-faces--check-nondefault (car attr) val)
(format "%s: %s;" (cdr attr)
(if (eq :weight (car attr))