From 460fe6a820299d0f41064bae0504ea380eaa74cd Mon Sep 17 00:00:00 2001 From: Alex Selimov Date: Fri, 20 Mar 2026 08:45:33 -0400 Subject: [PATCH] Fix button color swapping --- assets/auto-theme.css | 4 ++++ assets/herman.css | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/auto-theme.css b/assets/auto-theme.css index dce83e8..ee3f9a6 100644 --- a/assets/auto-theme.css +++ b/assets/auto-theme.css @@ -104,6 +104,10 @@ li { } @media (prefers-color-scheme: light) { + #upvote-btn[voted] { + color: #61ABDA; + } + body { background-color: #ffffff; color: #1f2328; diff --git a/assets/herman.css b/assets/herman.css index 8a5ca66..277fba2 100644 --- a/assets/herman.css +++ b/assets/herman.css @@ -203,7 +203,7 @@ td { background: none; border: none; cursor: pointer; - color: var(--color-light); + color: currentColor; font-size: calc(var(--size) * 4); line-height: 0.8; padding: 0;