From 032a23887a40b2cf9288eba5e8472e4e49d290a6 Mon Sep 17 00:00:00 2001 From: Luke Fretwell Date: Sat, 1 Aug 2026 07:43:40 -0700 Subject: [PATCH] Sync scangov.css from components (text-neutral-icon utility) --- public/css/scangov.css | 9 +++++++++ scripts/bundle.css | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/public/css/scangov.css b/public/css/scangov.css index e62bac04..891c4d63 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; diff --git a/scripts/bundle.css b/scripts/bundle.css index 289ec934..9dd8ae4c 100644 --- a/scripts/bundle.css +++ b/scripts/bundle.css @@ -2942,6 +2942,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;