From 86b758022afb8c415ffa530a9ab4f9faf6311507 Mon Sep 17 00:00:00 2001 From: desig9stein Date: Wed, 1 Oct 2025 11:23:40 +0300 Subject: [PATCH] fix(card): make sure that actions text color is not overriding the button themes --- .../core/styles/components/card/_card-theme.scss | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/projects/igniteui-angular/src/lib/core/styles/components/card/_card-theme.scss b/projects/igniteui-angular/src/lib/core/styles/components/card/_card-theme.scss index ad98603220d..84ce81ea2fa 100644 --- a/projects/igniteui-angular/src/lib/core/styles/components/card/_card-theme.scss +++ b/projects/igniteui-angular/src/lib/core/styles/components/card/_card-theme.scss @@ -220,14 +220,9 @@ display: flex; align-items: center; order: 1; - color: var-get($theme, 'actions-text-color'); margin-inline-start: auto; gap: rem(8px); - [igxIconButton] { - color: var-get($theme, 'actions-text-color'); - } - &:empty { display: none; } @@ -239,15 +234,16 @@ order: 0; gap: rem(8px); - [igxIconButton] { - color: var-get($theme, 'actions-text-color'); - } - &:empty { display: none; } } + %igx-card-actions__start, + %igx-card-actions__end { + color: var-get($theme, 'actions-text-color'); + } + %igx-card-actions__start--justify, %igx-card-actions__end--justify { justify-content: space-around;