summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-05-19 23:22:08 +0100
committerLinus Groh <mail@linusgroh.de>2021-05-19 23:23:48 +0100
commitc2fb252ebffcef55be534c9414695b94e40e9b90 (patch)
treef6cb5fe2b7db36b39e474fb36d7fb9ccd2352103 /Userland
parent6394ea00d841aefd872b115f64777ce7a01f8e25 (diff)
downloadserenity-c2fb252ebffcef55be534c9414695b94e40e9b90.zip
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.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Default.css1
1 files changed, 1 insertions, 0 deletions
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 {