From 6a1e185877d0e0cafe3dd624f5feb385f2d4298b Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Thu, 5 Mar 2026 13:24:41 +0100 Subject: [PATCH] fix(button): remove color override on anchor buttons `a.btn` had `color: inherit` which overrode variant-specific colors (e.g. `--fg-on-accent` on `.btn-primary`) due to higher specificity (element+class > class). This caused black text on primary link buttons in light mode. Let variant classes control text color instead. --- src/ui/button.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ui/button.css b/src/ui/button.css index 272ee94..06c73a4 100644 --- a/src/ui/button.css +++ b/src/ui/button.css @@ -61,11 +61,9 @@ /* Link buttons rendered as need reset styles */ a.btn { text-decoration: none; - color: inherit; } a.btn-link { text-decoration: underline; - color: var(--accent); } .btn-sm {