From 226d3fba79e5fc042684a46f1a64ed393ec2e10c Mon Sep 17 00:00:00 2001 From: MacDue Date: Sun, 24 Jul 2022 00:00:49 +0100 Subject: [PATCH] LibWeb: Use the palette "button text" on buttons in the default CSS This fixes some legibility issues when using dark themes. --- 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 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 {