@onemrvapublic/design-system-theme 17.2.43 → 17.2.44
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/components/_autocomplete.scss +10 -0
- package/components/_buttons.scss +8 -9
- package/components/_cards.scss +6 -0
- package/components/_checkbox.scss +7 -0
- package/components/_chips.scss +20 -50
- package/components/_datepicker.scss +9 -0
- package/components/_dialogs.scss +8 -0
- package/components/_expansion.scss +11 -0
- package/components/_form-field.scss +11 -0
- package/components/_icon.scss +9 -0
- package/components/_lists.scss +5 -0
- package/components/_menu.scss +7 -0
- package/components/_progress-bar.scss +5 -0
- package/components/_radio.scss +5 -0
- package/components/_select.scss +6 -1
- package/components/_slide-toggle.scss +5 -0
- package/components/_snackbar.scss +6 -0
- package/components/_stepper.scss +6 -0
- package/components/_tables.scss +6 -0
- package/components/_tabs.scss +6 -0
- package/components/_text-inputs.scss +11 -9
- package/components/_toolbar.scss +6 -1
- package/components/_tooltip.scss +6 -0
- package/index.scss +14 -6
- package/package.json +1 -1
- /package/components/{_choice-button.scss → _choice-chips.scss} +0 -0
|
@@ -1,4 +1,14 @@
|
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
|
|
1
4
|
@mixin theme($theme) {
|
|
5
|
+
|
|
6
|
+
@include mat.autocomplete-base($theme);
|
|
7
|
+
@include mat.autocomplete-theme($theme);
|
|
8
|
+
@include mat.autocomplete-typography(map.get($theme, typography));
|
|
9
|
+
@include mat.autocomplete-color(map.get($theme, color));
|
|
10
|
+
@include mat.autocomplete-density($theme);
|
|
11
|
+
|
|
2
12
|
.mdc-menu-surface.mat-mdc-autocomplete-panel {
|
|
3
13
|
padding: 0;
|
|
4
14
|
}
|
package/components/_buttons.scss
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
@use "@angular/material" as mat;
|
|
2
|
+
@use "sass:map";
|
|
2
3
|
@use "./µ";
|
|
3
4
|
@import "../utilities/variables";
|
|
4
5
|
|
|
5
|
-
@mixin theme($theme
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@include mat.button-density($theme);
|
|
13
|
-
}
|
|
6
|
+
@mixin theme($theme) {
|
|
7
|
+
|
|
8
|
+
@include mat.button-base($theme);
|
|
9
|
+
@include mat.button-theme($theme);
|
|
10
|
+
@include mat.button-typography(map.get($theme, typography));
|
|
11
|
+
@include mat.button-color(map.get($theme, color));
|
|
12
|
+
@include mat.button-density($theme);
|
|
14
13
|
|
|
15
14
|
$spacer: map-get($theme, "spacer");
|
|
16
15
|
$accent400: µ.accent($theme, 400);
|
package/components/_cards.scss
CHANGED
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
@mixin theme($theme) {
|
|
6
6
|
$border-radius: 20px;
|
|
7
7
|
|
|
8
|
+
@include mat.card-base($theme);
|
|
9
|
+
@include mat.card-theme($theme);
|
|
10
|
+
@include mat.card-typography(map.get($theme, typography));
|
|
11
|
+
@include mat.card-color(map.get($theme, color));
|
|
12
|
+
@include mat.card-density($theme);
|
|
13
|
+
|
|
8
14
|
.onemrva-shadow-highlight {
|
|
9
15
|
&:hover {
|
|
10
16
|
box-shadow: 0 2px 6px #00000026 !important;
|
|
@@ -4,6 +4,13 @@
|
|
|
4
4
|
@import "../utilities/variables";
|
|
5
5
|
|
|
6
6
|
@mixin theme($theme) {
|
|
7
|
+
|
|
8
|
+
@include mat.checkbox-base($theme);
|
|
9
|
+
@include mat.checkbox-theme($theme);
|
|
10
|
+
@include mat.checkbox-typography(map.get($theme, typography));
|
|
11
|
+
@include mat.checkbox-color(map.get($theme, color));
|
|
12
|
+
@include mat.checkbox-density($theme);
|
|
13
|
+
|
|
7
14
|
.mat-mdc-checkbox .mdc-checkbox {
|
|
8
15
|
.mdc-checkbox__native-control:enabled:checked,
|
|
9
16
|
.mdc-checkbox__native-control:enabled:indeterminate {
|
package/components/_chips.scss
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "@angular/material" as mat;
|
|
2
|
+
@use "sass:map";
|
|
2
3
|
@use "./µ";
|
|
3
4
|
@import "../utilities/variables";
|
|
4
5
|
|
|
@@ -6,6 +7,14 @@
|
|
|
6
7
|
$primary: µ.primary($theme);
|
|
7
8
|
$color: mat.get-color-from-palette(map-get($theme, "grayscale"));
|
|
8
9
|
|
|
10
|
+
|
|
11
|
+
@include mat.chips-base($theme);
|
|
12
|
+
@include mat.chips-theme($theme);
|
|
13
|
+
@include mat.chips-typography(map.get($theme, typography));
|
|
14
|
+
@include mat.chips-color(map.get($theme, color));
|
|
15
|
+
@include mat.chips-density($theme);
|
|
16
|
+
|
|
17
|
+
|
|
9
18
|
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) {
|
|
10
19
|
background: none;
|
|
11
20
|
}
|
|
@@ -25,6 +34,15 @@
|
|
|
25
34
|
font-style: normal;
|
|
26
35
|
font-weight: 500;
|
|
27
36
|
line-height: 21px; /* 131.25% */
|
|
37
|
+
.mat-mdc-chip-graphic {
|
|
38
|
+
width: 0;
|
|
39
|
+
padding: 0 !important;
|
|
40
|
+
}
|
|
41
|
+
&.mat-mdc-chip-selected {
|
|
42
|
+
.mat-mdc-chip-graphic {
|
|
43
|
+
width: var(--mdc-chip-with-avatar-avatar-size);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
28
46
|
.mat-icon {
|
|
29
47
|
line-height: 14px;
|
|
30
48
|
}
|
|
@@ -93,57 +111,9 @@
|
|
|
93
111
|
.mat-mdc-chip-remove {
|
|
94
112
|
margin-top: 6px;
|
|
95
113
|
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
#NO {
|
|
105
|
-
&.mat-mdc-standard-chip {
|
|
106
|
-
&:active {
|
|
107
|
-
box-shadow: none !important;
|
|
108
|
-
}
|
|
109
114
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
&:focus {
|
|
113
|
-
.mat-mdc-chip-focus-overlay {
|
|
114
|
-
display: none;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.mat-mdc-chip-action-label {
|
|
119
|
-
display: flex;
|
|
120
|
-
align-items: center;
|
|
121
|
-
}
|
|
122
|
-
.mat-mdc-chip-action-label {
|
|
123
|
-
.mat-icon {
|
|
124
|
-
line-height: 18px;
|
|
125
|
-
font-size: 18px;
|
|
126
|
-
height: 18px;
|
|
127
|
-
width: 22px;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
.mat-mdc-chip-action {
|
|
133
|
-
padding: 0;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.mat-mdc-chip-remove {
|
|
137
|
-
opacity: 0.4;
|
|
138
|
-
height: 16px;
|
|
139
|
-
width: 16px;
|
|
140
|
-
margin-left: 8px;
|
|
141
|
-
|
|
142
|
-
&:hover {
|
|
143
|
-
opacity: 0.54;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
}
|
|
115
|
+
.mdc-evolution-chip__action--trailing {
|
|
116
|
+
padding: 0 0 0 8px !important;
|
|
147
117
|
}
|
|
148
118
|
}
|
|
149
119
|
}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
|
|
1
4
|
@mixin theme($theme) {
|
|
5
|
+
@include mat.datepicker-base($theme);
|
|
6
|
+
@include mat.datepicker-theme($theme);
|
|
7
|
+
@include mat.datepicker-typography(map.get($theme, typography));
|
|
8
|
+
@include mat.datepicker-color(map.get($theme, color));
|
|
9
|
+
@include mat.datepicker-density($theme);
|
|
10
|
+
|
|
2
11
|
.mat-datepicker-close-button {
|
|
3
12
|
display: none;
|
|
4
13
|
}
|
package/components/_dialogs.scss
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
@use "./µ";
|
|
2
|
+
@use "sass:map";
|
|
2
3
|
@use "@angular/material" as mat;
|
|
3
4
|
@import "../utilities/variables";
|
|
4
5
|
|
|
5
6
|
@mixin theme($theme) {
|
|
7
|
+
|
|
8
|
+
@include mat.dialog-base($theme);
|
|
9
|
+
@include mat.dialog-theme($theme);
|
|
10
|
+
@include mat.dialog-typography(map.get($theme, typography));
|
|
11
|
+
@include mat.dialog-color(map.get($theme, color));
|
|
12
|
+
@include mat.dialog-density($theme);
|
|
13
|
+
|
|
6
14
|
$spacer: map-get($theme, "spacer");
|
|
7
15
|
|
|
8
16
|
.mdc-dialog__title::before {
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
@use "./µ";
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
@use "@angular/material" as mat;
|
|
4
|
+
|
|
2
5
|
|
|
3
6
|
@mixin theme($theme) {
|
|
7
|
+
|
|
8
|
+
@include mat.expansion-base($theme);
|
|
9
|
+
@include mat.expansion-theme($theme);
|
|
10
|
+
@include mat.expansion-typography(map.get($theme, typography));
|
|
11
|
+
@include mat.expansion-color(map.get($theme, color));
|
|
12
|
+
@include mat.expansion-density($theme);
|
|
13
|
+
|
|
14
|
+
|
|
4
15
|
.mat-expansion-panel:not([class*="mat-elevation-z"]) {
|
|
5
16
|
box-shadow: none;
|
|
6
17
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
@use "./µ";
|
|
4
|
+
|
|
5
|
+
@mixin theme($theme) {
|
|
6
|
+
@include mat.form-field-base($theme);
|
|
7
|
+
@include mat.form-field-theme($theme);
|
|
8
|
+
@include mat.form-field-typography(map.get($theme, typography));
|
|
9
|
+
@include mat.form-field-color(map.get($theme, color));
|
|
10
|
+
@include mat.form-field-density($theme);
|
|
11
|
+
}
|
package/components/_icon.scss
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
@use "@angular/material" as mat;
|
|
2
2
|
@use "./µ";
|
|
3
3
|
//@import "@angular/material/theming";
|
|
4
|
+
@use "sass:map";
|
|
4
5
|
@import "../utilities/variables";
|
|
5
6
|
|
|
6
7
|
@mixin theme($theme) {
|
|
8
|
+
|
|
9
|
+
@include mat.icon-base($theme);
|
|
10
|
+
@include mat.icon-theme($theme);
|
|
11
|
+
@include mat.icon-typography(map.get($theme, typography));
|
|
12
|
+
@include mat.icon-color(map.get($theme, color));
|
|
13
|
+
@include mat.icon-density($theme);
|
|
14
|
+
|
|
15
|
+
|
|
7
16
|
mat-icon {
|
|
8
17
|
$xsmallsize: 12px;
|
|
9
18
|
$smallsize: 16px;
|
package/components/_lists.scss
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
@use "./µ";
|
|
4
4
|
|
|
5
5
|
@mixin theme($theme) {
|
|
6
|
+
@include mat.list-base($theme);
|
|
7
|
+
@include mat.list-theme($theme);
|
|
8
|
+
@include mat.list-typography(map.get($theme, typography));
|
|
9
|
+
@include mat.list-color(map.get($theme, color));
|
|
10
|
+
@include mat.list-density($theme);
|
|
6
11
|
.mat-mdc-list-base {
|
|
7
12
|
.mat-mdc-list-item {
|
|
8
13
|
@include µ.body-1($theme);
|
package/components/_menu.scss
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
@use "./µ";
|
|
4
4
|
|
|
5
5
|
@mixin theme($theme) {
|
|
6
|
+
|
|
7
|
+
@include mat.menu-base($theme);
|
|
8
|
+
@include mat.menu-theme($theme);
|
|
9
|
+
@include mat.menu-typography(map.get($theme, typography));
|
|
10
|
+
@include mat.menu-color(map.get($theme, color));
|
|
11
|
+
@include mat.menu-density($theme);
|
|
12
|
+
|
|
6
13
|
.mat-mdc-menu-panel {
|
|
7
14
|
top: 5px;
|
|
8
15
|
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
@use "./µ";
|
|
4
4
|
|
|
5
5
|
@mixin theme($theme) {
|
|
6
|
+
@include mat.progress-bar-base($theme);
|
|
7
|
+
@include mat.progress-bar-theme($theme);
|
|
8
|
+
@include mat.progress-bar-typography(map.get($theme, typography));
|
|
9
|
+
@include mat.progress-bar-color(map.get($theme, color));
|
|
10
|
+
@include mat.progress-bar-density($theme);
|
|
6
11
|
$primary: µ.primary($theme);
|
|
7
12
|
|
|
8
13
|
.mat-mdc-progress-bar {
|
package/components/_radio.scss
CHANGED
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
@import "../utilities/variables";
|
|
5
5
|
|
|
6
6
|
@mixin theme($theme) {
|
|
7
|
+
@include mat.radio-base($theme);
|
|
8
|
+
@include mat.radio-theme($theme);
|
|
9
|
+
@include mat.radio-typography(map.get($theme, typography));
|
|
10
|
+
@include mat.radio-color(map.get($theme, color));
|
|
11
|
+
@include mat.radio-density($theme);
|
|
7
12
|
.mat-mdc-radio-button {
|
|
8
13
|
label {
|
|
9
14
|
@include µ.label-button($theme);
|
package/components/_select.scss
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
2
|
@use "sass:map";
|
|
3
3
|
@use "./µ";
|
|
4
4
|
|
|
5
5
|
@mixin theme($theme) {
|
|
6
|
+
@include mat.select-base($theme);
|
|
7
|
+
@include mat.select-theme($theme);
|
|
8
|
+
@include mat.select-typography(map.get($theme, typography));
|
|
9
|
+
@include mat.select-color(map.get($theme, color));
|
|
10
|
+
@include mat.select-density($theme);
|
|
6
11
|
.mat-mdc-select {
|
|
7
12
|
--mat-select-invalid-arrow-color: #{µ.error($theme, 500)};
|
|
8
13
|
.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix {
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
@import "../utilities/variables";
|
|
5
5
|
|
|
6
6
|
@mixin theme($theme) {
|
|
7
|
+
@include mat.slide-toggle-base($theme);
|
|
8
|
+
@include mat.slide-toggle-theme($theme);
|
|
9
|
+
@include mat.slide-toggle-typography(map.get($theme, typography));
|
|
10
|
+
@include mat.slide-toggle-color(map.get($theme, color));
|
|
11
|
+
@include mat.slide-toggle-density($theme);
|
|
7
12
|
.mat-mdc-slide-toggle {
|
|
8
13
|
&.mat-primary {
|
|
9
14
|
.mdc-switch:enabled .mdc-switch__track:after {
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
@use "@angular/material" as mat;
|
|
2
|
+
@use "sass:map";
|
|
2
3
|
@use "./µ";
|
|
3
4
|
|
|
4
5
|
@mixin theme($theme) {
|
|
6
|
+
@include mat.snack-bar-base($theme);
|
|
7
|
+
@include mat.snack-bar-theme($theme);
|
|
8
|
+
@include mat.snack-bar-typography(map.get($theme, typography));
|
|
9
|
+
@include mat.snack-bar-color(map.get($theme, color));
|
|
10
|
+
@include mat.snack-bar-density($theme);
|
|
5
11
|
.mat-mdc-snack-bar-container {
|
|
6
12
|
box-shadow: none;
|
|
7
13
|
|
package/components/_stepper.scss
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
@use "@angular/material" as mat;
|
|
2
|
+
@use "sass:map";
|
|
2
3
|
@use "./µ";
|
|
3
4
|
|
|
4
5
|
@mixin theme($theme) {
|
|
6
|
+
@include mat.stepper-base($theme);
|
|
7
|
+
@include mat.stepper-theme($theme);
|
|
8
|
+
@include mat.stepper-typography(map.get($theme, typography));
|
|
9
|
+
@include mat.stepper-color(map.get($theme, color));
|
|
10
|
+
@include mat.stepper-density($theme);
|
|
5
11
|
$spacer: map-get($theme, "spacer");
|
|
6
12
|
|
|
7
13
|
mat-stepper,
|
package/components/_tables.scss
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
@use "@angular/material" as mat;
|
|
2
|
+
@use "sass:map";
|
|
2
3
|
@use "./µ";
|
|
3
4
|
@import "../utilities/variables";
|
|
4
5
|
|
|
5
6
|
@mixin theme($theme) {
|
|
7
|
+
@include mat.table-base($theme);
|
|
8
|
+
@include mat.table-theme($theme);
|
|
9
|
+
@include mat.table-typography(map.get($theme, typography));
|
|
10
|
+
@include mat.table-color(map.get($theme, color));
|
|
11
|
+
@include mat.table-density($theme);
|
|
6
12
|
.mat-mdc-table {
|
|
7
13
|
th.mat-mdc-header-cell {
|
|
8
14
|
color: black;
|
package/components/_tabs.scss
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
@use "@angular/material" as mat;
|
|
2
|
+
@use "sass:map";
|
|
2
3
|
@use "./µ";
|
|
3
4
|
|
|
4
5
|
@mixin theme($theme) {
|
|
6
|
+
@include mat.tabs-base($theme);
|
|
7
|
+
@include mat.tabs-theme($theme);
|
|
8
|
+
@include mat.tabs-typography(map.get($theme, typography));
|
|
9
|
+
@include mat.tabs-color(map.get($theme, color));
|
|
10
|
+
@include mat.tabs-density($theme);
|
|
5
11
|
.mat-mdc-tab-link {
|
|
6
12
|
text-decoration: none;
|
|
7
13
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "@angular/material" as mat;
|
|
2
2
|
@use "./µ";
|
|
3
|
+
@use "sass:map";
|
|
3
4
|
@import "../utilities/variables";
|
|
4
5
|
|
|
5
6
|
@mixin inputStyle($color) {
|
|
@@ -20,6 +21,13 @@
|
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
@mixin theme($theme) {
|
|
24
|
+
|
|
25
|
+
@include mat.input-base($theme);
|
|
26
|
+
@include mat.input-theme($theme);
|
|
27
|
+
@include mat.input-typography(map.get($theme, typography));
|
|
28
|
+
@include mat.input-color(map.get($theme, color));
|
|
29
|
+
@include mat.input-density($theme);
|
|
30
|
+
|
|
23
31
|
.mat-mdc-form-field {
|
|
24
32
|
line-height: 1.125;
|
|
25
33
|
|
|
@@ -31,9 +39,7 @@
|
|
|
31
39
|
color: µ.grayscale($theme, 900);
|
|
32
40
|
}
|
|
33
41
|
|
|
34
|
-
.mat-mdc-text-field-wrapper
|
|
35
|
-
.mat-mdc-form-field-flex
|
|
36
|
-
.mat-mdc-floating-label {
|
|
42
|
+
.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
|
|
37
43
|
top: 25px;
|
|
38
44
|
}
|
|
39
45
|
|
|
@@ -93,9 +99,7 @@
|
|
|
93
99
|
&.mat-form-field-onemrva-warning {
|
|
94
100
|
&.mat-focused,
|
|
95
101
|
&:hover {
|
|
96
|
-
.mat-mdc-text-field-wrapper
|
|
97
|
-
.mat-mdc-form-field-flex
|
|
98
|
-
.mat-mdc-floating-label {
|
|
102
|
+
.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
|
|
99
103
|
left: 3px;
|
|
100
104
|
}
|
|
101
105
|
}
|
|
@@ -154,9 +158,7 @@
|
|
|
154
158
|
) {
|
|
155
159
|
&.mat-focused,
|
|
156
160
|
&:hover {
|
|
157
|
-
.mat-mdc-text-field-wrapper
|
|
158
|
-
.mat-mdc-form-field-flex
|
|
159
|
-
.mat-mdc-floating-label {
|
|
161
|
+
.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
|
|
160
162
|
left: 3px;
|
|
161
163
|
}
|
|
162
164
|
}
|
package/components/_toolbar.scss
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
@use "@angular/material" as mat;
|
|
2
|
+
@use "sass:map";
|
|
2
3
|
@use "./µ";
|
|
3
4
|
@import "../utilities/variables";
|
|
4
5
|
|
|
5
6
|
@mixin theme($theme) {
|
|
6
|
-
|
|
7
|
+
@include mat.toolbar-base($theme);
|
|
8
|
+
@include mat.toolbar-theme($theme);
|
|
9
|
+
@include mat.toolbar-typography(map.get($theme, typography));
|
|
10
|
+
@include mat.toolbar-color(map.get($theme, color));
|
|
11
|
+
@include mat.toolbar-density($theme);
|
|
7
12
|
.mat-toolbar{
|
|
8
13
|
&.sticky {
|
|
9
14
|
position: sticky !important;
|
package/components/_tooltip.scss
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
@use "@angular/material" as mat;
|
|
2
|
+
@use "sass:map";
|
|
2
3
|
@use "./µ";
|
|
3
4
|
@import "../utilities/variables";
|
|
4
5
|
|
|
5
6
|
@mixin theme($theme) {
|
|
7
|
+
@include mat.tooltip-base($theme);
|
|
8
|
+
@include mat.tooltip-theme($theme);
|
|
9
|
+
@include mat.tooltip-typography(map.get($theme, typography));
|
|
10
|
+
@include mat.tooltip-color(map.get($theme, color));
|
|
11
|
+
@include mat.tooltip-density($theme);
|
|
6
12
|
.mat-mdc-tooltip {
|
|
7
13
|
font-size: 12px;
|
|
8
14
|
background: #ffffff;
|
package/index.scss
CHANGED
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
@forward "./components/cards" as cards-*;
|
|
4
4
|
@forward "./components/checkbox" as checkbox-*;
|
|
5
5
|
@forward "./components/chips" as chips-*;
|
|
6
|
-
@forward "
|
|
6
|
+
@forward "components/choice-chips" as choice-chips-*;
|
|
7
7
|
@forward "./components/container" as container-*;
|
|
8
8
|
@forward "./components/datepicker" as datepicker-*;
|
|
9
9
|
@forward "./components/drag-and-drop" as drag-and-drop-*;
|
|
10
10
|
@forward "./components/dialogs" as dialogs-*;
|
|
11
11
|
@forward "./components/expansion" as expansion-*;
|
|
12
|
+
@forward "./components/form-field" as form-field-*;
|
|
12
13
|
@forward "./components/links" as links-*;
|
|
13
14
|
@forward "./components/lists" as lists-*;
|
|
14
15
|
@forward "./components/menu" as menu-*;
|
|
@@ -40,12 +41,13 @@
|
|
|
40
41
|
@use "./components/cards";
|
|
41
42
|
@use "./components/checkbox";
|
|
42
43
|
@use "./components/chips";
|
|
43
|
-
@use "
|
|
44
|
+
@use "components/choice-chips" as choiceChips;
|
|
44
45
|
@use "./components/container";
|
|
45
46
|
@use "./components/datepicker";
|
|
46
47
|
@use "./components/dialogs";
|
|
47
48
|
@use "./components/drag-and-drop" as dragAndDrop;
|
|
48
49
|
@use "./components/expansion" as expansion;
|
|
50
|
+
@use "./components/form-field" as formField;
|
|
49
51
|
@use "./components/links";
|
|
50
52
|
@use "./components/lists";
|
|
51
53
|
@use "./components/menu";
|
|
@@ -108,13 +110,17 @@
|
|
|
108
110
|
@include utilities.utilities();
|
|
109
111
|
}
|
|
110
112
|
|
|
113
|
+
@mixin core($b: variables.$breakpoints) {
|
|
114
|
+
@include mat.core-theme(variables.$onemrva-theme);
|
|
115
|
+
}
|
|
116
|
+
|
|
111
117
|
@mixin onemrva($b: variables.$breakpoints) {
|
|
112
118
|
|
|
113
119
|
@include mat.core-theme(variables.$onemrva-theme);
|
|
114
120
|
@include mat.all-component-themes(variables.$onemrva-theme);
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
);
|
|
121
|
+
//@include mat.all-component-typographies(
|
|
122
|
+
// map.get(variables.$onemrva-theme, typography)
|
|
123
|
+
//);
|
|
118
124
|
|
|
119
125
|
@include fonts.theme(variables.$onemrva-theme);
|
|
120
126
|
|
|
@@ -123,8 +129,10 @@
|
|
|
123
129
|
@include cards.theme(variables.$onemrva-theme);
|
|
124
130
|
@include checkbox.theme(variables.$onemrva-theme);
|
|
125
131
|
@include chips.theme(variables.$onemrva-theme);
|
|
126
|
-
@include
|
|
132
|
+
@include choiceChips.theme(variables.$onemrva-theme);
|
|
133
|
+
@include formField.theme(variables.$onemrva-theme);
|
|
127
134
|
@include datepicker.theme(variables.$onemrva-theme);
|
|
135
|
+
|
|
128
136
|
@include dialogs.theme(variables.$onemrva-theme);
|
|
129
137
|
@include dragAndDrop.theme(variables.$onemrva-theme);
|
|
130
138
|
@include expansion.theme(variables.$onemrva-theme);
|
package/package.json
CHANGED
|
File without changes
|