From d2f79ed3ed49126297b4fddeaf1c5652f98bcb8d Mon Sep 17 00:00:00 2001 From: Luke Fretwell Date: Sat, 1 Aug 2026 07:45:18 -0700 Subject: [PATCH] Sync scangov.css from components (text-neutral-icon utility) --- public/css/scangov.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/public/css/scangov.css b/public/css/scangov.css index e62bac0..891c4d6 100644 --- a/public/css/scangov.css +++ b/public/css/scangov.css @@ -2727,6 +2727,15 @@ a .fa-up-right-from-square { fill: var(--bs-danger) !important; } +/* Opt-out marker for a status icon used decoratively (e.g. a "Risks" card label, + not an actual warning state) - excludes it from the light-mode rule above via + the "text-" substring match, without forcing a color in dark mode too, so the + icon's normal (non-light-mode) default color is untouched there. */ +[data-bs-theme=light] .text-neutral-icon { + color: var(--bs-body-color) !important; + fill: var(--bs-body-color) !important; +} + [data-bs-theme=light] .bg-secondary-subtle { color: var(--bs-body-color) !important; background-color: #ffffff !important;