diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-19 23:22:08 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-19 23:23:48 +0100 |
commit | c2fb252ebffcef55be534c9414695b94e40e9b90 (patch) | |
tree | f6cb5fe2b7db36b39e474fb36d7fb9ccd2352103 /Userland | |
parent | 6394ea00d841aefd872b115f64777ce7a01f8e25 (diff) | |
download | serenity-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.css | 1 |
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 { |