@onemrvapublic/design-system-theme 20.7.0-develop.6 → 20.7.0-develop.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.scss +1 -0
- package/overrides/_button.scss +5 -2
- package/overrides/_dialogs.scss +49 -23
- package/overrides/_form-field.scss +1 -0
- package/overrides/_tabs.scss +1 -1
- package/package.json +1 -1
package/index.scss
CHANGED
package/overrides/_button.scss
CHANGED
|
@@ -4,16 +4,20 @@
|
|
|
4
4
|
@mixin override() {
|
|
5
5
|
@include mat.button-overrides(
|
|
6
6
|
(
|
|
7
|
+
filled-label-text-font: Poppins,
|
|
8
|
+
outlined-label-text-font: Poppins,
|
|
9
|
+
text-label-text-font: Poppins,
|
|
10
|
+
|
|
7
11
|
outlined-outline-color: var(--mat-sys-primary),
|
|
8
12
|
outlined-label-text-color: var(--mat-sys-primary),
|
|
9
13
|
outlined-outline-width: 2px,
|
|
10
14
|
outlined-container-height: 2.25rem,
|
|
11
|
-
outlined-label-text-font: Poppins,
|
|
12
15
|
outlined-label-text-size: 1rem,
|
|
13
16
|
outlined-label-text-weight: 500,
|
|
14
17
|
outlined-hover-state-layer-opacity: 0,
|
|
15
18
|
outlined-focus-state-layer-opacity: 0,
|
|
16
19
|
outlined-pressed-state-layer-opacity: 0,
|
|
20
|
+
|
|
17
21
|
filled-horizontal-padding: var(--double-spacer),
|
|
18
22
|
filled-container-height: 2.25rem,
|
|
19
23
|
filled-label-text-color: var(--on-background-gradient),
|
|
@@ -22,7 +26,6 @@
|
|
|
22
26
|
protected-hover-container-elevation-shadow: -4px -4px 5px 0px
|
|
23
27
|
rgba(200, 200, 200, 0.5),
|
|
24
28
|
protected-container-shape: square,
|
|
25
|
-
protected-label-text-color: green,
|
|
26
29
|
)
|
|
27
30
|
);
|
|
28
31
|
.mdc-icon-button {
|
package/overrides/_dialogs.scss
CHANGED
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
@include mat.dialog-overrides(
|
|
5
5
|
(
|
|
6
6
|
container-shape: var(--half-border-radius),
|
|
7
|
-
subhead-color: var(--mat-sys-primary),
|
|
8
|
-
subhead-font: var(--),
|
|
9
7
|
)
|
|
10
8
|
);
|
|
11
9
|
|
|
@@ -14,13 +12,60 @@
|
|
|
14
12
|
top: var(--double-spacer);
|
|
15
13
|
right: var(--double-spacer);
|
|
16
14
|
mat-icon {
|
|
17
|
-
|
|
15
|
+
color: var(--mat-sys-primary);
|
|
16
|
+
font-size: 1.7rem;
|
|
18
17
|
}
|
|
19
18
|
&:hover {
|
|
20
19
|
cursor: pointer;
|
|
21
20
|
}
|
|
22
21
|
}
|
|
23
22
|
|
|
23
|
+
.cdk-overlay-container {
|
|
24
|
+
.panel-size-xlarge {
|
|
25
|
+
--mat-dialog-container-max-width: 996px;
|
|
26
|
+
--mat-dialog-container-min-width: 996px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.panel-size-large {
|
|
30
|
+
--mat-dialog-container-max-width: 812px;
|
|
31
|
+
--mat-dialog-container-min-width: 812px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.panel-size-medium {
|
|
35
|
+
--mat-dialog-container-max-width: 628px;
|
|
36
|
+
--mat-dialog-container-min-width: 628px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.panel-size-small {
|
|
40
|
+
--mat-dialog-container-max-width: 444px;
|
|
41
|
+
--mat-dialog-container-min-width: 444px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
*[mat-dialog-title] {
|
|
46
|
+
display: flex;
|
|
47
|
+
padding-top: 24px;
|
|
48
|
+
//--mat-dialog-subhead-color: #{map-get(map-get($palette, success), 40)};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.panel-type-success {
|
|
52
|
+
*[mat-dialog-title] {
|
|
53
|
+
--mat-dialog-subhead-color: var(--mat-sys-on-surface);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.panel-type-warn {
|
|
58
|
+
*[mat-dialog-title] {
|
|
59
|
+
--mat-dialog-subhead-color: var(--mat-sys-on-surface);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.panel-type-error {
|
|
64
|
+
*[mat-dialog-title] {
|
|
65
|
+
--mat-dialog-subhead-color: var(--mat-sys-on-surface);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
24
69
|
//
|
|
25
70
|
//.mdc-dialog__title::before {
|
|
26
71
|
// height: auto;
|
|
@@ -63,26 +108,7 @@
|
|
|
63
108
|
// justify-content: end;
|
|
64
109
|
// }
|
|
65
110
|
//}
|
|
66
|
-
|
|
67
|
-
// .mat-mdc-dialog-container {
|
|
68
|
-
// width: 996px;
|
|
69
|
-
// }
|
|
70
|
-
//}
|
|
71
|
-
//.large {
|
|
72
|
-
// .mat-mdc-dialog-container {
|
|
73
|
-
// width: 812px;
|
|
74
|
-
// }
|
|
75
|
-
//}
|
|
76
|
-
//.medium {
|
|
77
|
-
// .mat-mdc-dialog-container {
|
|
78
|
-
// width: 628px;
|
|
79
|
-
// }
|
|
80
|
-
//}
|
|
81
|
-
//.small {
|
|
82
|
-
// .mat-mdc-dialog-container {
|
|
83
|
-
// width: 444px;
|
|
84
|
-
// }
|
|
85
|
-
//}
|
|
111
|
+
|
|
86
112
|
//.mat-success,
|
|
87
113
|
//.mat-error,
|
|
88
114
|
//.mat-warn {
|
package/overrides/_tabs.scss
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
active-indicator-height: 3px,
|
|
10
10
|
label-text-font: var(--mat-sys-title-medium-font),
|
|
11
11
|
label-text-size: var(--mat-sys-title-medium-size),
|
|
12
|
-
label-text-weight: var(--mat-sys-title-medium-weight),
|
|
12
|
+
//label-text-weight: var(--mat-sys-title-medium-weight),
|
|
13
13
|
label-text-line-height: var(--mat-sys-title-medium-height),
|
|
14
14
|
)
|
|
15
15
|
);
|