From 56ea863dca30a85471c5b597312c5720ccc55331 Mon Sep 17 00:00:00 2001 From: GCHQ-Developer-530 <111882034+GCHQ-Developer-530@users.noreply.github.com> Date: Thu, 19 Dec 2024 13:17:17 +0000 Subject: [PATCH] fix(web-components): update icon colours for dark mode badge Update icon colours for dark mode badge to match the text colour of badges in dark mode . #2910 --- packages/web-components/src/global/color-mode.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web-components/src/global/color-mode.css b/packages/web-components/src/global/color-mode.css index 853c3b4553..1fc998f708 100644 --- a/packages/web-components/src/global/color-mode.css +++ b/packages/web-components/src/global/color-mode.css @@ -1693,7 +1693,7 @@ ic-theme, /* Badge */ --ic-badge-text: var(--ic-color-text-inverse); - --ic-badge-icon: var(--ic-color-icon-inverted); + --ic-badge-icon: var(--ic-color-icon-neutral); --ic-badge-warning-text: var(--ic-color-text-inverse); --ic-badge-warning-icon: var(--ic-color-icon-neutral); --ic-badge-text-monochrome: var(--ic-color-text-primary); @@ -3073,7 +3073,7 @@ ic-theme, /* Badge */ --ic-badge-text: var(--ic-color-text-inverse); - --ic-badge-icon: var(--ic-color-icon-inverted); + --ic-badge-icon: var(--ic-color-icon-neutral); --ic-badge-warning-text: var(--ic-color-text-inverse); --ic-badge-warning-icon: var(--ic-color-icon-neutral); --ic-badge-text-monochrome: var(--ic-color-text-primary);