mirror of
https://github.com/RGBCube/serenity
synced 2025-06-11 11:22:06 +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:
parent
977aa81310
commit
226d3fba79
1 changed files with 1 additions and 0 deletions
|
@ -249,6 +249,7 @@ button, input[type=submit], input[type=button], input[type=reset] {
|
||||||
padding: 1px 4px;
|
padding: 1px 4px;
|
||||||
background-color: -libweb-palette-button;
|
background-color: -libweb-palette-button;
|
||||||
border: 1px solid -libweb-palette-threed-shadow1;
|
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 {
|
button:hover, input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue