Browse Source

LibWeb: Use the palette "button text" on buttons in the default CSS

This fixes some legibility issues when using dark themes.
MacDue 3 năm trước cách đây
mục cha
commit
226d3fba79
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      Userland/Libraries/LibWeb/CSS/Default.css

+ 1 - 0
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 {