mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
fix: highlight text color
This commit is contained in:
committed by
Tienson Qin
parent
7804fee8c3
commit
1b052a75c6
@@ -1925,7 +1925,8 @@
|
||||
(when bg-color
|
||||
{:style {:background-color (if (some #{bg-color} ui/block-background-colors)
|
||||
(str "var(--ls-highlight-color-" bg-color ")")
|
||||
bg-color)}
|
||||
bg-color)
|
||||
:color (when-not (some #{bg-color} ui/block-background-colors) "white")}
|
||||
:class "px-1 with-bg-color"}))
|
||||
(remove-nils
|
||||
(concat
|
||||
|
||||
Reference in New Issue
Block a user