feat(css): support overriding link color (#2830)

This commit is contained in:
Huang Xin
2026-01-02 14:15:02 +01:00
committed by GitHub
parent c080e6fdd3
commit d9116d619a
+1 -1
View File
@@ -144,7 +144,7 @@ const getColorStyles = (
${overrideColor ? `background-color: ${bg} !important;` : ''}
}
a:any-link {
${overrideColor ? `color: ${primary};` : isDarkMode ? `color: lightblue;` : ''}
${overrideColor ? `color: ${primary} !important;` : isDarkMode ? `color: lightblue;` : ''}
text-decoration: ${isEink ? 'underline' : 'none'};
}
body.pbg {