From a912dcc106fb3bd8c195cccd1f5d54234fa67359 Mon Sep 17 00:00:00 2001 From: Ginger Date: Thu, 30 Apr 2026 17:05:54 -0400 Subject: [PATCH] fix: Use the right text color on input elements --- src/web/pages/resources/common.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/web/pages/resources/common.css b/src/web/pages/resources/common.css index 75c5432d1..068e0de33 100644 --- a/src/web/pages/resources/common.css +++ b/src/web/pages/resources/common.css @@ -197,16 +197,12 @@ input, button, a.button { font-size: inherit; font-family: inherit; line-height: normal; - color: white; + color: var(--text-color); text-decoration: none; background-color: transparent; border: none; border-radius: var(--border-radius-sm); - - &:visited { - color: white; - } } input { @@ -224,6 +220,7 @@ input[type="checkbox"] { } button, a.button { + color: white; background-color: var(--c1); transition: opacity .2s; text-align: center; @@ -241,6 +238,10 @@ button, a.button { &:not(:disabled) { transition: linear color, background-color 0.1s; } + + &:visited { + color: white; + } } h1 {