浏览代码

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 4 年之前
父节点
当前提交
c2fb252ebf
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 {