Skip to content

Commit 1dcb796

Browse files
committed
minor changes
1 parent 4bfb877 commit 1dcb796

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed

packages/angular-sdk-components/src/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<dd class="psdk-csf-primary-field-data" [ngSwitch]="field.type.toLowerCase()">
1515
<span *ngSwitchCase="'textinput'" class="psdk-csf-text-style">{{ field.config.value }}</span>
1616
<span *ngSwitchCase="'status'" class="psdk-csf-status-style">{{ field.config.value }}</span>
17-
<a *ngSwitchCase="'phone'" class="details-communication-field" as="a" href="tel: {{ field.config.value }}">{{ field.config.value }}</a>
18-
<a *ngSwitchCase="'email'" class="details-communication-field" href="mailto: {{ field.config.value }}">{{ field.config.value }}</a>
17+
<a *ngSwitchCase="'phone'" class="psdk-primary-color" as="a" href="tel: {{ field.config.value }}">{{ field.config.value }}</a>
18+
<a *ngSwitchCase="'email'" class="psdk-primary-color" href="mailto: {{ field.config.value }}">{{ field.config.value }}</a>
1919
<span *ngSwitchCase="'date'" class="psdk-csf-text-style">{{ field.config.value }}</span>
2020
<label *ngSwitchCase="'caseoperator'">operator</label>
2121
<span *ngSwitchDefault class="psdk-csf-text-style">{{ field.config.value }}</span>

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,7 @@ span.psdk-csf-status-style {
106106
.psdk-secondary-value {
107107
font-size: 1rem;
108108
}
109+
110+
.psdk-primary-color {
111+
color: var(--mat-sys-primary);
112+
}

packages/angular-sdk-components/src/lib/_components/designSystemExtension/material-details-fields/material-details-fields.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
<div [ngSwitch]="field.type.toLowerCase()" class="psdk-csf-primary-field-value">
1818
<span *ngSwitchCase="'textinput'" class="psdk-details-text-style">{{ _getValue(field.config.value) }}</span>
1919
<span *ngSwitchCase="'status'" class="psdk-details-status-style">{{ _getValue(field.config.value) }}</span>
20-
<a *ngSwitchCase="'phone'" class="details-communication-field" as="a" href="tel: {{ field.config.value }}">{{
20+
<a *ngSwitchCase="'phone'" class="psdk-primary-color" as="a" href="tel: {{ field.config.value }}">{{
2121
_getValue(field.config.value)
2222
}}</a>
23-
<a *ngSwitchCase="'email'" class="details-communication-field" href="mailto: {{ field.config.value }}">{{
23+
<a *ngSwitchCase="'email'" class="psdk-primary-color" href="mailto: {{ field.config.value }}">{{
2424
_getValue(field.config.value)
2525
}}</a>
2626
<span *ngSwitchCase="'date'" class="psdk-details-text-style">{{ _formatDate(field.config.value, field.type) }}</span>

packages/angular-sdk-components/src/lib/_components/designSystemExtension/material-details-fields/material-details-fields.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,7 @@ span.psdk-details-status-style-hf {
2828
.psdk-csf-primary-field-value {
2929
margin: 8px 0;
3030
}
31+
32+
.psdk-primary-color {
33+
color: var(--mat-sys-primary);
34+
}

projects/angular-test-app/src/app/_samples/embedded/embedded.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import { MainScreenComponent } from './main-screen/main-screen.component';
1515

1616
import { getSdkComponentMap } from 'packages/angular-sdk-components/src/lib/_bridge/helpers/sdk_component_map';
1717
import localSdkComponentMap from 'packages/angular-sdk-components/src/sdk-local-component-map';
18-
import { initializeAuthentication } from './utils';
1918
import { ThemeService } from 'packages/angular-sdk-components/src/lib/_services/theme.service';
19+
import { initializeAuthentication } from './utils';
2020

2121
declare global {
2222
interface Window {

projects/angular-test-app/src/styles.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,3 @@ a.mat-mdc-menu-item > mat-icon {
7676
.mat-mdc-form-field {
7777
margin: 8px 0;
7878
}
79-
80-
.details-communication-field {
81-
color: var(--mat-sys-primary);
82-
}

0 commit comments

Comments
 (0)