diff options
author | MacDue <macdue@dueutil.tech> | 2022-07-24 00:00:49 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-07-24 13:31:01 +0100 |
commit | 226d3fba79e5fc042684a46f1a64ed393ec2e10c (patch) | |
tree | b4efd499e63ff7511e4b937d3c91c637008a95c1 | |
parent | 977aa8131055ef4185c6f4fbde6b1412f063f542 (diff) | |
download | serenity-226d3fba79e5fc042684a46f1a64ed393ec2e10c.zip |
LibWeb: Use the palette "button text" on buttons in the default CSS
This fixes some legibility issues when using dark themes.
-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 9c18409980..4c899894cf 100644 --- a/Userland/Libraries/LibWeb/CSS/Default.css +++ b/Userland/Libraries/LibWeb/CSS/Default.css @@ -249,6 +249,7 @@ button, input[type=submit], input[type=button], input[type=reset] { padding: 1px 4px; background-color: -libweb-palette-button; border: 1px solid -libweb-palette-threed-shadow1; + color: -libweb-palette-button-text; } button:hover, input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover { |