@igo2/core 16.1.1 → 16.2.0
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/esm2022/lib/activity/activity.interceptor.mjs +1 -1
- package/esm2022/lib/activity/activity.module.mjs +1 -1
- package/esm2022/lib/activity/activity.service.mjs +1 -1
- package/esm2022/lib/analytics/shared/analytics.interface.mjs +1 -1
- package/esm2022/lib/analytics/shared/analytics.service.mjs +1 -1
- package/esm2022/lib/compression/compressedData.interface.mjs +1 -1
- package/esm2022/lib/compression/compression.service.mjs +1 -1
- package/esm2022/lib/config/config-deprecated.mjs +1 -1
- package/esm2022/lib/config/config.module.mjs +1 -1
- package/esm2022/lib/config/version.mjs +3 -3
- package/esm2022/lib/environment/environment.interface.mjs +1 -1
- package/esm2022/lib/environment/index.mjs +1 -1
- package/esm2022/lib/gesture/gesture.module.mjs +1 -1
- package/esm2022/lib/gesture/gesture.provider.mjs +1 -1
- package/esm2022/lib/language/shared/index.mjs +1 -1
- package/esm2022/lib/language/shared/language.interface.mjs +1 -1
- package/esm2022/lib/language/shared/language.service.mjs +1 -1
- package/esm2022/lib/media/media.service.mjs +1 -1
- package/esm2022/lib/message/shared/index.mjs +1 -1
- package/esm2022/lib/message/shared/message.interface.mjs +1 -1
- package/esm2022/lib/monitoring/index.mjs +1 -1
- package/esm2022/lib/monitoring/monitoring.provider.mjs +1 -1
- package/esm2022/lib/monitoring/sentry/index.mjs +1 -1
- package/esm2022/lib/monitoring/sentry/sentry.mjs +1 -1
- package/esm2022/lib/monitoring/sentry/sentry.provider.mjs +1 -1
- package/esm2022/lib/monitoring/shared/index.mjs +1 -1
- package/esm2022/lib/monitoring/shared/monitoring.interface.mjs +1 -1
- package/esm2022/lib/network/network.interfaces.mjs +1 -1
- package/esm2022/lib/network/network.service.mjs +1 -1
- package/esm2022/lib/regex/regex.interface.mjs +1 -1
- package/esm2022/lib/regex/regex.service.mjs +1 -1
- package/esm2022/lib/request/error.interceptor.mjs +1 -1
- package/esm2022/lib/request/error.module.mjs +1 -1
- package/esm2022/lib/request/logging.interceptor.mjs +2 -2
- package/esm2022/lib/request/logging.module.mjs +1 -1
- package/esm2022/lib/route/route.service.mjs +1 -1
- package/esm2022/lib/storage/index.mjs +1 -1
- package/esm2022/lib/storage/storage.mjs +1 -1
- package/esm2022/lib/storage/storage.service.mjs +1 -1
- package/esm2022/lib/user/index.mjs +1 -1
- package/esm2022/lib/user/user.interface.mjs +1 -1
- package/fesm2022/igo2-core.mjs +3 -3
- package/fesm2022/igo2-core.mjs.map +1 -1
- package/locale/en.core.json +28 -28
- package/locale/fr.core.json +28 -28
- package/package.json +2 -2
- package/packages.import.scss +4 -4
- package/src/core-theme.scss +5 -5
- package/src/index.scss +6 -6
- package/src/lib/message/message.theming.scss +26 -26
- package/src/style/all-style.scss +3 -3
- package/src/style/layout.scss +163 -163
- package/src/style/partial/core-utils.scss +5 -5
- package/src/style/partial/core.variables.scss +5 -5
- package/src/style/style.scss +19 -19
- package/src/theming/all-theme.scss +14 -14
- package/src/theming/material-theme-override.scss +39 -39
- package/src/theming/prebuilt-themes/blue-theme.scss +27 -27
- package/src/theming/prebuilt-themes/bluedark-theme.scss +60 -60
- package/src/theming/prebuilt-themes/bluedq-theme.scss +60 -60
- package/src/theming/prebuilt-themes/bluegrey-theme.scss +26 -26
- package/src/theming/prebuilt-themes/dark-theme.scss +26 -26
- package/src/theming/prebuilt-themes/deeppurple-theme.scss +26 -26
- package/src/theming/prebuilt-themes/indigo-theme.scss +26 -26
- package/src/theming/prebuilt-themes/orange-theme.scss +26 -26
- package/src/theming/prebuilt-themes/qcca/_index.scss +2 -2
- package/src/theming/prebuilt-themes/qcca/base/_index.scss +4 -4
- package/src/theming/prebuilt-themes/qcca/base/breakpoints.scss +57 -57
- package/src/theming/prebuilt-themes/qcca/base/colors.scss +40 -40
- package/src/theming/prebuilt-themes/qcca/base/palette.scss +50 -50
- package/src/theming/prebuilt-themes/qcca/base/typography/_index.scss +2 -2
- package/src/theming/prebuilt-themes/qcca/base/typography/typography.scss +138 -138
- package/src/theming/prebuilt-themes/qcca/base/typography/typography.utils.scss +18 -18
- package/src/theming/prebuilt-themes/qcca/components/_index.scss +10 -10
- package/src/theming/prebuilt-themes/qcca/components/_index.theme.scss +5 -5
- package/src/theming/prebuilt-themes/qcca/components/button.scss +24 -24
- package/src/theming/prebuilt-themes/qcca/components/dialog.scss +36 -36
- package/src/theming/prebuilt-themes/qcca/components/form-field.scss +5 -5
- package/src/theming/prebuilt-themes/qcca/components/input.scss +6 -6
- package/src/theming/prebuilt-themes/qcca/components/list.scss +24 -24
- package/src/theming/prebuilt-themes/qcca/components/panel.scss +8 -8
- package/src/theming/prebuilt-themes/qcca/components/scrollbar.scss +15 -15
- package/src/theming/prebuilt-themes/qcca/components/search-bar.scss +41 -41
- package/src/theming/prebuilt-themes/qcca/components/search-bar.theme.scss +29 -29
- package/src/theming/prebuilt-themes/qcca-theme.scss +49 -49
- package/src/theming/prebuilt-themes/teal-theme.scss +26 -26
- package/src/theming/typography.scss +28 -28
- package/src/theming/utils/_foreground.scss +22 -22
- package/theming/prebuilt-themes/blue-theme.css +11 -17
- package/theming/prebuilt-themes/bluedark-theme.css +11 -17
- package/theming/prebuilt-themes/bluedq-theme.css +11 -17
- package/theming/prebuilt-themes/bluegrey-theme.css +11 -17
- package/theming/prebuilt-themes/dark-theme.css +11 -17
- package/theming/prebuilt-themes/deeppurple-theme.css +11 -17
- package/theming/prebuilt-themes/indigo-theme.css +11 -17
- package/theming/prebuilt-themes/orange-theme.css +11 -17
- package/theming/prebuilt-themes/qcca-theme.css +11 -17
- package/theming/prebuilt-themes/teal-theme.css +11 -17
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
// There is no standard for breakpoints for the Quebec.ca theme
|
|
4
|
-
// This is the Material breakpoint design by devices
|
|
5
|
-
$device-breakpoints: (
|
|
6
|
-
mobile: (
|
|
7
|
-
max: 599px
|
|
8
|
-
),
|
|
9
|
-
tablet: (
|
|
10
|
-
min: 600px,
|
|
11
|
-
max: 1239px
|
|
12
|
-
),
|
|
13
|
-
laptop: (
|
|
14
|
-
min: 1240px,
|
|
15
|
-
max: 1439px
|
|
16
|
-
),
|
|
17
|
-
desktop: (
|
|
18
|
-
min: 1440px
|
|
19
|
-
)
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
// Source: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_breakpoints.scss
|
|
23
|
-
@function breakpoint-min($name, $breakpoints: $device-breakpoints) {
|
|
24
|
-
$min: map.get($breakpoints, $name, min);
|
|
25
|
-
@return if($min != 0, $min, null);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@function breakpoint-max($name, $breakpoints: $device-breakpoints) {
|
|
29
|
-
$max: map.get($breakpoints, $name, max);
|
|
30
|
-
@return if($max and $max > 0, $max, null);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.
|
|
34
|
-
// Makes the @content apply to the given breakpoint and wider.
|
|
35
|
-
@mixin media-breakpoint-up($name, $breakpoints: $device-breakpoints) {
|
|
36
|
-
$min: breakpoint-min($name, $breakpoints);
|
|
37
|
-
@if $min {
|
|
38
|
-
@media (min-width: $min) {
|
|
39
|
-
@content;
|
|
40
|
-
}
|
|
41
|
-
} @else {
|
|
42
|
-
@content;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// Media of at most the maximum breakpoint width. No query for the largest breakpoint.
|
|
47
|
-
// Makes the @content apply to the given breakpoint and narrower.
|
|
48
|
-
@mixin media-breakpoint-down($name, $breakpoints: $device-breakpoints) {
|
|
49
|
-
$max: breakpoint-max($name, $breakpoints);
|
|
50
|
-
@if $max {
|
|
51
|
-
@media (max-width: $max) {
|
|
52
|
-
@content;
|
|
53
|
-
}
|
|
54
|
-
} @else {
|
|
55
|
-
@content;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
// There is no standard for breakpoints for the Quebec.ca theme
|
|
4
|
+
// This is the Material breakpoint design by devices
|
|
5
|
+
$device-breakpoints: (
|
|
6
|
+
mobile: (
|
|
7
|
+
max: 599px
|
|
8
|
+
),
|
|
9
|
+
tablet: (
|
|
10
|
+
min: 600px,
|
|
11
|
+
max: 1239px
|
|
12
|
+
),
|
|
13
|
+
laptop: (
|
|
14
|
+
min: 1240px,
|
|
15
|
+
max: 1439px
|
|
16
|
+
),
|
|
17
|
+
desktop: (
|
|
18
|
+
min: 1440px
|
|
19
|
+
)
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
// Source: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_breakpoints.scss
|
|
23
|
+
@function breakpoint-min($name, $breakpoints: $device-breakpoints) {
|
|
24
|
+
$min: map.get($breakpoints, $name, min);
|
|
25
|
+
@return if($min != 0, $min, null);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@function breakpoint-max($name, $breakpoints: $device-breakpoints) {
|
|
29
|
+
$max: map.get($breakpoints, $name, max);
|
|
30
|
+
@return if($max and $max > 0, $max, null);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.
|
|
34
|
+
// Makes the @content apply to the given breakpoint and wider.
|
|
35
|
+
@mixin media-breakpoint-up($name, $breakpoints: $device-breakpoints) {
|
|
36
|
+
$min: breakpoint-min($name, $breakpoints);
|
|
37
|
+
@if $min {
|
|
38
|
+
@media (min-width: $min) {
|
|
39
|
+
@content;
|
|
40
|
+
}
|
|
41
|
+
} @else {
|
|
42
|
+
@content;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Media of at most the maximum breakpoint width. No query for the largest breakpoint.
|
|
47
|
+
// Makes the @content apply to the given breakpoint and narrower.
|
|
48
|
+
@mixin media-breakpoint-down($name, $breakpoints: $device-breakpoints) {
|
|
49
|
+
$max: breakpoint-max($name, $breakpoints);
|
|
50
|
+
@if $max {
|
|
51
|
+
@media (max-width: $max) {
|
|
52
|
+
@content;
|
|
53
|
+
}
|
|
54
|
+
} @else {
|
|
55
|
+
@content;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -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,2 +1,2 @@
|
|
|
1
|
-
@forward './typography' as typo-*;
|
|
2
|
-
@forward './typography.utils';
|
|
1
|
+
@forward './typography' as typo-*;
|
|
2
|
+
@forward './typography.utils';
|
|
@@ -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,18 +1,18 @@
|
|
|
1
|
-
@use '../palette';
|
|
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 palette.$accent;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@mixin title-level-4 {
|
|
15
|
-
font-size: 21px !important;
|
|
16
|
-
line-height: 24px !important;
|
|
17
|
-
font-weight: bold !important;
|
|
18
|
-
}
|
|
1
|
+
@use '../palette';
|
|
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 palette.$accent;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@mixin title-level-4 {
|
|
15
|
+
font-size: 21px !important;
|
|
16
|
+
line-height: 24px !important;
|
|
17
|
+
font-weight: bold !important;
|
|
18
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
@use './button';
|
|
2
|
-
@use './dialog';
|
|
3
|
-
@use './form-field';
|
|
4
|
-
@use './input';
|
|
5
|
-
@use './list';
|
|
6
|
-
@use './panel';
|
|
7
|
-
@use './search-bar';
|
|
8
|
-
@use './scrollbar';
|
|
9
|
-
|
|
10
|
-
@forward './_index.theme' as all-component-*;
|
|
1
|
+
@use './button';
|
|
2
|
+
@use './dialog';
|
|
3
|
+
@use './form-field';
|
|
4
|
+
@use './input';
|
|
5
|
+
@use './list';
|
|
6
|
+
@use './panel';
|
|
7
|
+
@use './search-bar';
|
|
8
|
+
@use './scrollbar';
|
|
9
|
+
|
|
10
|
+
@forward './_index.theme' as all-component-*;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use './search-bar.theme' as search-bar;
|
|
2
|
-
|
|
3
|
-
@mixin themes($theme) {
|
|
4
|
-
@include search-bar.theme($theme);
|
|
5
|
-
}
|
|
1
|
+
@use './search-bar.theme' as search-bar;
|
|
2
|
+
|
|
3
|
+
@mixin themes($theme) {
|
|
4
|
+
@include search-bar.theme($theme);
|
|
5
|
+
}
|