From 4abaa8dd0750e0ff132d6e364a33b256e102ae16 Mon Sep 17 00:00:00 2001 From: andresin87 Date: Mon, 27 Apr 2026 10:41:44 +0200 Subject: [PATCH] fix(components/atom/icon): correct stroke inheritance logic by updating conditional check --- components/atom/icon/src/styles/index.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/atom/icon/src/styles/index.scss b/components/atom/icon/src/styles/index.scss index d0180e393..369a6bfbb 100644 --- a/components/atom/icon/src/styles/index.scss +++ b/components/atom/icon/src/styles/index.scss @@ -39,7 +39,7 @@ $base-class: '.sui-AtomIcon'; stroke: var(--color, currentColor); fill: none; path { - &:not([fill='none']) { + &:not([stroke='none']) { stroke: inherit !important; } fill: none !important; // !important usage for AtomButton compatibility