Skip to content

Commit b2aeb57

Browse files
committed
fix(card): make sure that actions text color is not overriding the button themes
1 parent 315a224 commit b2aeb57

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
@@ -220,14 +220,9 @@
220220
display: flex;
221221
align-items: center;
222222
order: 1;
223-
color: var-get($theme, 'actions-text-color');
224223
margin-inline-start: auto;
225224
gap: rem(8px);
226225

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

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

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

0 commit comments

Comments
 (0)