diff --git a/apps/readest-app/src/utils/style.ts b/apps/readest-app/src/utils/style.ts index a292994f..c389cbc4 100644 --- a/apps/readest-app/src/utils/style.ts +++ b/apps/readest-app/src/utils/style.ts @@ -87,12 +87,12 @@ const getFontStyles = ( body * { ${overrideFont ? 'font-family: revert !important;' : ''} } - a:any-link * { + a:any-link, a:any-link * { ${overrideFont ? `color: ${primary};` : ''} } /* https://github.com/whatwg/html/issues/5426 */ @media (prefers-color-scheme: dark) { - a:link * { + a:any-link, a:any-link * { ${overrideFont ? `color: ${primary};` : `color: lightblue;`} } }