@igo2/sdg-core 1.0.0-next.78 → 1.0.0-next.80
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/analytics/google-analytics/google-analytics.service.d.ts +1 -1
- package/fesm2022/igo2-sdg-core.mjs +8 -4
- package/fesm2022/igo2-sdg-core.mjs.map +1 -1
- package/package.json +2 -2
- package/src/_index.scss +2 -1
- package/src/layout/_breakpoints.scss +36 -42
- package/src/style/_elevation.scss +54 -0
- package/src/style/_index.scss +3 -0
- package/src/style/_sass-utils.scss +24 -0
- package/src/style/_typography-utils.scss +23 -0
- package/src/style/_typography.scss +139 -0
- package/src/style/overrides/_index.scss +2 -2
- package/src/style/overrides/igo2-lib/_index.scss +5 -2
- package/src/style/overrides/igo2-lib/_list.scss +22 -0
- package/src/style/overrides/igo2-lib/_panel.scss +7 -0
- package/src/style/overrides/igo2-lib/_search-bar.scss +70 -0
- package/src/style/overrides/material/_button.scss +118 -0
- package/src/style/overrides/material/_dialog.scss +37 -0
- package/src/style/overrides/material/_divider.scss +11 -0
- package/src/style/overrides/material/_form-field.scss +20 -0
- package/src/style/overrides/material/_icon.scss +34 -0
- package/src/style/overrides/material/_index.scss +12 -1
- package/src/style/overrides/material/_input.scss +5 -0
- package/src/style/overrides/material/_sidenav.scss +9 -0
- package/src/theme/_index.scss +1 -3
- package/src/theme/material/_index.scss +1 -0
- package/src/theme/material/_theme.scss +241 -0
- package/src/tokens/_index.scss +7 -0
- package/src/tokens/_sys-colors.scss +99 -0
- package/src/tokens/_sys-elevation.scss +17 -0
- package/src/tokens/_sys-layout.scss +28 -0
- package/src/tokens/_sys-palettes.scss +72 -0
- package/src/tokens/_sys-typography.scss +109 -0
- package/src/tokens/_system.scss +56 -0
- package/src/tokens/_token-utils.scss +79 -0
- package/src/style/overrides/igo2-lib/_index-theme.scss +0 -13
- package/src/style/overrides/igo2-lib/_search-bar-theme.scss +0 -33
- package/src/style/overrides/igo2-lib/list.scss +0 -24
- package/src/style/overrides/igo2-lib/panel.scss +0 -8
- package/src/style/overrides/igo2-lib/scrollbar.scss +0 -15
- package/src/style/overrides/igo2-lib/search-bar.scss +0 -43
- package/src/style/overrides/material/_button-theme.scss +0 -81
- package/src/style/overrides/material/_index-theme.scss +0 -13
- package/src/style/overrides/material/button.scss +0 -5
- package/src/style/overrides/material/dialog.scss +0 -36
- package/src/style/overrides/material/form-field.scss +0 -5
- package/src/style/overrides/material/input.scss +0 -5
- package/src/theme/_colors.scss +0 -128
- package/src/theme/_palettes.scss +0 -112
- package/src/theme/_theme.scss +0 -46
- package/src/typography/_index.scss +0 -2
- package/src/typography/typography.scss +0 -173
- package/src/typography/typography.utils.scss +0 -18
- /package/src/layout/{layout.scss → bootstrap-layout.scss} +0 -0
package/src/theme/_colors.scss
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:color';
|
|
3
|
-
|
|
4
|
-
// https://design.quebec.ca/bases/couleurs
|
|
5
|
-
// https://design.quebec.ca/design/bases/theme-sombre
|
|
6
|
-
$blue-colors: (
|
|
7
|
-
50: color.adjust(#dae6f0, $lightness: 5%),
|
|
8
|
-
100: #dae6f0,
|
|
9
|
-
150: #c6dbee,
|
|
10
|
-
200: #adcdeb,
|
|
11
|
-
300: #72b2eb,
|
|
12
|
-
350: #4a98d9,
|
|
13
|
-
400: #3b95e1,
|
|
14
|
-
500: #0078cc,
|
|
15
|
-
550: #1472bf,
|
|
16
|
-
600: #095797,
|
|
17
|
-
650: #19406c,
|
|
18
|
-
700: #223654,
|
|
19
|
-
800: #162b47,
|
|
20
|
-
900: color.adjust(#162b47, $lightness: -10%)
|
|
21
|
-
);
|
|
22
|
-
|
|
23
|
-
$grey-colors: (
|
|
24
|
-
0: #ffffff,
|
|
25
|
-
100: #f1f1f2,
|
|
26
|
-
150: #d7d8dd,
|
|
27
|
-
200: #c5cad2,
|
|
28
|
-
300: #a7acbc,
|
|
29
|
-
350: #8893a2,
|
|
30
|
-
400: #8590a8,
|
|
31
|
-
450: #6b778a,
|
|
32
|
-
500: #6a7688,
|
|
33
|
-
600: #4e5662,
|
|
34
|
-
700: #3b424c,
|
|
35
|
-
850: #1c2025,
|
|
36
|
-
900: #121519,
|
|
37
|
-
950: #000000
|
|
38
|
-
);
|
|
39
|
-
|
|
40
|
-
$red-colors: (
|
|
41
|
-
50: #ffdbd6,
|
|
42
|
-
200: #f3bcb6,
|
|
43
|
-
300: #e58271,
|
|
44
|
-
350: #f17b6c,
|
|
45
|
-
400: #f26049,
|
|
46
|
-
500: #cb381f,
|
|
47
|
-
550: #bb3a23,
|
|
48
|
-
700: #692519,
|
|
49
|
-
800: #4f180e
|
|
50
|
-
);
|
|
51
|
-
|
|
52
|
-
$green-colors: (
|
|
53
|
-
100: #d7f0bb,
|
|
54
|
-
200: #b0d493,
|
|
55
|
-
400: #6e9c57,
|
|
56
|
-
500: #4f813d,
|
|
57
|
-
600: #2c4024,
|
|
58
|
-
800: #1e2f17
|
|
59
|
-
);
|
|
60
|
-
|
|
61
|
-
$yellow-colors: (
|
|
62
|
-
100: #f8e69a,
|
|
63
|
-
400: #e0ad03,
|
|
64
|
-
450: #ac7900,
|
|
65
|
-
600: #ad781c,
|
|
66
|
-
650: #6d4512,
|
|
67
|
-
800: #3f240c
|
|
68
|
-
);
|
|
69
|
-
|
|
70
|
-
$violet-colors: (
|
|
71
|
-
300: #b3a5d4,
|
|
72
|
-
500: #6b4fa1
|
|
73
|
-
);
|
|
74
|
-
|
|
75
|
-
$blue-pale: map.get($blue-colors, 100);
|
|
76
|
-
$blue-150: map.get($blue-colors, 150);
|
|
77
|
-
$blue-200: map.get($blue-colors, 200);
|
|
78
|
-
$blue-300: map.get($blue-colors, 300);
|
|
79
|
-
$blue-light: map.get($blue-colors, 350);
|
|
80
|
-
$blue-400: map.get($blue-colors, 400);
|
|
81
|
-
$blue-500: map.get($blue-colors, 500);
|
|
82
|
-
$blue-normal: map.get($blue-colors, 550);
|
|
83
|
-
$blue-piv: map.get($blue-colors, 600);
|
|
84
|
-
$blue-medium: map.get($blue-colors, 650);
|
|
85
|
-
$blue-dark: map.get($blue-colors, 700);
|
|
86
|
-
$blue-800: map.get($blue-colors, 800);
|
|
87
|
-
|
|
88
|
-
$white: map.get($grey-colors, 0);
|
|
89
|
-
$grey-pale: map.get($grey-colors, 100);
|
|
90
|
-
$grey-150: map.get($grey-colors, 150);
|
|
91
|
-
$grey-light: map.get($grey-colors, 200);
|
|
92
|
-
$grey-300: map.get($grey-colors, 300);
|
|
93
|
-
$grey-normal: map.get($grey-colors, 350);
|
|
94
|
-
$grey-400: map.get($grey-colors, 400);
|
|
95
|
-
$grey-medium: map.get($grey-colors, 450);
|
|
96
|
-
$grey-500: map.get($grey-colors, 500);
|
|
97
|
-
$grey-dark: map.get($grey-colors, 600);
|
|
98
|
-
$grey-700: map.get($grey-colors, 700);
|
|
99
|
-
$grey-850: map.get($grey-colors, 500);
|
|
100
|
-
$grey-900: map.get($grey-colors, 900);
|
|
101
|
-
$black: map.get($grey-colors, 950);
|
|
102
|
-
|
|
103
|
-
$pink-pale: map.get($red-colors, 50);
|
|
104
|
-
$red-200: map.get($red-colors, 200);
|
|
105
|
-
$pink: map.get($red-colors, 300);
|
|
106
|
-
$red-350: map.get($red-colors, 350);
|
|
107
|
-
$red-400: map.get($red-colors, 400);
|
|
108
|
-
$red-normal: map.get($red-colors, 500);
|
|
109
|
-
$red-550: map.get($red-colors, 550);
|
|
110
|
-
$red-dark: map.get($red-colors, 700);
|
|
111
|
-
$red-800: map.get($red-colors, 800);
|
|
112
|
-
|
|
113
|
-
$green-pale: map.get($green-colors, 100);
|
|
114
|
-
$green-200: map.get($green-colors, 200);
|
|
115
|
-
$green-400: map.get($green-colors, 400);
|
|
116
|
-
$green-normal: map.get($green-colors, 500);
|
|
117
|
-
$green-dark: map.get($green-colors, 600);
|
|
118
|
-
$green-800: map.get($green-colors, 800);
|
|
119
|
-
|
|
120
|
-
$yellow-pale: map.get($yellow-colors, 100);
|
|
121
|
-
$yellow-normal: map.get($yellow-colors, 400);
|
|
122
|
-
$yellow-450: map.get($yellow-colors, 450);
|
|
123
|
-
$yellow-dark: map.get($yellow-colors, 600);
|
|
124
|
-
$yellow-650: map.get($yellow-colors, 650);
|
|
125
|
-
$yellow-800: map.get($yellow-colors, 800);
|
|
126
|
-
|
|
127
|
-
$violet-300: map.get($violet-colors, 300);
|
|
128
|
-
$violet-normal: map.get($violet-colors, 500);
|
package/src/theme/_palettes.scss
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:color';
|
|
3
|
-
@use './colors';
|
|
4
|
-
|
|
5
|
-
// Design Quebec colors
|
|
6
|
-
|
|
7
|
-
// $primary: colors.$blue-piv;
|
|
8
|
-
// $accent: colors.$pink;
|
|
9
|
-
|
|
10
|
-
$dark-primary-text: colors.$blue-dark;
|
|
11
|
-
$light-primary-text: colors.$white;
|
|
12
|
-
|
|
13
|
-
$primary-palette: (
|
|
14
|
-
50: map.get(colors.$blue-colors, 50),
|
|
15
|
-
100: map.get(colors.$blue-colors, 100),
|
|
16
|
-
200: map.get(colors.$blue-colors, 200),
|
|
17
|
-
300: map.get(colors.$blue-colors, 300),
|
|
18
|
-
400: map.get(colors.$blue-colors, 400),
|
|
19
|
-
500: map.get(colors.$blue-colors, 500),
|
|
20
|
-
600: map.get(colors.$blue-colors, 600),
|
|
21
|
-
700: map.get(colors.$blue-colors, 700),
|
|
22
|
-
800: map.get(colors.$blue-colors, 800),
|
|
23
|
-
900: map.get(colors.$blue-colors, 900),
|
|
24
|
-
A100: map.get(colors.$blue-colors, 500),
|
|
25
|
-
A200: color.adjust(map.get(colors.$blue-colors, 500), $lightness: 10%),
|
|
26
|
-
A400: map.get(colors.$grey-colors, 200),
|
|
27
|
-
A700: map.get(colors.$grey-colors, 100),
|
|
28
|
-
contrast: (
|
|
29
|
-
50: $dark-primary-text,
|
|
30
|
-
100: $dark-primary-text,
|
|
31
|
-
200: $dark-primary-text,
|
|
32
|
-
300: $dark-primary-text,
|
|
33
|
-
400: $dark-primary-text,
|
|
34
|
-
500: $light-primary-text,
|
|
35
|
-
600: $light-primary-text,
|
|
36
|
-
700: $light-primary-text,
|
|
37
|
-
800: $light-primary-text,
|
|
38
|
-
900: $light-primary-text,
|
|
39
|
-
A100: $dark-primary-text,
|
|
40
|
-
A200: $light-primary-text,
|
|
41
|
-
A400: $light-primary-text,
|
|
42
|
-
A700: $light-primary-text
|
|
43
|
-
)
|
|
44
|
-
);
|
|
45
|
-
|
|
46
|
-
$accent: map.get(colors.$red-colors, 300);
|
|
47
|
-
|
|
48
|
-
$accent-palette: (
|
|
49
|
-
50: map.get(colors.$red-colors, 50),
|
|
50
|
-
100: color.adjust($accent, $lightness: 40%),
|
|
51
|
-
200: color.adjust($accent, $lightness: 30%),
|
|
52
|
-
300: color.adjust($accent, $lightness: 20%),
|
|
53
|
-
400: color.adjust($accent, $lightness: 10%),
|
|
54
|
-
500: $accent,
|
|
55
|
-
600: color.adjust($accent, $lightness: -10%),
|
|
56
|
-
700: color.adjust($accent, $lightness: -20%),
|
|
57
|
-
800: color.adjust($accent, $lightness: -30%),
|
|
58
|
-
900: color.adjust($accent, $lightness: -40%),
|
|
59
|
-
A100: map.get(colors.$red-colors, 500),
|
|
60
|
-
A200: color.adjust(map.get(colors.$red-colors, 500), $lightness: 10%),
|
|
61
|
-
A400: map.get(colors.$grey-colors, 200),
|
|
62
|
-
A700: map.get(colors.$grey-colors, 100),
|
|
63
|
-
contrast: (
|
|
64
|
-
50: $dark-primary-text,
|
|
65
|
-
100: $dark-primary-text,
|
|
66
|
-
200: $dark-primary-text,
|
|
67
|
-
300: $dark-primary-text,
|
|
68
|
-
400: $dark-primary-text,
|
|
69
|
-
500: $light-primary-text,
|
|
70
|
-
600: $light-primary-text,
|
|
71
|
-
700: $light-primary-text,
|
|
72
|
-
800: $light-primary-text,
|
|
73
|
-
900: $light-primary-text,
|
|
74
|
-
A100: $dark-primary-text,
|
|
75
|
-
A200: $light-primary-text,
|
|
76
|
-
A400: $light-primary-text,
|
|
77
|
-
A700: $light-primary-text
|
|
78
|
-
)
|
|
79
|
-
);
|
|
80
|
-
|
|
81
|
-
$warn-palette: (
|
|
82
|
-
50: map.get(colors.$red-colors, 50),
|
|
83
|
-
100: color.adjust(map.get(colors.$red-colors, 200), $lightness: 10%),
|
|
84
|
-
200: map.get(colors.$red-colors, 200),
|
|
85
|
-
300: map.get(colors.$red-colors, 300),
|
|
86
|
-
400: map.get(colors.$red-colors, 400),
|
|
87
|
-
500: map.get(colors.$red-colors, 500),
|
|
88
|
-
600: map.get(colors.$red-colors, 550),
|
|
89
|
-
700: map.get(colors.$red-colors, 700),
|
|
90
|
-
800: map.get(colors.$red-colors, 800),
|
|
91
|
-
900: color.adjust(map.get(colors.$red-colors, 800), $lightness: -10%),
|
|
92
|
-
A100: map.get(colors.$red-colors, 500),
|
|
93
|
-
A200: color.adjust(map.get(colors.$red-colors, 500), $lightness: 10%),
|
|
94
|
-
A400: map.get(colors.$grey-colors, 200),
|
|
95
|
-
A700: map.get(colors.$grey-colors, 100),
|
|
96
|
-
contrast: (
|
|
97
|
-
50: $dark-primary-text,
|
|
98
|
-
100: $dark-primary-text,
|
|
99
|
-
200: $dark-primary-text,
|
|
100
|
-
300: $dark-primary-text,
|
|
101
|
-
400: $dark-primary-text,
|
|
102
|
-
500: $light-primary-text,
|
|
103
|
-
600: $light-primary-text,
|
|
104
|
-
700: $light-primary-text,
|
|
105
|
-
800: $light-primary-text,
|
|
106
|
-
900: $light-primary-text,
|
|
107
|
-
A100: $dark-primary-text,
|
|
108
|
-
A200: $light-primary-text,
|
|
109
|
-
A400: $light-primary-text,
|
|
110
|
-
A700: $light-primary-text
|
|
111
|
-
)
|
|
112
|
-
);
|
package/src/theme/_theme.scss
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use '../style/overrides';
|
|
3
|
-
@use './palettes';
|
|
4
|
-
@use '../typography';
|
|
5
|
-
|
|
6
|
-
// https://design.quebec.ca/a-propos-systeme-design
|
|
7
|
-
$theme: mat.m2-define-light-theme(
|
|
8
|
-
(
|
|
9
|
-
color: (
|
|
10
|
-
primary: mat.m2-define-palette(palettes.$primary-palette, 600, 400, 700),
|
|
11
|
-
accent: mat.m2-define-palette(palettes.$accent-palette, 500),
|
|
12
|
-
warn: mat.m2-define-palette(palettes.$warn-palette, 500),
|
|
13
|
-
success: mat.m2-define-palette(palettes.$primary-palette, 900)
|
|
14
|
-
),
|
|
15
|
-
typography: typography.$typography,
|
|
16
|
-
density: 0
|
|
17
|
-
)
|
|
18
|
-
);
|
|
19
|
-
|
|
20
|
-
// Define an alternate dark theme.
|
|
21
|
-
$dark-theme: mat.m2-define-dark-theme(
|
|
22
|
-
(
|
|
23
|
-
color: (
|
|
24
|
-
primary: mat.m2-define-palette(palettes.$primary-palette, 300, 100, 800),
|
|
25
|
-
accent: mat.m2-define-palette(palettes.$accent-palette, 400, 100, 800),
|
|
26
|
-
warn: mat.m2-define-palette(palettes.$warn-palette, 400, 200, 800)
|
|
27
|
-
),
|
|
28
|
-
typography: typography.$typography,
|
|
29
|
-
density: 0
|
|
30
|
-
)
|
|
31
|
-
);
|
|
32
|
-
|
|
33
|
-
@mixin themes($theme) {
|
|
34
|
-
@include overrides.override-igo2-lib-themes($theme);
|
|
35
|
-
@include overrides.override-material-themes($theme);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@mixin colors($theme) {
|
|
39
|
-
@include overrides.override-igo2-lib-colors($theme);
|
|
40
|
-
@include overrides.override-material-colors($theme);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@mixin densities($theme) {
|
|
44
|
-
@include overrides.override-igo2-lib-densities($theme);
|
|
45
|
-
@include overrides.override-material-densities($theme);
|
|
46
|
-
}
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use '../theme/colors';
|
|
3
|
-
@use '../theme/palettes';
|
|
4
|
-
@use '../layout/breakpoints';
|
|
5
|
-
@use './typography.utils' as typo-utils;
|
|
6
|
-
|
|
7
|
-
// https://design.quebec.ca/bases/polices-caracteres
|
|
8
|
-
// https://design.quebec.ca/bases/niveaux-titres
|
|
9
|
-
// https://material.angular.io/guide/typography
|
|
10
|
-
$font-family-text: 'Open Sans', sans-serif;
|
|
11
|
-
$font-family-title: 'Roboto', sans-serif;
|
|
12
|
-
|
|
13
|
-
$typography: mat.m2-define-typography-config(
|
|
14
|
-
$font-family: $font-family-text,
|
|
15
|
-
$headline-1: mat.m2-define-typography-level(110px, 110px, 500),
|
|
16
|
-
$headline-2: mat.m2-define-typography-level(54px, 54px, 500),
|
|
17
|
-
$headline-3: mat.m2-define-typography-level(43px, 46px, 500),
|
|
18
|
-
$headline-4: mat.m2-define-typography-level(32px, 38px, 500),
|
|
19
|
-
// h1
|
|
20
|
-
$headline-5: mat.m2-define-typography-level(48px, 56px, bold),
|
|
21
|
-
// h2
|
|
22
|
-
$headline-6: mat.m2-define-typography-level(36px, 40px, bold),
|
|
23
|
-
// h3
|
|
24
|
-
$subtitle-1: mat.m2-define-typography-level(28px, 32px, bold),
|
|
25
|
-
// h4
|
|
26
|
-
$subtitle-2: mat.m2-define-typography-level(21px, 24px, bold),
|
|
27
|
-
$body-1: mat.m2-define-typography-level(16px, 24px, 400),
|
|
28
|
-
$body-2: mat.m2-define-typography-level(12px, 18px, 400),
|
|
29
|
-
$caption: mat.m2-define-typography-level(12px, 18px, 400),
|
|
30
|
-
$button: mat.m2-define-typography-level(13px, 13px, 500)
|
|
31
|
-
);
|
|
32
|
-
|
|
33
|
-
$typography-mobile: mat.m2-define-typography-config(
|
|
34
|
-
// h1
|
|
35
|
-
$headline-5: mat.m2-define-typography-level(36px, 40px, bold),
|
|
36
|
-
// h2
|
|
37
|
-
$headline-6: mat.m2-define-typography-level(28px, 32px, bold),
|
|
38
|
-
// h3
|
|
39
|
-
$subtitle-1: mat.m2-define-typography-level(25px, 32px, bold)
|
|
40
|
-
);
|
|
41
|
-
|
|
42
|
-
$font-color: colors.$blue-dark;
|
|
43
|
-
|
|
44
|
-
@mixin typo-set-base-styles {
|
|
45
|
-
body {
|
|
46
|
-
color: $font-color;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
a {
|
|
50
|
-
word-break: break-word;
|
|
51
|
-
overflow-wrap: break-word;
|
|
52
|
-
cursor: pointer;
|
|
53
|
-
color: colors.$blue-piv;
|
|
54
|
-
text-decoration: underline;
|
|
55
|
-
background-color: transparent;
|
|
56
|
-
width: fit-content;
|
|
57
|
-
max-inline-size: breakpoints.$max-content-width;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
a:hover {
|
|
61
|
-
text-decoration: none;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
button {
|
|
65
|
-
font-family: $font-family-text;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
p,
|
|
69
|
-
ul,
|
|
70
|
-
ol,
|
|
71
|
-
u,
|
|
72
|
-
.text {
|
|
73
|
-
color: $font-color;
|
|
74
|
-
font-size: 16px;
|
|
75
|
-
line-height: 24px;
|
|
76
|
-
max-inline-size: breakpoints.$max-content-width;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
ul,
|
|
80
|
-
ol {
|
|
81
|
-
margin-top: 0;
|
|
82
|
-
margin-bottom: 24px;
|
|
83
|
-
padding-left: 16px;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
p {
|
|
87
|
-
margin-bottom: 24px !important;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
li {
|
|
91
|
-
margin-top: 16px;
|
|
92
|
-
margin-bottom: 16px;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
strong {
|
|
96
|
-
font-weight: 600;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
h1,
|
|
100
|
-
h2,
|
|
101
|
-
h3,
|
|
102
|
-
h4,
|
|
103
|
-
h5,
|
|
104
|
-
h6,
|
|
105
|
-
.h1,
|
|
106
|
-
.h2,
|
|
107
|
-
.h3,
|
|
108
|
-
.h4,
|
|
109
|
-
.h5,
|
|
110
|
-
.h6 {
|
|
111
|
-
font-family: $font-family-title !important;
|
|
112
|
-
color: $font-color;
|
|
113
|
-
max-inline-size: breakpoints.$max-content-width;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
h1 {
|
|
117
|
-
margin-top: 72px !important;
|
|
118
|
-
margin-bottom: 32px !important;
|
|
119
|
-
|
|
120
|
-
@include typo-utils.title-border;
|
|
121
|
-
|
|
122
|
-
@include breakpoints.media(mobile) {
|
|
123
|
-
margin-top: 48px !important;
|
|
124
|
-
margin-bottom: 16px !important;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
h2 {
|
|
129
|
-
margin-top: 48px !important;
|
|
130
|
-
margin-bottom: 16px !important;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
h3 {
|
|
134
|
-
margin-top: 24px !important;
|
|
135
|
-
margin-bottom: 16px !important;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
// WORKAROUND, mat-typography area of intersection h4 is using mat-body-1
|
|
139
|
-
// https://github.com/angular/components/issues/26351
|
|
140
|
-
h4 {
|
|
141
|
-
@include typo-utils.title-level-4;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
h4 {
|
|
145
|
-
margin-top: 24px !important;
|
|
146
|
-
margin-bottom: 8px !important;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
h5 {
|
|
150
|
-
font-size: 19px !important;
|
|
151
|
-
line-height: 24px !important;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
h6 {
|
|
155
|
-
font-size: 16px !important;
|
|
156
|
-
line-height: 20px !important;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
h5,
|
|
160
|
-
h6 {
|
|
161
|
-
font-weight: bold !important;
|
|
162
|
-
margin-top: 16px !important;
|
|
163
|
-
margin-bottom: 0px !important;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.accroche {
|
|
167
|
-
font-size: 18px;
|
|
168
|
-
line-height: 28px;
|
|
169
|
-
font-weight: 600;
|
|
170
|
-
max-width: breakpoints.$max-content-width;
|
|
171
|
-
padding-bottom: 24px;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
@use '../theme/colors';
|
|
2
|
-
|
|
3
|
-
@mixin title-border {
|
|
4
|
-
&:after {
|
|
5
|
-
content: '';
|
|
6
|
-
display: block;
|
|
7
|
-
margin: 0;
|
|
8
|
-
width: 48px;
|
|
9
|
-
padding-top: 4px;
|
|
10
|
-
border-bottom: 4px solid colors.$pink;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@mixin title-level-4 {
|
|
15
|
-
font-size: 21px !important;
|
|
16
|
-
line-height: 24px !important;
|
|
17
|
-
font-weight: bold !important;
|
|
18
|
-
}
|
|
File without changes
|