Skip to content

Commit 99f8662

Browse files
vishalshrm539Sharma
andauthored
Fixed various theming issues and added mediaco theme (#393)
* Fixed various theming issues and added mediaco theme * Renamed mediaco theme --------- Co-authored-by: Sharma <[email protected]>
1 parent ac85a5e commit 99f8662

File tree

7 files changed

+30
-12
lines changed

7 files changed

+30
-12
lines changed

packages/angular-sdk-components/src/lib/_components/designSystemExtension/wss-quick-create/wss-quick-create.component.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
.quick-link-button {
2424
text-transform: capitalize !important;
2525
font-size: 16px !important;
26-
color: var(--app-form-color) !important;
2726
cursor: pointer;
2827
padding: calc(0.5rem * 2) !important;
2928
height: 10rem;

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

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
77
min-width: unset;
88
}
99

10-
.psdk-icon-current {
11-
}
12-
13-
.psdk-icon-not-current {
14-
}
15-
1610
.psdk-current-svg-icon {
1711
width: 1rem;
1812
filter: var(--app-primary-color-filter);
@@ -33,9 +27,11 @@ mat-horizontal-stepper {
3327
.psdk-sub-step-current {
3428
padding-left: 0.625rem;
3529
font-weight: bold;
30+
color: var(--mat-sys-on-secondary-container);
3631
}
3732

3833
.psdk-sub-step-not-current {
34+
color: var(--mat-sys-on-surface-variant);
3935
padding-left: 0.625rem;
4036
}
4137

@@ -76,6 +72,7 @@ mat-horizontal-stepper {
7672

7773
.psdk-vertical-step-icon {
7874
margin-right: 12px;
75+
background-color: var(--mat-sys-secondary);
7976
border-radius: 50%;
8077
height: 24px;
8178
width: 24px;
@@ -92,6 +89,8 @@ mat-horizontal-stepper {
9289

9390
.psdk-vertical-step-icon-selected {
9491
margin-right: 12px;
92+
background-color: var(--mat-sys-primary);
93+
color: var(--mat-sys-surface);
9594
border-radius: 50%;
9695
height: 24px;
9796
width: 24px;
@@ -100,6 +99,7 @@ mat-horizontal-stepper {
10099
}
101100

102101
.psdk-vertical-step-label {
102+
color: var(--mat-sys-on-surface-variant);
103103
display: inline-block;
104104
white-space: nowrap;
105105
overflow: hidden;
@@ -111,6 +111,7 @@ mat-horizontal-stepper {
111111
}
112112

113113
.psdk-vertical-step-label-selected {
114+
color: var(--mat-sys-on-secondary-container);
114115
display: inline-block;
115116
white-space: nowrap;
116117
overflow: hidden;
@@ -169,6 +170,8 @@ mat-horizontal-stepper {
169170
}
170171

171172
.psdk-horizontal-step-icon {
173+
background-color: var(--mat-sys-secondary);
174+
color: var(--mat-sys-surface);
172175
border-radius: 50%;
173176
height: 24px;
174177
width: 24px;
@@ -188,6 +191,8 @@ mat-horizontal-stepper {
188191
}
189192

190193
.psdk-horizontal-step-icon-selected {
194+
background-color: var(--mat-sys-primary);
195+
color: var(--mat-sys-surface);
191196
border-radius: 50%;
192197
height: 24px;
193198
width: 24px;
@@ -199,6 +204,7 @@ mat-horizontal-stepper {
199204
}
200205

201206
.psdk-horizontal-step-label {
207+
color: var(--mat-sys-on-surface-variant);
202208
display: inline-block;
203209
min-width: 50px;
204210
vertical-align: middle;
@@ -208,6 +214,7 @@ mat-horizontal-stepper {
208214
}
209215

210216
.psdk-horizontal-step-label-selected {
217+
color: var(--mat-sys-on-secondary-container);
211218
display: inline-block;
212219
min-width: 50px;
213220
vertical-align: middle;

packages/angular-sdk-components/src/lib/_components/template/list-view/list-view.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
table {
77
width: 100%;
8-
border-bottom: 1px solid var(--app-neutral-light-color);
8+
border-bottom: 1px solid var(--mat-sys-on-secondary-container);
99
}
1010

1111
.search-label {
@@ -176,7 +176,7 @@ tr.mat-mdc-row {
176176
::ng-deep th.mat-mdc-header-cell,
177177
td.mat-mdc-cell,
178178
td.mat-mdc-footer-cell {
179-
border-right: 1px solid var(--app-neutral-light-color);
179+
border-right: 1px solid var(--mat-sys-on-secondary-container);
180180
padding: 8px !important;
181181
// min-width: 10rem;
182182
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
}
4646

4747
.psdk-attachment-list {
48-
border: 1px solid var(--app-neutral-color);
48+
border: 1px solid var(--mat-sys-secondary);
4949
}
5050

5151
::ng-deep .mat-mdc-form-field-infix {
@@ -90,7 +90,7 @@
9090
}
9191

9292
.psdk-attachment-list {
93-
border: 1px solid var(--app-neutral-color);
93+
border: 1px solid var(--mat-sys-secondary);
9494
}
9595

9696
::ng-deep .mat-mdc-form-field-infix {

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
padding: 1rem;
1414
background-color: var(--mat-sys-surface-container);
1515
border-radius: 0.6125rem;
16+
border-left: 6px solid;
17+
border-left-color: var(--mat-sys-primary);
1618
}
1719

1820
.psdk-todo-header {

projects/angular-test-app/src/app/_samples/full-portal/full-portal.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
right: 1em;
4747
background: none;
4848
font-size: 1em;
49-
border: 3px solid var(--app-neutral-color);
49+
border: 3px solid var(--mat-sys-secondary);
5050
border-radius: 10px;
5151
padding: 8px 2em;
5252
font-weight: 500;

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,16 @@
267267
);
268268
}
269269

270+
.mediaco {
271+
@include mat.theme(
272+
(
273+
color: mat.$magenta-palette,
274+
typography: Roboto,
275+
density: 0
276+
)
277+
);
278+
}
279+
270280
//Mixins
271281
@mixin generate-theme-vars() {
272282
--app-alert-error-color: rgb(82, 21, 8);

0 commit comments

Comments
 (0)