css: fix hard-coded font color, closes #1695 (#1697)

This commit is contained in:
Huang Xin
2025-07-28 14:36:10 +08:00
committed by GitHub
parent 67ac09a290
commit 23fa2dc8b2
+2
View File
@@ -143,6 +143,8 @@ const getColorStyles = (
mix-blend-mode: ${isDarkMode ? 'screen' : 'multiply'};
}
/* override inline hardcoded text color */
font[color="#000000"], font[color="#000"], font[color="black"],
font[color="rgb(0,0,0)"], font[color="rgb(0, 0, 0)"],
*[style*="color: rgb(0,0,0)"], *[style*="color: rgb(0, 0, 0)"],
*[style*="color: #000"], *[style*="color: #000000"], *[style*="color: black"],
*[style*="color:rgb(0,0,0)"], *[style*="color:rgb(0, 0, 0)"],