Explorar o código

LibWeb: Use -libweb-palette-base-text for text color in default CSS

This makes un-styled text readable when using a dark system theme,
previously such text would be black, regardless of the theme background
color.

Fixes #7274.
Linus Groh %!s(int64=4) %!d(string=hai) anos
pai
achega
c2fb252ebf
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Userland/Libraries/LibWeb/CSS/Default.css

+ 1 - 0
Userland/Libraries/LibWeb/CSS/Default.css

@@ -1,5 +1,6 @@
 html {
     font-family: sans-serif;
+    color: -libweb-palette-base-text;
 }
 
 a {