From c2fb252ebffcef55be534c9414695b94e40e9b90 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Wed, 19 May 2021 23:22:08 +0100 Subject: [PATCH] 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. --- Userland/Libraries/LibWeb/CSS/Default.css | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibWeb/CSS/Default.css b/Userland/Libraries/LibWeb/CSS/Default.css index e33642ac7a..d0ff729b4b 100644 --- a/Userland/Libraries/LibWeb/CSS/Default.css +++ b/Userland/Libraries/LibWeb/CSS/Default.css @@ -1,5 +1,6 @@ html { font-family: sans-serif; + color: -libweb-palette-base-text; } a {