fix: Use the right text color on input elements

This commit is contained in:
Ginger
2026-04-30 17:05:54 -04:00
parent 950d7ae3d9
commit a912dcc106
+6 -5
View File
@@ -197,16 +197,12 @@ input, button, a.button {
font-size: inherit; font-size: inherit;
font-family: inherit; font-family: inherit;
line-height: normal; line-height: normal;
color: white; color: var(--text-color);
text-decoration: none; text-decoration: none;
background-color: transparent; background-color: transparent;
border: none; border: none;
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
&:visited {
color: white;
}
} }
input { input {
@@ -224,6 +220,7 @@ input[type="checkbox"] {
} }
button, a.button { button, a.button {
color: white;
background-color: var(--c1); background-color: var(--c1);
transition: opacity .2s; transition: opacity .2s;
text-align: center; text-align: center;
@@ -241,6 +238,10 @@ button, a.button {
&:not(:disabled) { &:not(:disabled) {
transition: linear color, background-color 0.1s; transition: linear color, background-color 0.1s;
} }
&:visited {
color: white;
}
} }
h1 { h1 {