Skip to content

Commit 5bb55f8

Browse files
authored
fix(card): make sure that actions text color is not overriding the button themes (#16277)
1 parent 6b3b664 commit 5bb55f8

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

projects/igniteui-angular/src/lib/core/styles/components/card/_card-theme.scss

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,9 @@
219219
display: flex;
220220
align-items: center;
221221
order: 1;
222-
color: var-get($theme, 'actions-text-color');
223222
margin-inline-start: auto;
224223
gap: rem(8px);
225224

226-
[igxIconButton] {
227-
color: var-get($theme, 'actions-text-color');
228-
}
229-
230225
&:empty {
231226
display: none;
232227
}
@@ -238,15 +233,16 @@
238233
order: 0;
239234
gap: rem(8px);
240235

241-
[igxIconButton] {
242-
color: var-get($theme, 'actions-text-color');
243-
}
244-
245236
&:empty {
246237
display: none;
247238
}
248239
}
249240

241+
%igx-card-actions__start,
242+
%igx-card-actions__end {
243+
color: var-get($theme, 'actions-text-color');
244+
}
245+
250246
%igx-card-actions__start--justify,
251247
%igx-card-actions__end--justify {
252248
justify-content: space-around;

0 commit comments

Comments
 (0)