@igo2/core 16.0.0-rc.3 → 16.0.0-rc.5
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 +8 -8
- package/core-theme.scss +5 -5
- package/esm2022/lib/config/version.mjs +3 -3
- package/esm2022/lib/message/shared/message.service.mjs +2 -2
- package/esm2022/lib/storage/index.mjs +1 -1
- package/fesm2022/igo2-core.mjs +3 -3
- package/fesm2022/igo2-core.mjs.map +1 -1
- package/locale/en.json +1 -1
- package/locale/fr.json +1 -1
- package/package.json +2 -2
- package/theming/all-theme.scss +14 -14
- package/theming/prebuilt-themes/blue-theme.css +45 -25
- package/theming/prebuilt-themes/bluedark-theme.css +45 -25
- package/theming/prebuilt-themes/bluedq-theme.css +45 -25
- package/theming/prebuilt-themes/bluegrey-theme.css +45 -25
- package/theming/prebuilt-themes/dark-theme.css +45 -25
- package/theming/prebuilt-themes/deeppurple-theme.css +45 -25
- package/theming/prebuilt-themes/indigo-theme.css +45 -25
- package/theming/prebuilt-themes/orange-theme.css +45 -25
- package/theming/prebuilt-themes/qcca/_index.scss +2 -2
- package/theming/prebuilt-themes/qcca/base/colors.scss +40 -40
- package/theming/prebuilt-themes/qcca/base/palette.scss +50 -50
- package/theming/prebuilt-themes/qcca/base/typography/typography.scss +138 -138
- package/theming/prebuilt-themes/qcca/components/form-field.scss +5 -5
- package/theming/prebuilt-themes/qcca/components/input.scss +6 -6
- package/theming/prebuilt-themes/qcca/components/list.scss +24 -24
- package/theming/prebuilt-themes/qcca/components/panel.scss +8 -8
- package/theming/prebuilt-themes/qcca-theme.css +25 -5
- package/theming/prebuilt-themes/qcca-theme.scss +47 -47
- package/theming/prebuilt-themes/teal-theme.css +45 -25
- package/theming/typography.scss +5 -5
- package/theming/utils/_foreground.scss +22 -22
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
h4 {
|
|
2
|
-
font-size:
|
|
2
|
+
font-size: 14px !important;
|
|
3
3
|
line-height: 22px !important;
|
|
4
4
|
font-weight: 500 !important;
|
|
5
5
|
}
|
|
@@ -209,9 +209,9 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
209
209
|
.mat-typography .mat-h1,
|
|
210
210
|
.mat-typography .mat-headline-5,
|
|
211
211
|
.mat-typography h1 {
|
|
212
|
-
font-size:
|
|
213
|
-
font-weight:
|
|
214
|
-
line-height:
|
|
212
|
+
font-size: 24px;
|
|
213
|
+
font-weight: 400;
|
|
214
|
+
line-height: 32px;
|
|
215
215
|
font-family: Roboto, sans-serif;
|
|
216
216
|
letter-spacing: normal;
|
|
217
217
|
margin: 0 0 16px;
|
|
@@ -222,8 +222,8 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
222
222
|
.mat-typography .mat-h2,
|
|
223
223
|
.mat-typography .mat-headline-6,
|
|
224
224
|
.mat-typography h2 {
|
|
225
|
-
font-size:
|
|
226
|
-
font-weight:
|
|
225
|
+
font-size: 20px;
|
|
226
|
+
font-weight: 400;
|
|
227
227
|
line-height: 30px;
|
|
228
228
|
font-family: Roboto, sans-serif;
|
|
229
229
|
letter-spacing: normal;
|
|
@@ -235,7 +235,7 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
235
235
|
.mat-typography .mat-h3,
|
|
236
236
|
.mat-typography .mat-subtitle-1,
|
|
237
237
|
.mat-typography h3 {
|
|
238
|
-
font-size:
|
|
238
|
+
font-size: 16px;
|
|
239
239
|
font-weight: 500;
|
|
240
240
|
line-height: 26px;
|
|
241
241
|
font-family: Roboto, sans-serif;
|
|
@@ -274,7 +274,7 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
274
274
|
.mat-subtitle-2,
|
|
275
275
|
.mat-typography .mat-body-strong,
|
|
276
276
|
.mat-typography .mat-subtitle-2 {
|
|
277
|
-
font-size:
|
|
277
|
+
font-size: 12px;
|
|
278
278
|
font-weight: 500;
|
|
279
279
|
line-height: 22px;
|
|
280
280
|
font-family: Roboto, sans-serif;
|
|
@@ -580,12 +580,12 @@ html {
|
|
|
580
580
|
.mat-mdc-card {
|
|
581
581
|
--mat-card-title-text-font: Roboto, sans-serif;
|
|
582
582
|
--mat-card-title-text-line-height: 30px;
|
|
583
|
-
--mat-card-title-text-size:
|
|
583
|
+
--mat-card-title-text-size: 20px;
|
|
584
584
|
--mat-card-title-text-tracking: normal;
|
|
585
|
-
--mat-card-title-text-weight:
|
|
585
|
+
--mat-card-title-text-weight: 400;
|
|
586
586
|
--mat-card-subtitle-text-font: Roboto, sans-serif;
|
|
587
587
|
--mat-card-subtitle-text-line-height: 22px;
|
|
588
|
-
--mat-card-subtitle-text-size:
|
|
588
|
+
--mat-card-subtitle-text-size: 12px;
|
|
589
589
|
--mat-card-subtitle-text-tracking: normal;
|
|
590
590
|
--mat-card-subtitle-text-weight: 500;
|
|
591
591
|
}
|
|
@@ -906,8 +906,8 @@ html {
|
|
|
906
906
|
.mat-mdc-dialog-container {
|
|
907
907
|
--mdc-dialog-subhead-font: Roboto, sans-serif;
|
|
908
908
|
--mdc-dialog-subhead-line-height: 30px;
|
|
909
|
-
--mdc-dialog-subhead-size:
|
|
910
|
-
--mdc-dialog-subhead-weight:
|
|
909
|
+
--mdc-dialog-subhead-size: 20px;
|
|
910
|
+
--mdc-dialog-subhead-weight: 400;
|
|
911
911
|
--mdc-dialog-subhead-tracking: normal;
|
|
912
912
|
--mdc-dialog-supporting-text-font: Roboto, sans-serif;
|
|
913
913
|
--mdc-dialog-supporting-text-line-height: 22px;
|
|
@@ -1198,7 +1198,7 @@ html {
|
|
|
1198
1198
|
|
|
1199
1199
|
.mat-mdc-slider {
|
|
1200
1200
|
--mdc-slider-label-label-text-font: Roboto, sans-serif;
|
|
1201
|
-
--mdc-slider-label-label-text-size:
|
|
1201
|
+
--mdc-slider-label-label-text-size: 12px;
|
|
1202
1202
|
--mdc-slider-label-label-text-line-height: 22px;
|
|
1203
1203
|
--mdc-slider-label-label-text-tracking: normal;
|
|
1204
1204
|
--mdc-slider-label-label-text-weight: 500;
|
|
@@ -1386,7 +1386,7 @@ html {
|
|
|
1386
1386
|
}
|
|
1387
1387
|
|
|
1388
1388
|
.mdc-list-group__subheader {
|
|
1389
|
-
font-size:
|
|
1389
|
+
font-size: 16px;
|
|
1390
1390
|
font-weight: 500;
|
|
1391
1391
|
line-height: 26px;
|
|
1392
1392
|
font-family: Roboto, sans-serif;
|
|
@@ -1915,7 +1915,7 @@ html {
|
|
|
1915
1915
|
html {
|
|
1916
1916
|
--mat-table-header-headline-font: Roboto, sans-serif;
|
|
1917
1917
|
--mat-table-header-headline-line-height: 22px;
|
|
1918
|
-
--mat-table-header-headline-size:
|
|
1918
|
+
--mat-table-header-headline-size: 12px;
|
|
1919
1919
|
--mat-table-header-headline-weight: 500;
|
|
1920
1920
|
--mat-table-header-headline-tracking: normal;
|
|
1921
1921
|
--mat-table-row-item-label-text-font: Roboto, sans-serif;
|
|
@@ -2293,7 +2293,7 @@ html {
|
|
|
2293
2293
|
|
|
2294
2294
|
html {
|
|
2295
2295
|
--mat-expansion-header-text-font: Roboto, sans-serif;
|
|
2296
|
-
--mat-expansion-header-text-size:
|
|
2296
|
+
--mat-expansion-header-text-size: 12px;
|
|
2297
2297
|
--mat-expansion-header-text-weight: 500;
|
|
2298
2298
|
--mat-expansion-header-text-line-height: inherit;
|
|
2299
2299
|
--mat-expansion-header-text-tracking: inherit;
|
|
@@ -2417,9 +2417,9 @@ html {
|
|
|
2417
2417
|
html {
|
|
2418
2418
|
--mat-toolbar-title-text-font: Roboto, sans-serif;
|
|
2419
2419
|
--mat-toolbar-title-text-line-height: 30px;
|
|
2420
|
-
--mat-toolbar-title-text-size:
|
|
2420
|
+
--mat-toolbar-title-text-size: 20px;
|
|
2421
2421
|
--mat-toolbar-title-text-tracking: normal;
|
|
2422
|
-
--mat-toolbar-title-text-weight:
|
|
2422
|
+
--mat-toolbar-title-text-weight: 400;
|
|
2423
2423
|
}
|
|
2424
2424
|
|
|
2425
2425
|
.mat-tree {
|
|
@@ -2769,7 +2769,7 @@ igo-draw-shorcuts .igo-map-tooltip-draw,
|
|
|
2769
2769
|
igo-draw .igo-map-tooltip-draw {
|
|
2770
2770
|
color: rgba(0, 0, 0, 0.87);
|
|
2771
2771
|
font-weight: bold;
|
|
2772
|
-
font-size:
|
|
2772
|
+
font-size: 16px;
|
|
2773
2773
|
}
|
|
2774
2774
|
|
|
2775
2775
|
igo-draw-popup-component h1 {
|
|
@@ -2827,6 +2827,11 @@ igo-layer-legend img:after {
|
|
|
2827
2827
|
border-top-color: #ef6c00;
|
|
2828
2828
|
}
|
|
2829
2829
|
|
|
2830
|
+
igo-layer-list-tool mat-form-field .mat-mdc-text-field-wrapper,
|
|
2831
|
+
igo-layer-list-tool mat-form-field .mat-mdc-form-field-focus-overlay {
|
|
2832
|
+
background-color: white !important;
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2830
2835
|
igo-layer-list-tool .mat-mdc-icon-button.mat-mdc-button-base {
|
|
2831
2836
|
--mdc-icon-button-state-layer-size: 40px;
|
|
2832
2837
|
width: var(--mdc-icon-button-state-layer-size);
|
|
@@ -2868,6 +2873,12 @@ igo-layer-item.igo-layer-item-focused > mat-list-item {
|
|
|
2868
2873
|
background-color: #b3e5fc;
|
|
2869
2874
|
color: white;
|
|
2870
2875
|
}
|
|
2876
|
+
igo-layer-item button:not(.mat-primary) mat-icon {
|
|
2877
|
+
color: black;
|
|
2878
|
+
}
|
|
2879
|
+
igo-layer-item button mat-icon.disabled {
|
|
2880
|
+
color: rgba(0, 0, 0, 0.38);
|
|
2881
|
+
}
|
|
2871
2882
|
|
|
2872
2883
|
igo-map-browser div.ol-attribution > button {
|
|
2873
2884
|
color: #ef6c00;
|
|
@@ -2915,15 +2926,13 @@ igo-menu-button > button#menu-button.menu-button-white-background {
|
|
|
2915
2926
|
}
|
|
2916
2927
|
|
|
2917
2928
|
.igo-map-tooltip-measure {
|
|
2918
|
-
font-size:
|
|
2929
|
+
font-size: 16px;
|
|
2919
2930
|
}
|
|
2920
2931
|
|
|
2921
|
-
igo-search-bar mat-form-field .mat-mdc-text-field-wrapper
|
|
2932
|
+
igo-search-bar mat-form-field .mat-mdc-text-field-wrapper,
|
|
2933
|
+
igo-search-bar mat-form-field .mat-mdc-form-field-focus-overlay {
|
|
2922
2934
|
background-color: white !important;
|
|
2923
2935
|
}
|
|
2924
|
-
igo-search-bar mat-form-field .mdc-line-ripple {
|
|
2925
|
-
display: none;
|
|
2926
|
-
}
|
|
2927
2936
|
|
|
2928
2937
|
igo-search-bar .mat-mdc-form-field-infix {
|
|
2929
2938
|
min-height: 48px;
|
|
@@ -2953,6 +2962,17 @@ igo-search-bar .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-m
|
|
|
2953
2962
|
display: none;
|
|
2954
2963
|
}
|
|
2955
2964
|
|
|
2965
|
+
igo-search-bar mat-form-field .mdc-line-ripple {
|
|
2966
|
+
display: none;
|
|
2967
|
+
}
|
|
2968
|
+
|
|
2969
|
+
igo-search-results-item .mdc-list-item--with-leading-icon:hover .mdc-list-item__start {
|
|
2970
|
+
color: black;
|
|
2971
|
+
}
|
|
2972
|
+
igo-search-results-item .mdc-list-item--with-leading-icon .mdc-list-item__start {
|
|
2973
|
+
color: rgba(0, 0, 0, 0.87);
|
|
2974
|
+
}
|
|
2975
|
+
|
|
2956
2976
|
igo-confirmation-popup-component h1 {
|
|
2957
2977
|
font-size: 32px;
|
|
2958
2978
|
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@forward './base';
|
|
2
|
-
@forward './components';
|
|
1
|
+
@forward './base';
|
|
2
|
+
@forward './components';
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
// https://design.quebec.ca/bases/couleurs#c118192
|
|
4
|
-
$colors: (
|
|
5
|
-
blue: (
|
|
6
|
-
light: #dae6f0,
|
|
7
|
-
light-2: #4a98d9,
|
|
8
|
-
normal: #1472bf,
|
|
9
|
-
normal-piv: #095797,
|
|
10
|
-
medium: #19406c,
|
|
11
|
-
dark: #223654
|
|
12
|
-
),
|
|
13
|
-
grey: (
|
|
14
|
-
light: #f1f1f2,
|
|
15
|
-
light-2: #c5cad2,
|
|
16
|
-
normal: #8893a2,
|
|
17
|
-
medium: #6b778a,
|
|
18
|
-
dark: #4e5662
|
|
19
|
-
),
|
|
20
|
-
red: (
|
|
21
|
-
pink-light: #ffdbd6,
|
|
22
|
-
pink: #e58271,
|
|
23
|
-
normal: #cb381f,
|
|
24
|
-
dark: #692519
|
|
25
|
-
),
|
|
26
|
-
green: (
|
|
27
|
-
light: #d7f0bb,
|
|
28
|
-
normal: #4f813d,
|
|
29
|
-
dark: #2c4024
|
|
30
|
-
),
|
|
31
|
-
yellow: (
|
|
32
|
-
light: #f8e69a,
|
|
33
|
-
normal: #e0ad03,
|
|
34
|
-
dark: #ad781c
|
|
35
|
-
)
|
|
36
|
-
);
|
|
37
|
-
|
|
38
|
-
@function get($color, $name) {
|
|
39
|
-
@return map.get($colors, $color, $name);
|
|
40
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
// https://design.quebec.ca/bases/couleurs#c118192
|
|
4
|
+
$colors: (
|
|
5
|
+
blue: (
|
|
6
|
+
light: #dae6f0,
|
|
7
|
+
light-2: #4a98d9,
|
|
8
|
+
normal: #1472bf,
|
|
9
|
+
normal-piv: #095797,
|
|
10
|
+
medium: #19406c,
|
|
11
|
+
dark: #223654
|
|
12
|
+
),
|
|
13
|
+
grey: (
|
|
14
|
+
light: #f1f1f2,
|
|
15
|
+
light-2: #c5cad2,
|
|
16
|
+
normal: #8893a2,
|
|
17
|
+
medium: #6b778a,
|
|
18
|
+
dark: #4e5662
|
|
19
|
+
),
|
|
20
|
+
red: (
|
|
21
|
+
pink-light: #ffdbd6,
|
|
22
|
+
pink: #e58271,
|
|
23
|
+
normal: #cb381f,
|
|
24
|
+
dark: #692519
|
|
25
|
+
),
|
|
26
|
+
green: (
|
|
27
|
+
light: #d7f0bb,
|
|
28
|
+
normal: #4f813d,
|
|
29
|
+
dark: #2c4024
|
|
30
|
+
),
|
|
31
|
+
yellow: (
|
|
32
|
+
light: #f8e69a,
|
|
33
|
+
normal: #e0ad03,
|
|
34
|
+
dark: #ad781c
|
|
35
|
+
)
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
@function get($color, $name) {
|
|
39
|
+
@return map.get($colors, $color, $name);
|
|
40
|
+
}
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:color';
|
|
3
|
-
@use './colors';
|
|
4
|
-
|
|
5
|
-
$blue-light: colors.get(blue, light);
|
|
6
|
-
$blue-light-2: colors.get(blue, light-2);
|
|
7
|
-
$blue-normal: colors.get(blue, normal);
|
|
8
|
-
$blue-normal-piv: colors.get(blue, normal-piv);
|
|
9
|
-
$blue-medium: colors.get(blue, medium);
|
|
10
|
-
$blue-dark: colors.get(blue, dark);
|
|
11
|
-
|
|
12
|
-
// Design Quebec colors
|
|
13
|
-
$primary: $blue-normal-piv;
|
|
14
|
-
$accent: colors.get(red, pink);
|
|
15
|
-
|
|
16
|
-
$dark-primary-text: $blue-dark;
|
|
17
|
-
$light-primary-text: white;
|
|
18
|
-
|
|
19
|
-
$palette: (
|
|
20
|
-
50: $blue-light,
|
|
21
|
-
100: color.adjust($blue-light-2, $lightness: 20%),
|
|
22
|
-
200: color.adjust($blue-light-2, $lightness: 10%),
|
|
23
|
-
300: $blue-light-2,
|
|
24
|
-
400: $blue-normal,
|
|
25
|
-
500: $primary,
|
|
26
|
-
600: color.adjust($primary, $lightness: -10%),
|
|
27
|
-
700: $blue-medium,
|
|
28
|
-
800: color.adjust($blue-medium, $lightness: -10%),
|
|
29
|
-
900: $blue-dark,
|
|
30
|
-
A100: $blue-normal,
|
|
31
|
-
A200: color.adjust($blue-normal, $lightness: 10%),
|
|
32
|
-
A400: colors.get(grey, light-2),
|
|
33
|
-
A700: colors.get(grey, light),
|
|
34
|
-
contrast: (
|
|
35
|
-
50: $dark-primary-text,
|
|
36
|
-
100: $dark-primary-text,
|
|
37
|
-
200: $dark-primary-text,
|
|
38
|
-
300: $dark-primary-text,
|
|
39
|
-
400: $dark-primary-text,
|
|
40
|
-
500: $light-primary-text,
|
|
41
|
-
600: $light-primary-text,
|
|
42
|
-
700: $light-primary-text,
|
|
43
|
-
800: $light-primary-text,
|
|
44
|
-
900: $light-primary-text,
|
|
45
|
-
A100: $dark-primary-text,
|
|
46
|
-
A200: $light-primary-text,
|
|
47
|
-
A400: $light-primary-text,
|
|
48
|
-
A700: $light-primary-text
|
|
49
|
-
)
|
|
50
|
-
);
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:color';
|
|
3
|
+
@use './colors';
|
|
4
|
+
|
|
5
|
+
$blue-light: colors.get(blue, light);
|
|
6
|
+
$blue-light-2: colors.get(blue, light-2);
|
|
7
|
+
$blue-normal: colors.get(blue, normal);
|
|
8
|
+
$blue-normal-piv: colors.get(blue, normal-piv);
|
|
9
|
+
$blue-medium: colors.get(blue, medium);
|
|
10
|
+
$blue-dark: colors.get(blue, dark);
|
|
11
|
+
|
|
12
|
+
// Design Quebec colors
|
|
13
|
+
$primary: $blue-normal-piv;
|
|
14
|
+
$accent: colors.get(red, pink);
|
|
15
|
+
|
|
16
|
+
$dark-primary-text: $blue-dark;
|
|
17
|
+
$light-primary-text: white;
|
|
18
|
+
|
|
19
|
+
$palette: (
|
|
20
|
+
50: $blue-light,
|
|
21
|
+
100: color.adjust($blue-light-2, $lightness: 20%),
|
|
22
|
+
200: color.adjust($blue-light-2, $lightness: 10%),
|
|
23
|
+
300: $blue-light-2,
|
|
24
|
+
400: $blue-normal,
|
|
25
|
+
500: $primary,
|
|
26
|
+
600: color.adjust($primary, $lightness: -10%),
|
|
27
|
+
700: $blue-medium,
|
|
28
|
+
800: color.adjust($blue-medium, $lightness: -10%),
|
|
29
|
+
900: $blue-dark,
|
|
30
|
+
A100: $blue-normal,
|
|
31
|
+
A200: color.adjust($blue-normal, $lightness: 10%),
|
|
32
|
+
A400: colors.get(grey, light-2),
|
|
33
|
+
A700: colors.get(grey, light),
|
|
34
|
+
contrast: (
|
|
35
|
+
50: $dark-primary-text,
|
|
36
|
+
100: $dark-primary-text,
|
|
37
|
+
200: $dark-primary-text,
|
|
38
|
+
300: $dark-primary-text,
|
|
39
|
+
400: $dark-primary-text,
|
|
40
|
+
500: $light-primary-text,
|
|
41
|
+
600: $light-primary-text,
|
|
42
|
+
700: $light-primary-text,
|
|
43
|
+
800: $light-primary-text,
|
|
44
|
+
900: $light-primary-text,
|
|
45
|
+
A100: $dark-primary-text,
|
|
46
|
+
A200: $light-primary-text,
|
|
47
|
+
A400: $light-primary-text,
|
|
48
|
+
A700: $light-primary-text
|
|
49
|
+
)
|
|
50
|
+
);
|
|
@@ -1,138 +1,138 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
@use '../palette';
|
|
4
|
-
@use '../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
|
-
$typography: mat.define-typography-config(
|
|
11
|
-
$font-family: '"Open Sans", sans-serif',
|
|
12
|
-
$headline-1: mat.define-typography-level(110px, 110px, 500),
|
|
13
|
-
$headline-2: mat.define-typography-level(54px, 54px, 500),
|
|
14
|
-
$headline-3: mat.define-typography-level(43px, 46px, 500),
|
|
15
|
-
$headline-4: mat.define-typography-level(32px, 38px, 500),
|
|
16
|
-
// h1
|
|
17
|
-
$headline-5: mat.define-typography-level(48px, 56px, bold),
|
|
18
|
-
// h2
|
|
19
|
-
$headline-6: mat.define-typography-level(36px, 40px, bold),
|
|
20
|
-
// h3
|
|
21
|
-
$subtitle-1: mat.define-typography-level(28px, 32px, bold),
|
|
22
|
-
// h4
|
|
23
|
-
$subtitle-2: mat.define-typography-level(21px, 24px, bold),
|
|
24
|
-
$body-1: mat.define-typography-level(16px, 24px, 400),
|
|
25
|
-
$body-2: mat.define-typography-level(12px, 18px, 400),
|
|
26
|
-
$caption: mat.define-typography-level(12px, 18px, 400),
|
|
27
|
-
$button: mat.define-typography-level(13px, 13px, 500)
|
|
28
|
-
);
|
|
29
|
-
|
|
30
|
-
$typography-mobile: mat.define-typography-config(
|
|
31
|
-
// h1
|
|
32
|
-
$headline-5: mat.define-typography-level(36px, 40px, bold),
|
|
33
|
-
// h2
|
|
34
|
-
$headline-6: mat.define-typography-level(28px, 32px, bold),
|
|
35
|
-
// h3
|
|
36
|
-
$subtitle-1: mat.define-typography-level(25px, 32px, bold)
|
|
37
|
-
);
|
|
38
|
-
|
|
39
|
-
$font-color: map.get(palette.$palette, 900);
|
|
40
|
-
|
|
41
|
-
@mixin set-base-styles {
|
|
42
|
-
body {
|
|
43
|
-
color: $font-color;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
a {
|
|
47
|
-
word-break: break-word;
|
|
48
|
-
overflow-wrap: break-word;
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
color: palette.$primary;
|
|
51
|
-
text-decoration: underline;
|
|
52
|
-
background-color: transparent;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
p,
|
|
56
|
-
ul,
|
|
57
|
-
li,
|
|
58
|
-
u,
|
|
59
|
-
.text {
|
|
60
|
-
color: $font-color;
|
|
61
|
-
font-size: 16px;
|
|
62
|
-
line-height: 24px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
p {
|
|
66
|
-
margin-bottom: 24px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
strong {
|
|
70
|
-
font-weight: 600;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
h1,
|
|
74
|
-
h2,
|
|
75
|
-
h3,
|
|
76
|
-
h4,
|
|
77
|
-
h5,
|
|
78
|
-
h6,
|
|
79
|
-
.h1,
|
|
80
|
-
.h2,
|
|
81
|
-
.h3,
|
|
82
|
-
.h4,
|
|
83
|
-
.h5,
|
|
84
|
-
.h6 {
|
|
85
|
-
font-family: Roboto, sans-serif !important;
|
|
86
|
-
color: $font-color;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
h1 {
|
|
90
|
-
margin-top: 72px !important;
|
|
91
|
-
margin-bottom: 32px !important;
|
|
92
|
-
|
|
93
|
-
@include typo-utils.title-border;
|
|
94
|
-
|
|
95
|
-
@include breakpoints.media-breakpoint-down(tablet) {
|
|
96
|
-
margin-top: 48px !important;
|
|
97
|
-
margin-bottom: 16px !important;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
h2 {
|
|
102
|
-
margin-top: 48px !important;
|
|
103
|
-
margin-bottom: 16px !important;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
h3 {
|
|
107
|
-
margin-top: 24px !important;
|
|
108
|
-
margin-bottom: 16px !important;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// WORKAROUND, mat-typography area of intersection h4 is using mat-body-1
|
|
112
|
-
// https://github.com/angular/components/issues/26351
|
|
113
|
-
h4 {
|
|
114
|
-
@include typo-utils.title-level-4;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
h4 {
|
|
118
|
-
margin-top: 24px !important;
|
|
119
|
-
margin-bottom: 8px !important;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
h5 {
|
|
123
|
-
font-size: 19px !important;
|
|
124
|
-
line-height: 24px !important;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
h6 {
|
|
128
|
-
font-size: 16px !important;
|
|
129
|
-
line-height: 20px !important;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
h5,
|
|
133
|
-
h6 {
|
|
134
|
-
font-weight: bold !important;
|
|
135
|
-
margin-top: 16px !important;
|
|
136
|
-
margin-bottom: 0px !important;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
@use '../palette';
|
|
4
|
+
@use '../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
|
+
$typography: mat.define-typography-config(
|
|
11
|
+
$font-family: '"Open Sans", sans-serif',
|
|
12
|
+
$headline-1: mat.define-typography-level(110px, 110px, 500),
|
|
13
|
+
$headline-2: mat.define-typography-level(54px, 54px, 500),
|
|
14
|
+
$headline-3: mat.define-typography-level(43px, 46px, 500),
|
|
15
|
+
$headline-4: mat.define-typography-level(32px, 38px, 500),
|
|
16
|
+
// h1
|
|
17
|
+
$headline-5: mat.define-typography-level(48px, 56px, bold),
|
|
18
|
+
// h2
|
|
19
|
+
$headline-6: mat.define-typography-level(36px, 40px, bold),
|
|
20
|
+
// h3
|
|
21
|
+
$subtitle-1: mat.define-typography-level(28px, 32px, bold),
|
|
22
|
+
// h4
|
|
23
|
+
$subtitle-2: mat.define-typography-level(21px, 24px, bold),
|
|
24
|
+
$body-1: mat.define-typography-level(16px, 24px, 400),
|
|
25
|
+
$body-2: mat.define-typography-level(12px, 18px, 400),
|
|
26
|
+
$caption: mat.define-typography-level(12px, 18px, 400),
|
|
27
|
+
$button: mat.define-typography-level(13px, 13px, 500)
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
$typography-mobile: mat.define-typography-config(
|
|
31
|
+
// h1
|
|
32
|
+
$headline-5: mat.define-typography-level(36px, 40px, bold),
|
|
33
|
+
// h2
|
|
34
|
+
$headline-6: mat.define-typography-level(28px, 32px, bold),
|
|
35
|
+
// h3
|
|
36
|
+
$subtitle-1: mat.define-typography-level(25px, 32px, bold)
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
$font-color: map.get(palette.$palette, 900);
|
|
40
|
+
|
|
41
|
+
@mixin set-base-styles {
|
|
42
|
+
body {
|
|
43
|
+
color: $font-color;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
a {
|
|
47
|
+
word-break: break-word;
|
|
48
|
+
overflow-wrap: break-word;
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
color: palette.$primary;
|
|
51
|
+
text-decoration: underline;
|
|
52
|
+
background-color: transparent;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
p,
|
|
56
|
+
ul,
|
|
57
|
+
li,
|
|
58
|
+
u,
|
|
59
|
+
.text {
|
|
60
|
+
color: $font-color;
|
|
61
|
+
font-size: 16px;
|
|
62
|
+
line-height: 24px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
p {
|
|
66
|
+
margin-bottom: 24px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
strong {
|
|
70
|
+
font-weight: 600;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
h1,
|
|
74
|
+
h2,
|
|
75
|
+
h3,
|
|
76
|
+
h4,
|
|
77
|
+
h5,
|
|
78
|
+
h6,
|
|
79
|
+
.h1,
|
|
80
|
+
.h2,
|
|
81
|
+
.h3,
|
|
82
|
+
.h4,
|
|
83
|
+
.h5,
|
|
84
|
+
.h6 {
|
|
85
|
+
font-family: Roboto, sans-serif !important;
|
|
86
|
+
color: $font-color;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
h1 {
|
|
90
|
+
margin-top: 72px !important;
|
|
91
|
+
margin-bottom: 32px !important;
|
|
92
|
+
|
|
93
|
+
@include typo-utils.title-border;
|
|
94
|
+
|
|
95
|
+
@include breakpoints.media-breakpoint-down(tablet) {
|
|
96
|
+
margin-top: 48px !important;
|
|
97
|
+
margin-bottom: 16px !important;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
h2 {
|
|
102
|
+
margin-top: 48px !important;
|
|
103
|
+
margin-bottom: 16px !important;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
h3 {
|
|
107
|
+
margin-top: 24px !important;
|
|
108
|
+
margin-bottom: 16px !important;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// WORKAROUND, mat-typography area of intersection h4 is using mat-body-1
|
|
112
|
+
// https://github.com/angular/components/issues/26351
|
|
113
|
+
h4 {
|
|
114
|
+
@include typo-utils.title-level-4;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
h4 {
|
|
118
|
+
margin-top: 24px !important;
|
|
119
|
+
margin-bottom: 8px !important;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
h5 {
|
|
123
|
+
font-size: 19px !important;
|
|
124
|
+
line-height: 24px !important;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
h6 {
|
|
128
|
+
font-size: 16px !important;
|
|
129
|
+
line-height: 20px !important;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
h5,
|
|
133
|
+
h6 {
|
|
134
|
+
font-weight: bold !important;
|
|
135
|
+
margin-top: 16px !important;
|
|
136
|
+
margin-bottom: 0px !important;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.mat-mdc-text-field-wrapper,
|
|
2
|
-
.mdc-notched-outline__leading,
|
|
3
|
-
.mdc-notched-outline__trailing {
|
|
4
|
-
border-radius: 0 !important;
|
|
5
|
-
}
|
|
1
|
+
.mat-mdc-text-field-wrapper,
|
|
2
|
+
.mdc-notched-outline__leading,
|
|
3
|
+
.mdc-notched-outline__trailing {
|
|
4
|
+
border-radius: 0 !important;
|
|
5
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '../base';
|
|
3
|
-
|
|
4
|
-
.mat-mdc-input-element {
|
|
5
|
-
color: base.colors-get(grey, medium) !important;
|
|
6
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../base';
|
|
3
|
+
|
|
4
|
+
.mat-mdc-input-element {
|
|
5
|
+
color: base.colors-get(grey, medium) !important;
|
|
6
|
+
}
|