@ecodev/natural 66.0.22 → 66.0.24
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/package.json
CHANGED
package/src/lib/_natural.scss
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '@angular/material' as mat;
|
|
3
|
+
@use './styles/color.scss';
|
|
3
4
|
@use './styles/table.scss';
|
|
5
|
+
@use './styles/typography.scss';
|
|
4
6
|
@use './styles/material-scrolling-fixes.scss';
|
|
5
7
|
@use './modules/panels/panels.scss';
|
|
6
8
|
@use './modules/sidenav/sidenav.scss';
|
|
@@ -191,7 +193,7 @@ body {
|
|
|
191
193
|
}
|
|
192
194
|
|
|
193
195
|
.nat-bold {
|
|
194
|
-
font-weight:
|
|
196
|
+
font-weight: 500;
|
|
195
197
|
}
|
|
196
198
|
|
|
197
199
|
p,
|
|
@@ -204,47 +206,6 @@ h6 {
|
|
|
204
206
|
margin: 0;
|
|
205
207
|
}
|
|
206
208
|
|
|
207
|
-
// Nice todo angular 21 : replace tonal by m3-utils.color-with-opacity(map.get($system, on-surface), 12%),
|
|
208
|
-
.mdc-button {
|
|
209
|
-
@include mat.button-overrides(
|
|
210
|
-
(
|
|
211
|
-
protected-container-color: color-mix(in srgb, transparent 92%, black),
|
|
212
|
-
)
|
|
213
|
-
);
|
|
214
|
-
|
|
215
|
-
&.mat-error,
|
|
216
|
-
&[color='error'] {
|
|
217
|
-
@include mat.button-overrides(
|
|
218
|
-
(
|
|
219
|
-
text-label-text-color: var(--mat-sys-error-container),
|
|
220
|
-
filled-container-color: var(--mat-sys-error-container),
|
|
221
|
-
filled-label-text-color: var(--mat-sys-on-error-container),
|
|
222
|
-
tonal-container-color: color-mix(in srgb, var(--mat-sys-error-container) 12%, transparent),
|
|
223
|
-
tonal-label-text-color: var(--mat-sys-on-surface),
|
|
224
|
-
protected-label-text-color: var(--mat-sys-error-container),
|
|
225
|
-
outlined-outline-color: var(--mat-sys-error-container),
|
|
226
|
-
outlined-label-text-color: var(--mat-sys-error-container),
|
|
227
|
-
)
|
|
228
|
-
);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
&.mat-tertiary,
|
|
232
|
-
&[color='tertiary'] {
|
|
233
|
-
@include mat.button-overrides(
|
|
234
|
-
(
|
|
235
|
-
text-label-text-color: var(--mat-sys-tertiary-container),
|
|
236
|
-
filled-container-color: var(--mat-sys-tertiary-container),
|
|
237
|
-
filled-label-text-color: var(--mat-sys-on-tertiary-container),
|
|
238
|
-
tonal-container-color: color-mix(in srgb, var(--mat-sys-tertiary-container) 12%, transparent),
|
|
239
|
-
tonal-label-text-color: var(--mat-sys-on-surface),
|
|
240
|
-
protected-label-text-color: var(--mat-sys-tertiary-container),
|
|
241
|
-
outlined-outline-color: var(--mat-sys-tertiary-container),
|
|
242
|
-
outlined-label-text-color: var(--mat-sys-tertiary-container),
|
|
243
|
-
)
|
|
244
|
-
);
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
209
|
// In fab speed dials, mini fabs are tertiary as well as default fab buttons
|
|
249
210
|
eco-fab-speed-dial .mdc-fab {
|
|
250
211
|
@include mat.fab-overrides(
|
|
@@ -259,41 +220,6 @@ eco-fab-speed-dial .mdc-fab {
|
|
|
259
220
|
|
|
260
221
|
.mdc-fab,
|
|
261
222
|
.mdc-mini-fab {
|
|
262
|
-
&.mat-primary,
|
|
263
|
-
&[color='primary'] {
|
|
264
|
-
@include mat.fab-overrides(
|
|
265
|
-
(
|
|
266
|
-
container-color: var(--mat-sys-primary-container),
|
|
267
|
-
foreground-color: var(--mat-sys-on-primary-container),
|
|
268
|
-
small-container-color: var(--mat-sys-primary-container),
|
|
269
|
-
small-foreground-color: var(--mat-sys-on-primary-container),
|
|
270
|
-
)
|
|
271
|
-
);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
&.mat-error,
|
|
275
|
-
&[color='error'] {
|
|
276
|
-
@include mat.fab-overrides(
|
|
277
|
-
(
|
|
278
|
-
container-color: var(--mat-sys-error-container),
|
|
279
|
-
foreground-color: var(--mat-sys-on-error-container),
|
|
280
|
-
small-container-color: var(--mat-sys-error-container),
|
|
281
|
-
small-foreground-color: var(--mat-sys-on-error-container),
|
|
282
|
-
)
|
|
283
|
-
);
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
&[color='tertiary'] {
|
|
287
|
-
@include mat.fab-overrides(
|
|
288
|
-
(
|
|
289
|
-
container-color: var(--mat-sys-tertiary-container),
|
|
290
|
-
foreground-color: var(--mat-sys-on-tertiary-container),
|
|
291
|
-
small-container-color: var(--mat-sys-tertiary-container),
|
|
292
|
-
small-foreground-color: var(--mat-sys-on-tertiary-container),
|
|
293
|
-
)
|
|
294
|
-
);
|
|
295
|
-
}
|
|
296
|
-
|
|
297
223
|
&.nat-rounded {
|
|
298
224
|
@include mat.fab-overrides(
|
|
299
225
|
(
|
|
@@ -320,146 +246,3 @@ eco-fab-speed-dial .mdc-fab {
|
|
|
320
246
|
);
|
|
321
247
|
}
|
|
322
248
|
}
|
|
323
|
-
|
|
324
|
-
.mdc-icon-button {
|
|
325
|
-
&.mat-primary,
|
|
326
|
-
&[color='primary'] {
|
|
327
|
-
@include mat.icon-button-overrides(
|
|
328
|
-
(
|
|
329
|
-
icon-color: var(--mat-sys-primary-container),
|
|
330
|
-
)
|
|
331
|
-
);
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
&.mat-error,
|
|
335
|
-
&[color='error'] {
|
|
336
|
-
@include mat.icon-button-overrides(
|
|
337
|
-
(
|
|
338
|
-
icon-color: var(--mat-sys-error-container),
|
|
339
|
-
)
|
|
340
|
-
);
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
.mat-tertiary,
|
|
344
|
-
&[color='tertiary'] {
|
|
345
|
-
@include mat.icon-button-overrides(
|
|
346
|
-
(
|
|
347
|
-
icon-color: var(--mat-sys-tertiary-container),
|
|
348
|
-
)
|
|
349
|
-
);
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
// Todo Remove on angular v21
|
|
354
|
-
// add body{ @include mat.system-classes();}
|
|
355
|
-
|
|
356
|
-
// ***********************************************************************************************
|
|
357
|
-
// Font - Apply typography styles
|
|
358
|
-
// See https://m3.material.io/styles/typography/applying-type for guidance.
|
|
359
|
-
// ***********************************************************************************************
|
|
360
|
-
|
|
361
|
-
// Sets the font to the body small typeface. Use for small body text, such as captions. In Angular
|
|
362
|
-
// Material, this is used for the subscript text in a form field and the text in a paginator.
|
|
363
|
-
.mat-font-body-sm {
|
|
364
|
-
font: var(--mat-sys-body-small);
|
|
365
|
-
letter-spacing: var(--mat-sys-body-small-tracking);
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
// Sets the font to the body medium typeface. Use for medium body text, this is the default
|
|
369
|
-
// body font. In Angular Material, this is used for the text in a table row and the supporting
|
|
370
|
-
// text in a dialog.
|
|
371
|
-
.mat-font-body-md {
|
|
372
|
-
font: var(--mat-sys-body-medium);
|
|
373
|
-
letter-spacing: var(--mat-sys-body-medium-tracking);
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
// Sets the font to the body large typeface. Use for large body text, such as an introductory
|
|
377
|
-
// paragraph. In Angular Material, this is used for the text in a list item and the text in a
|
|
378
|
-
// select trigger.
|
|
379
|
-
.mat-font-body-lg {
|
|
380
|
-
font: var(--mat-sys-body-large);
|
|
381
|
-
letter-spacing: var(--mat-sys-body-large-tracking);
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
// Sets the font to the display small typeface. Use for small display text, such as a date.
|
|
385
|
-
.mat-font-display-sm {
|
|
386
|
-
font: var(--mat-sys-display-small);
|
|
387
|
-
letter-spacing: var(--mat-sys-display-small-tracking);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
// Sets the font to the display medium typeface. Use for medium display text, such as a hero
|
|
391
|
-
// title.
|
|
392
|
-
.mat-font-display-md {
|
|
393
|
-
font: var(--mat-sys-display-medium);
|
|
394
|
-
letter-spacing: var(--mat-sys-display-medium-tracking);
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
// Sets the font to the display large typeface. Use for large display text, such as a hero title.
|
|
398
|
-
.mat-font-display-lg {
|
|
399
|
-
font: var(--mat-sys-display-large);
|
|
400
|
-
letter-spacing: var(--mat-sys-display-large-tracking);
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
// Sets the font to the headline small typeface. Use for small headlines, such as a page title. In
|
|
404
|
-
// Angular Material, this is used for the headline in a dialog.
|
|
405
|
-
.mat-font-headline-sm {
|
|
406
|
-
font: var(--mat-sys-headline-small);
|
|
407
|
-
letter-spacing: var(--mat-sys-headline-small-tracking);
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
// Sets the font to the headline medium typeface. Use for medium headlines, such as a section
|
|
411
|
-
// title.
|
|
412
|
-
.mat-font-headline-md {
|
|
413
|
-
font: var(--mat-sys-headline-medium);
|
|
414
|
-
letter-spacing: var(--mat-sys-headline-medium-tracking);
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
// Sets the font to the headline large typeface. Use for large headlines, such as a page title on
|
|
418
|
-
// a large screen.
|
|
419
|
-
.mat-font-headline-lg {
|
|
420
|
-
font: var(--mat-sys-headline-large);
|
|
421
|
-
letter-spacing: var(--mat-sys-headline-large-tracking);
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
// Sets the font to the label small typeface. Use for small labels, such as text in a badge.
|
|
425
|
-
.mat-font-label-sm {
|
|
426
|
-
font: var(--mat-sys-label-small);
|
|
427
|
-
letter-spacing: var(--mat-sys-label-small-tracking);
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
// Sets the font to the label medium typeface. Use for medium labels. In Angular Material, this
|
|
431
|
-
// is used for the slider label.
|
|
432
|
-
.mat-font-label-md {
|
|
433
|
-
font: var(--mat-sys-label-medium);
|
|
434
|
-
letter-spacing: var(--mat-sys-label-medium-tracking);
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
// Sets the font to the label large typeface. Use for large labels. In Angular Material, this is
|
|
438
|
-
// used for buttons, chips, and menu labels.
|
|
439
|
-
.mat-font-label-lg {
|
|
440
|
-
font: var(--mat-sys-label-large);
|
|
441
|
-
letter-spacing: var(--mat-sys-label-large-tracking);
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
// Sets the font to the title small typeface. Use for small titles, such as a card title. In
|
|
445
|
-
// Angular Material, this is used for the header of a table and the label of an option group.
|
|
446
|
-
.mat-font-title-sm {
|
|
447
|
-
font: var(--mat-sys-title-small);
|
|
448
|
-
letter-spacing: var(--mat-sys-title-small-tracking);
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
// Sets the font to the title medium typeface. Use for medium titles, such as a dialog title
|
|
452
|
-
// or the primary text in a list item. In Angular Material, this is used for the subtitle
|
|
453
|
-
// of a card and the header of an expansion panel.
|
|
454
|
-
.mat-font-title-md {
|
|
455
|
-
font: var(--mat-sys-title-medium);
|
|
456
|
-
letter-spacing: var(--mat-sys-title-medium-tracking);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
// Sets the font to the title large typeface. Use for large titles, such as a page title on a
|
|
460
|
-
// small screen. In Angular Material, this is used for the title of a card and the title of a
|
|
461
|
-
// toolbar.
|
|
462
|
-
.mat-font-title-lg {
|
|
463
|
-
font: var(--mat-sys-title-large);
|
|
464
|
-
letter-spacing: var(--mat-sys-title-large-tracking);
|
|
465
|
-
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
// TODO angular 21 : replace tonal by m3-utils.color-with-opacity(map.get($system, on-surface), 12%),
|
|
4
|
+
.mdc-button {
|
|
5
|
+
@include mat.button-overrides(
|
|
6
|
+
(
|
|
7
|
+
protected-container-color: color-mix(in srgb, transparent 92%, black),
|
|
8
|
+
)
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
&.mat-error,
|
|
12
|
+
&[color='error'] {
|
|
13
|
+
@include mat.button-overrides(
|
|
14
|
+
(
|
|
15
|
+
text-label-text-color: var(--mat-sys-error-container),
|
|
16
|
+
filled-container-color: var(--mat-sys-error-container),
|
|
17
|
+
filled-label-text-color: var(--mat-sys-on-error-container),
|
|
18
|
+
tonal-container-color: color-mix(in srgb, var(--mat-sys-error-container) 12%, transparent),
|
|
19
|
+
tonal-label-text-color: var(--mat-sys-on-surface),
|
|
20
|
+
protected-label-text-color: var(--mat-sys-error-container),
|
|
21
|
+
outlined-outline-color: var(--mat-sys-error-container),
|
|
22
|
+
outlined-label-text-color: var(--mat-sys-error-container),
|
|
23
|
+
)
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.mat-tertiary,
|
|
28
|
+
&[color='tertiary'] {
|
|
29
|
+
@include mat.button-overrides(
|
|
30
|
+
(
|
|
31
|
+
text-label-text-color: var(--mat-sys-tertiary-container),
|
|
32
|
+
filled-container-color: var(--mat-sys-tertiary-container),
|
|
33
|
+
filled-label-text-color: var(--mat-sys-on-tertiary-container),
|
|
34
|
+
tonal-container-color: color-mix(in srgb, var(--mat-sys-tertiary-container) 12%, transparent),
|
|
35
|
+
tonal-label-text-color: var(--mat-sys-on-surface),
|
|
36
|
+
protected-label-text-color: var(--mat-sys-tertiary-container),
|
|
37
|
+
outlined-outline-color: var(--mat-sys-tertiary-container),
|
|
38
|
+
outlined-label-text-color: var(--mat-sys-tertiary-container),
|
|
39
|
+
)
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.mdc-fab,
|
|
45
|
+
.mdc-mini-fab {
|
|
46
|
+
&.mat-primary,
|
|
47
|
+
&[color='primary'] {
|
|
48
|
+
@include mat.fab-overrides(
|
|
49
|
+
(
|
|
50
|
+
container-color: var(--mat-sys-primary-container),
|
|
51
|
+
foreground-color: var(--mat-sys-on-primary-container),
|
|
52
|
+
small-container-color: var(--mat-sys-primary-container),
|
|
53
|
+
small-foreground-color: var(--mat-sys-on-primary-container),
|
|
54
|
+
)
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.mat-error,
|
|
59
|
+
&[color='error'] {
|
|
60
|
+
@include mat.fab-overrides(
|
|
61
|
+
(
|
|
62
|
+
container-color: var(--mat-sys-error-container),
|
|
63
|
+
foreground-color: var(--mat-sys-on-error-container),
|
|
64
|
+
small-container-color: var(--mat-sys-error-container),
|
|
65
|
+
small-foreground-color: var(--mat-sys-on-error-container),
|
|
66
|
+
)
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&[color='tertiary'] {
|
|
71
|
+
@include mat.fab-overrides(
|
|
72
|
+
(
|
|
73
|
+
container-color: var(--mat-sys-tertiary-container),
|
|
74
|
+
foreground-color: var(--mat-sys-on-tertiary-container),
|
|
75
|
+
small-container-color: var(--mat-sys-tertiary-container),
|
|
76
|
+
small-foreground-color: var(--mat-sys-on-tertiary-container),
|
|
77
|
+
)
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.mdc-icon-button {
|
|
83
|
+
&.mat-primary,
|
|
84
|
+
&[color='primary'] {
|
|
85
|
+
@include mat.icon-button-overrides(
|
|
86
|
+
(
|
|
87
|
+
icon-color: var(--mat-sys-primary-container),
|
|
88
|
+
)
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.mat-error,
|
|
93
|
+
&[color='error'] {
|
|
94
|
+
@include mat.icon-button-overrides(
|
|
95
|
+
(
|
|
96
|
+
icon-color: var(--mat-sys-error-container),
|
|
97
|
+
)
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.mat-tertiary,
|
|
102
|
+
&[color='tertiary'] {
|
|
103
|
+
@include mat.icon-button-overrides(
|
|
104
|
+
(
|
|
105
|
+
icon-color: var(--mat-sys-tertiary-container),
|
|
106
|
+
)
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.mat-icon {
|
|
112
|
+
&.mat-primary {
|
|
113
|
+
@include mat.icon-overrides(
|
|
114
|
+
(
|
|
115
|
+
color: var(--mat-sys-primary-container),
|
|
116
|
+
)
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&.mat-error {
|
|
121
|
+
@include mat.icon-overrides(
|
|
122
|
+
(
|
|
123
|
+
color: var(--mat-sys-error-container),
|
|
124
|
+
)
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.mat-tertiary {
|
|
129
|
+
@include mat.icon-overrides(
|
|
130
|
+
(
|
|
131
|
+
color: var(--mat-sys-tertiary-container),
|
|
132
|
+
)
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
@@ -69,8 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
[mat-row].selected {
|
|
72
|
-
|
|
73
|
-
//background: mat.m2-get-color-from-palette($background, selected-button);
|
|
72
|
+
background: color-mix(in srgb, var(--mat-sys-surface-container-highest) 95%, black);
|
|
74
73
|
}
|
|
75
74
|
|
|
76
75
|
.mat-mdc-footer-cell {
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
// TODO After angular v21, replace entire file with: body{ @include mat.system-classes();}
|
|
2
|
+
|
|
3
|
+
// ***********************************************************************************************
|
|
4
|
+
// Font - Apply typography styles
|
|
5
|
+
// See https://m3.material.io/styles/typography/applying-type for guidance.
|
|
6
|
+
// ***********************************************************************************************
|
|
7
|
+
|
|
8
|
+
// Sets the font to the body small typeface. Use for small body text, such as captions. In Angular
|
|
9
|
+
// Material, this is used for the subscript text in a form field and the text in a paginator.
|
|
10
|
+
.mat-font-body-sm {
|
|
11
|
+
font: var(--mat-sys-body-small);
|
|
12
|
+
letter-spacing: var(--mat-sys-body-small-tracking);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// Sets the font to the body medium typeface. Use for medium body text, this is the default
|
|
16
|
+
// body font. In Angular Material, this is used for the text in a table row and the supporting
|
|
17
|
+
// text in a dialog.
|
|
18
|
+
.mat-font-body-md {
|
|
19
|
+
font: var(--mat-sys-body-medium);
|
|
20
|
+
letter-spacing: var(--mat-sys-body-medium-tracking);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Sets the font to the body large typeface. Use for large body text, such as an introductory
|
|
24
|
+
// paragraph. In Angular Material, this is used for the text in a list item and the text in a
|
|
25
|
+
// select trigger.
|
|
26
|
+
.mat-font-body-lg {
|
|
27
|
+
font: var(--mat-sys-body-large);
|
|
28
|
+
letter-spacing: var(--mat-sys-body-large-tracking);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Sets the font to the display small typeface. Use for small display text, such as a date.
|
|
32
|
+
.mat-font-display-sm {
|
|
33
|
+
font: var(--mat-sys-display-small);
|
|
34
|
+
letter-spacing: var(--mat-sys-display-small-tracking);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Sets the font to the display medium typeface. Use for medium display text, such as a hero
|
|
38
|
+
// title.
|
|
39
|
+
.mat-font-display-md {
|
|
40
|
+
font: var(--mat-sys-display-medium);
|
|
41
|
+
letter-spacing: var(--mat-sys-display-medium-tracking);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// Sets the font to the display large typeface. Use for large display text, such as a hero title.
|
|
45
|
+
.mat-font-display-lg {
|
|
46
|
+
font: var(--mat-sys-display-large);
|
|
47
|
+
letter-spacing: var(--mat-sys-display-large-tracking);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Sets the font to the headline small typeface. Use for small headlines, such as a page title. In
|
|
51
|
+
// Angular Material, this is used for the headline in a dialog.
|
|
52
|
+
.mat-font-headline-sm {
|
|
53
|
+
font: var(--mat-sys-headline-small);
|
|
54
|
+
letter-spacing: var(--mat-sys-headline-small-tracking);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Sets the font to the headline medium typeface. Use for medium headlines, such as a section
|
|
58
|
+
// title.
|
|
59
|
+
.mat-font-headline-md {
|
|
60
|
+
font: var(--mat-sys-headline-medium);
|
|
61
|
+
letter-spacing: var(--mat-sys-headline-medium-tracking);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Sets the font to the headline large typeface. Use for large headlines, such as a page title on
|
|
65
|
+
// a large screen.
|
|
66
|
+
.mat-font-headline-lg {
|
|
67
|
+
font: var(--mat-sys-headline-large);
|
|
68
|
+
letter-spacing: var(--mat-sys-headline-large-tracking);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Sets the font to the label small typeface. Use for small labels, such as text in a badge.
|
|
72
|
+
.mat-font-label-sm {
|
|
73
|
+
font: var(--mat-sys-label-small);
|
|
74
|
+
letter-spacing: var(--mat-sys-label-small-tracking);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// Sets the font to the label medium typeface. Use for medium labels. In Angular Material, this
|
|
78
|
+
// is used for the slider label.
|
|
79
|
+
.mat-font-label-md {
|
|
80
|
+
font: var(--mat-sys-label-medium);
|
|
81
|
+
letter-spacing: var(--mat-sys-label-medium-tracking);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// Sets the font to the label large typeface. Use for large labels. In Angular Material, this is
|
|
85
|
+
// used for buttons, chips, and menu labels.
|
|
86
|
+
.mat-font-label-lg {
|
|
87
|
+
font: var(--mat-sys-label-large);
|
|
88
|
+
letter-spacing: var(--mat-sys-label-large-tracking);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// Sets the font to the title small typeface. Use for small titles, such as a card title. In
|
|
92
|
+
// Angular Material, this is used for the header of a table and the label of an option group.
|
|
93
|
+
.mat-font-title-sm {
|
|
94
|
+
font: var(--mat-sys-title-small);
|
|
95
|
+
letter-spacing: var(--mat-sys-title-small-tracking);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// Sets the font to the title medium typeface. Use for medium titles, such as a dialog title
|
|
99
|
+
// or the primary text in a list item. In Angular Material, this is used for the subtitle
|
|
100
|
+
// of a card and the header of an expansion panel.
|
|
101
|
+
.mat-font-title-md {
|
|
102
|
+
font: var(--mat-sys-title-medium);
|
|
103
|
+
letter-spacing: var(--mat-sys-title-medium-tracking);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// Sets the font to the title large typeface. Use for large titles, such as a page title on a
|
|
107
|
+
// small screen. In Angular Material, this is used for the title of a card and the title of a
|
|
108
|
+
// toolbar.
|
|
109
|
+
.mat-font-title-lg {
|
|
110
|
+
font: var(--mat-sys-title-large);
|
|
111
|
+
letter-spacing: var(--mat-sys-title-large-tracking);
|
|
112
|
+
}
|