diff --git a/src/components/Settings/ReadingDisplaySettings.tsx b/src/components/Settings/ReadingDisplaySettings.tsx index 483f51fe..2767a921 100644 --- a/src/components/Settings/ReadingDisplaySettings.tsx +++ b/src/components/Settings/ReadingDisplaySettings.tsx @@ -208,8 +208,9 @@ const ReadingDisplaySettings: React.FC = ({ setting fontSize: `${settings.fontSize || 21}px`, '--highlight-rgb': hexToRgb(settings.highlightColor || '#ffff00'), '--paragraph-alignment': settings.paragraphAlignment || 'justify', - '--color-link-dark': settings.linkColorDark || '#38bdf8', - '--color-link-light': settings.linkColorLight || '#3b82f6' + '--color-link': isDark + ? (settings.linkColorDark || '#38bdf8') + : (settings.linkColorLight || '#3b82f6') } as React.CSSProperties} >

The Quick Brown Fox