From e0eb725d8b9417b3b612c8f4098f227b4b2958c5 Mon Sep 17 00:00:00 2001 From: Daniil Leontev Date: Sat, 18 Oct 2025 16:25:02 +0200 Subject: [PATCH] fix: add more elements to color overrides (#2265) --- apps/readest-app/src/utils/style.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/readest-app/src/utils/style.ts b/apps/readest-app/src/utils/style.ts index deaaa3fd..efb13b77 100644 --- a/apps/readest-app/src/utils/style.ts +++ b/apps/readest-app/src/utils/style.ts @@ -132,9 +132,10 @@ const getColorStyles = ( background-color: var(--theme-bg-color, transparent); background: var(--background-set, none); } - section, div, p, font, h1, h2, h3, h4, h5, h6 { + section, div, p, font, h1, h2, h3, h4, h5, h6, li, span { ${overrideColor ? `background-color: ${bg} !important;` : ''} ${overrideColor ? `color: ${fg} !important;` : ''} + ${overrideColor ? `border-color: ${fg} !important;` : ''} } pre, span { /* inline code blocks */ ${overrideColor ? `background-color: ${bg} !important;` : ''}