Skip to content

Commit b854190

Browse files
authored
fix: Added filters for icons for theme compatibility (#410)
1 parent 3920b4d commit b854190

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

packages/angular-sdk-components/src/lib/_components/designSystemExtension/material-summary-item/material-summary-item.component.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
.psdk-utility-card-icon {
6363
flex-grow: 1;
6464
max-width: 2.813rem;
65+
filter: var(--app-primary-color-filter);
6566
}
6667

6768
.psdk-utility-card-svg-icon {
@@ -107,4 +108,5 @@
107108
width: 1.4rem;
108109
display: inline-block;
109110
vertical-align: bottom;
111+
filter: var(--app-primary-color-filter);
110112
}

packages/angular-sdk-components/src/lib/_components/infra/stages/stages.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<div class="psdk-stages-bar">
22
<div class="psdk-stages-chevron" *ngFor="let stage of arStageResults$">
33
<div *ngIf="stage.visited_status == 'completed'" class="psdk-stages-inner-past">
4-
<img class="psdk-stages-icon" src="{{ checkSvgIcon$ }}" />{{ PCore$.getLocaleUtils().getLocaleValue(stage.name, '', key) }}
4+
<img class="psdk-stages-icon" src="{{ checkSvgIcon$ }}" />
5+
<div>{{ PCore$.getLocaleUtils().getLocaleValue(stage.name, '', key) }}</div>
56
</div>
67
<div *ngIf="stage.visited_status == 'active'" class="psdk-stages-inner-present">
78
{{ localizationService.getLocalizedText(stage.name) }}

packages/angular-sdk-components/src/lib/_components/infra/stages/stages.component.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@
2121
}
2222

2323
.psdk-stages-icon {
24-
width: 1.4rem;
24+
width: 18px;
2525
display: inline-block;
2626
vertical-align: top;
27+
filter: var(--app-primary-color-filter);
28+
margin-right: 2px;
2729
}
2830

2931
.psdk-stages-bar {
@@ -66,6 +68,8 @@
6668
.psdk-stages-inner-past {
6769
color: var(--mat-sys-outline-variant);
6870
font-size: 1rem;
71+
display: flex;
72+
align-items: center;
6973
}
7074

7175
.psdk-stages-inner-present {

packages/angular-sdk-components/src/lib/_components/widget/attachment/attachment.component.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126

127127
.psdk-attachment-card-svg-icon {
128128
width: 2.5rem;
129+
filter: var(--app-primary-color-filter);
129130
}
130131

131132
.psdk-utility-button {
@@ -138,6 +139,7 @@
138139
.psdk-utility-card-action-svg-icon {
139140
width: 1.4rem;
140141
display: inline-block;
142+
filter: var(--app-primary-color-filter);
141143
}
142144

143145
.file-div {

packages/angular-sdk-components/src/lib/_components/widget/list-utility/list-utility.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
.psdk-utility-svg-icon {
6464
width: 1.4rem;
6565
display: inline-block;
66+
filter: var(--app-primary-color-filter);
6667
}
6768

6869
.psdk-settings-svg-icon {

0 commit comments

Comments
 (0)