@onemrvapublic/design-system-theme 19.0.0-develop.8 → 19.0.0-develop.9
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/_toolbar.scss
CHANGED
|
@@ -3,9 +3,9 @@ import { NgModule } from '@angular/core';
|
|
|
3
3
|
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
|
4
4
|
|
|
5
5
|
class OnemrvaThemeModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: OnemrvaThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.3", ngImport: i0, type: OnemrvaThemeModule }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: OnemrvaThemeModule, providers: [
|
|
9
9
|
{
|
|
10
10
|
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
11
11
|
useValue: {
|
|
@@ -15,7 +15,7 @@ class OnemrvaThemeModule {
|
|
|
15
15
|
},
|
|
16
16
|
] }); }
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: OnemrvaThemeModule, decorators: [{
|
|
19
19
|
type: NgModule,
|
|
20
20
|
args: [{
|
|
21
21
|
providers: [
|
package/index.scss
CHANGED
|
@@ -104,9 +104,7 @@
|
|
|
104
104
|
map.get(variables.$onemrva-theme, typography),
|
|
105
105
|
body-1
|
|
106
106
|
); // HWKTMP for some reason the sans-serif version is configured somewhere but where...
|
|
107
|
-
}
|
|
108
107
|
|
|
109
|
-
body {
|
|
110
108
|
margin: 0;
|
|
111
109
|
}
|
|
112
110
|
|
|
@@ -140,6 +138,37 @@
|
|
|
140
138
|
@include mat.typography-hierarchy(variables.$onemrva-theme);
|
|
141
139
|
}
|
|
142
140
|
|
|
141
|
+
@mixin fixes($theme) {
|
|
142
|
+
onemrva-layout {
|
|
143
|
+
--layout-header-height: 92px;
|
|
144
|
+
}
|
|
145
|
+
// Material design doesn't support h5 and h6 natively
|
|
146
|
+
.mat-typography {
|
|
147
|
+
h4 {
|
|
148
|
+
font: 700 20px / 35px
|
|
149
|
+
#{mat.get-theme-typography($theme, 'button', font-family)};
|
|
150
|
+
letter-spacing: normal;
|
|
151
|
+
margin: 0 0 16px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
h5,
|
|
155
|
+
h6 {
|
|
156
|
+
font-family: Poppins, sans-serif;
|
|
157
|
+
font-weight: 600;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
h5 {
|
|
161
|
+
font-size: 18px;
|
|
162
|
+
line-height: 32px;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
h6 {
|
|
166
|
+
font-size: 16px;
|
|
167
|
+
line-height: 28px;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
143
172
|
// Base for Web components
|
|
144
173
|
@mixin base($production: true) {
|
|
145
174
|
@include reset();
|
|
@@ -147,6 +176,7 @@
|
|
|
147
176
|
@include links.theme(variables.$onemrva-theme);
|
|
148
177
|
@include hacks.theme(variables.$onemrva-theme);
|
|
149
178
|
@include core();
|
|
179
|
+
@include fixes(variables.$onemrva-theme);
|
|
150
180
|
}
|
|
151
181
|
|
|
152
182
|
// Load everything (size does not matter)
|
|
@@ -201,31 +231,5 @@
|
|
|
201
231
|
@include spacing.spacing();
|
|
202
232
|
@include grid.grid();
|
|
203
233
|
@include utilities.utilities();
|
|
204
|
-
|
|
205
|
-
// Material design doesn't support h5 and h6 natively
|
|
206
|
-
.mat-typography {
|
|
207
|
-
h4 {
|
|
208
|
-
font:
|
|
209
|
-
700 20px / 35px Source Sans Pro,
|
|
210
|
-
sans-serif;
|
|
211
|
-
letter-spacing: normal;
|
|
212
|
-
margin: 0 0 16px;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
h5,
|
|
216
|
-
h6 {
|
|
217
|
-
font-family: Poppins, sans-serif;
|
|
218
|
-
font-weight: 600;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
h5 {
|
|
222
|
-
font-size: 18px;
|
|
223
|
-
line-height: 32px;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
h6 {
|
|
227
|
-
font-size: 16px;
|
|
228
|
-
line-height: 28px;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
234
|
+
@include fixes(variables.$onemrva-theme);
|
|
231
235
|
}
|