1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00

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

This fixes some legibility issues when using dark themes.
This commit is contained in:
MacDue 2022-07-24 00:00:49 +01:00 committed by Linus Groh
parent 977aa81310
commit 226d3fba79

View file

@ -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 {