@igo2/core 16.2.0 → 16.3.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/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/en.json +1 -1
- package/locale/fr.core.json +28 -28
- package/locale/fr.json +1 -1
- package/package.json +7 -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/packages.import.scss +4 -0
- 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/teal-theme.scss +26 -26
- package/src/theming/typography.scss +28 -28
- package/src/theming/utils/_foreground.scss +22 -22
- package/packages.import.scss +0 -4
- package/src/theming/prebuilt-themes/qcca/_index.scss +0 -2
- package/src/theming/prebuilt-themes/qcca/base/_index.scss +0 -4
- package/src/theming/prebuilt-themes/qcca/base/breakpoints.scss +0 -57
- package/src/theming/prebuilt-themes/qcca/base/colors.scss +0 -40
- package/src/theming/prebuilt-themes/qcca/base/palette.scss +0 -50
- package/src/theming/prebuilt-themes/qcca/base/typography/_index.scss +0 -2
- package/src/theming/prebuilt-themes/qcca/base/typography/typography.scss +0 -138
- package/src/theming/prebuilt-themes/qcca/base/typography/typography.utils.scss +0 -18
- package/src/theming/prebuilt-themes/qcca/components/_index.scss +0 -10
- package/src/theming/prebuilt-themes/qcca/components/_index.theme.scss +0 -5
- package/src/theming/prebuilt-themes/qcca/components/button.scss +0 -24
- package/src/theming/prebuilt-themes/qcca/components/dialog.scss +0 -36
- package/src/theming/prebuilt-themes/qcca/components/form-field.scss +0 -5
- package/src/theming/prebuilt-themes/qcca/components/input.scss +0 -6
- package/src/theming/prebuilt-themes/qcca/components/list.scss +0 -24
- package/src/theming/prebuilt-themes/qcca/components/panel.scss +0 -8
- package/src/theming/prebuilt-themes/qcca/components/scrollbar.scss +0 -15
- package/src/theming/prebuilt-themes/qcca/components/search-bar.scss +0 -41
- package/src/theming/prebuilt-themes/qcca/components/search-bar.theme.scss +0 -29
- package/src/theming/prebuilt-themes/qcca-theme.scss +0 -49
- package/theming/prebuilt-themes/qcca-theme.css +0 -3404
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
@use '../all-theme';
|
|
4
|
-
@use '../typography';
|
|
5
|
-
|
|
6
|
-
$dq-palette: (
|
|
7
|
-
50: #e1f5fd,
|
|
8
|
-
100: #b4e5fb,
|
|
9
|
-
200: #82d4f8,
|
|
10
|
-
300: #53c3f4,
|
|
11
|
-
400: #31b6f2,
|
|
12
|
-
500: #0d81df,
|
|
13
|
-
600: #149be1,
|
|
14
|
-
700: #1088cd,
|
|
15
|
-
800: #0f77b9,
|
|
16
|
-
900: #095797,
|
|
17
|
-
A100: #6dc6ff,
|
|
18
|
-
A200: #3ab2ff,
|
|
19
|
-
A400: #079eff,
|
|
20
|
-
A700: #0090ec,
|
|
21
|
-
contrast: (
|
|
22
|
-
50: #000000,
|
|
23
|
-
100: #000000,
|
|
24
|
-
200: #000000,
|
|
25
|
-
300: #000000,
|
|
26
|
-
400: #000000,
|
|
27
|
-
500: #000000,
|
|
28
|
-
600: #ffffff,
|
|
29
|
-
700: #ffffff,
|
|
30
|
-
800: #ffffff,
|
|
31
|
-
900: #ffffff,
|
|
32
|
-
A100: #000000,
|
|
33
|
-
A200: #000000,
|
|
34
|
-
A400: #ffffff,
|
|
35
|
-
A700: #ffffff
|
|
36
|
-
)
|
|
37
|
-
);
|
|
38
|
-
|
|
39
|
-
$primary: mat.define-palette($dq-palette, 900);
|
|
40
|
-
$accent: mat.define-palette($dq-palette, 500);
|
|
41
|
-
$warn: mat.define-palette(mat.$red-palette);
|
|
42
|
-
$typography: typography.$igo-typography;
|
|
43
|
-
|
|
44
|
-
$theme: mat.define-light-theme(
|
|
45
|
-
(
|
|
46
|
-
color: (
|
|
47
|
-
primary: $primary,
|
|
48
|
-
accent: $accent,
|
|
49
|
-
warn: $warn
|
|
50
|
-
),
|
|
51
|
-
typography: $typography,
|
|
52
|
-
density: 0
|
|
53
|
-
)
|
|
54
|
-
);
|
|
55
|
-
|
|
56
|
-
@include mat.core();
|
|
57
|
-
@include mat.typography-hierarchy($typography);
|
|
58
|
-
@include mat.all-component-themes($theme);
|
|
59
|
-
|
|
60
|
-
@include all-theme.all-component-themes($theme);
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
@use '../all-theme';
|
|
4
|
+
@use '../typography';
|
|
5
|
+
|
|
6
|
+
$dq-palette: (
|
|
7
|
+
50: #e1f5fd,
|
|
8
|
+
100: #b4e5fb,
|
|
9
|
+
200: #82d4f8,
|
|
10
|
+
300: #53c3f4,
|
|
11
|
+
400: #31b6f2,
|
|
12
|
+
500: #0d81df,
|
|
13
|
+
600: #149be1,
|
|
14
|
+
700: #1088cd,
|
|
15
|
+
800: #0f77b9,
|
|
16
|
+
900: #095797,
|
|
17
|
+
A100: #6dc6ff,
|
|
18
|
+
A200: #3ab2ff,
|
|
19
|
+
A400: #079eff,
|
|
20
|
+
A700: #0090ec,
|
|
21
|
+
contrast: (
|
|
22
|
+
50: #000000,
|
|
23
|
+
100: #000000,
|
|
24
|
+
200: #000000,
|
|
25
|
+
300: #000000,
|
|
26
|
+
400: #000000,
|
|
27
|
+
500: #000000,
|
|
28
|
+
600: #ffffff,
|
|
29
|
+
700: #ffffff,
|
|
30
|
+
800: #ffffff,
|
|
31
|
+
900: #ffffff,
|
|
32
|
+
A100: #000000,
|
|
33
|
+
A200: #000000,
|
|
34
|
+
A400: #ffffff,
|
|
35
|
+
A700: #ffffff
|
|
36
|
+
)
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
$primary: mat.define-palette($dq-palette, 900);
|
|
40
|
+
$accent: mat.define-palette($dq-palette, 500);
|
|
41
|
+
$warn: mat.define-palette(mat.$red-palette);
|
|
42
|
+
$typography: typography.$igo-typography;
|
|
43
|
+
|
|
44
|
+
$theme: mat.define-light-theme(
|
|
45
|
+
(
|
|
46
|
+
color: (
|
|
47
|
+
primary: $primary,
|
|
48
|
+
accent: $accent,
|
|
49
|
+
warn: $warn
|
|
50
|
+
),
|
|
51
|
+
typography: $typography,
|
|
52
|
+
density: 0
|
|
53
|
+
)
|
|
54
|
+
);
|
|
55
|
+
|
|
56
|
+
@include mat.core();
|
|
57
|
+
@include mat.typography-hierarchy($typography);
|
|
58
|
+
@include mat.all-component-themes($theme);
|
|
59
|
+
|
|
60
|
+
@include all-theme.all-component-themes($theme);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use '../all-theme';
|
|
3
|
-
@use '../typography';
|
|
4
|
-
|
|
5
|
-
$primary: mat.define-palette(mat.$blue-grey-palette);
|
|
6
|
-
$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
|
|
7
|
-
$warn: mat.define-palette(mat.$deep-orange-palette);
|
|
8
|
-
$typography: typography.$igo-typography;
|
|
9
|
-
|
|
10
|
-
$theme: mat.define-light-theme(
|
|
11
|
-
(
|
|
12
|
-
color: (
|
|
13
|
-
primary: $primary,
|
|
14
|
-
accent: $accent,
|
|
15
|
-
warn: $warn
|
|
16
|
-
),
|
|
17
|
-
typography: $typography,
|
|
18
|
-
density: 0
|
|
19
|
-
)
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
@include mat.core();
|
|
23
|
-
@include mat.typography-hierarchy($typography);
|
|
24
|
-
@include mat.all-component-themes($theme);
|
|
25
|
-
|
|
26
|
-
@include all-theme.all-component-themes($theme);
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use '../all-theme';
|
|
3
|
+
@use '../typography';
|
|
4
|
+
|
|
5
|
+
$primary: mat.define-palette(mat.$blue-grey-palette);
|
|
6
|
+
$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
|
|
7
|
+
$warn: mat.define-palette(mat.$deep-orange-palette);
|
|
8
|
+
$typography: typography.$igo-typography;
|
|
9
|
+
|
|
10
|
+
$theme: mat.define-light-theme(
|
|
11
|
+
(
|
|
12
|
+
color: (
|
|
13
|
+
primary: $primary,
|
|
14
|
+
accent: $accent,
|
|
15
|
+
warn: $warn
|
|
16
|
+
),
|
|
17
|
+
typography: $typography,
|
|
18
|
+
density: 0
|
|
19
|
+
)
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
@include mat.core();
|
|
23
|
+
@include mat.typography-hierarchy($typography);
|
|
24
|
+
@include mat.all-component-themes($theme);
|
|
25
|
+
|
|
26
|
+
@include all-theme.all-component-themes($theme);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use '../all-theme';
|
|
3
|
-
@use '../typography';
|
|
4
|
-
|
|
5
|
-
$primary: mat.define-palette(mat.$blue-grey-palette);
|
|
6
|
-
$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
|
|
7
|
-
$warn: mat.define-palette(mat.$deep-orange-palette);
|
|
8
|
-
$typography: typography.$igo-typography;
|
|
9
|
-
|
|
10
|
-
$theme: mat.define-dark-theme(
|
|
11
|
-
(
|
|
12
|
-
color: (
|
|
13
|
-
primary: $primary,
|
|
14
|
-
accent: $accent,
|
|
15
|
-
warn: $warn
|
|
16
|
-
),
|
|
17
|
-
typography: $typography,
|
|
18
|
-
density: 0
|
|
19
|
-
)
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
@include mat.core();
|
|
23
|
-
@include mat.typography-hierarchy($typography);
|
|
24
|
-
@include mat.all-component-themes($theme);
|
|
25
|
-
|
|
26
|
-
@include all-theme.all-component-themes($theme);
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use '../all-theme';
|
|
3
|
+
@use '../typography';
|
|
4
|
+
|
|
5
|
+
$primary: mat.define-palette(mat.$blue-grey-palette);
|
|
6
|
+
$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
|
|
7
|
+
$warn: mat.define-palette(mat.$deep-orange-palette);
|
|
8
|
+
$typography: typography.$igo-typography;
|
|
9
|
+
|
|
10
|
+
$theme: mat.define-dark-theme(
|
|
11
|
+
(
|
|
12
|
+
color: (
|
|
13
|
+
primary: $primary,
|
|
14
|
+
accent: $accent,
|
|
15
|
+
warn: $warn
|
|
16
|
+
),
|
|
17
|
+
typography: $typography,
|
|
18
|
+
density: 0
|
|
19
|
+
)
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
@include mat.core();
|
|
23
|
+
@include mat.typography-hierarchy($typography);
|
|
24
|
+
@include mat.all-component-themes($theme);
|
|
25
|
+
|
|
26
|
+
@include all-theme.all-component-themes($theme);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use '../all-theme';
|
|
3
|
-
@use '../typography';
|
|
4
|
-
|
|
5
|
-
$primary: mat.define-palette(mat.$deep-purple-palette);
|
|
6
|
-
$accent: mat.define-palette(mat.$amber-palette, A200, A100, A400);
|
|
7
|
-
$warn: mat.define-palette(mat.$red-palette);
|
|
8
|
-
$typography: typography.$igo-typography;
|
|
9
|
-
|
|
10
|
-
$theme: mat.define-light-theme(
|
|
11
|
-
(
|
|
12
|
-
color: (
|
|
13
|
-
primary: $primary,
|
|
14
|
-
accent: $accent,
|
|
15
|
-
warn: $warn
|
|
16
|
-
),
|
|
17
|
-
typography: $typography,
|
|
18
|
-
density: 0
|
|
19
|
-
)
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
@include mat.core();
|
|
23
|
-
@include mat.typography-hierarchy($typography);
|
|
24
|
-
@include mat.all-component-themes($theme);
|
|
25
|
-
|
|
26
|
-
@include all-theme.all-component-themes($theme);
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use '../all-theme';
|
|
3
|
+
@use '../typography';
|
|
4
|
+
|
|
5
|
+
$primary: mat.define-palette(mat.$deep-purple-palette);
|
|
6
|
+
$accent: mat.define-palette(mat.$amber-palette, A200, A100, A400);
|
|
7
|
+
$warn: mat.define-palette(mat.$red-palette);
|
|
8
|
+
$typography: typography.$igo-typography;
|
|
9
|
+
|
|
10
|
+
$theme: mat.define-light-theme(
|
|
11
|
+
(
|
|
12
|
+
color: (
|
|
13
|
+
primary: $primary,
|
|
14
|
+
accent: $accent,
|
|
15
|
+
warn: $warn
|
|
16
|
+
),
|
|
17
|
+
typography: $typography,
|
|
18
|
+
density: 0
|
|
19
|
+
)
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
@include mat.core();
|
|
23
|
+
@include mat.typography-hierarchy($typography);
|
|
24
|
+
@include mat.all-component-themes($theme);
|
|
25
|
+
|
|
26
|
+
@include all-theme.all-component-themes($theme);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use '../all-theme';
|
|
3
|
-
@use '../typography';
|
|
4
|
-
|
|
5
|
-
$primary: mat.define-palette(mat.$indigo-palette);
|
|
6
|
-
$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
|
|
7
|
-
$warn: mat.define-palette(mat.$red-palette);
|
|
8
|
-
$typography: typography.$igo-typography;
|
|
9
|
-
|
|
10
|
-
$theme: mat.define-light-theme(
|
|
11
|
-
(
|
|
12
|
-
color: (
|
|
13
|
-
primary: $primary,
|
|
14
|
-
accent: $accent,
|
|
15
|
-
warn: $warn
|
|
16
|
-
),
|
|
17
|
-
typography: $typography,
|
|
18
|
-
density: 0
|
|
19
|
-
)
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
@include mat.core();
|
|
23
|
-
@include mat.typography-hierarchy($typography);
|
|
24
|
-
@include mat.all-component-themes($theme);
|
|
25
|
-
|
|
26
|
-
@include all-theme.all-component-themes($theme);
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use '../all-theme';
|
|
3
|
+
@use '../typography';
|
|
4
|
+
|
|
5
|
+
$primary: mat.define-palette(mat.$indigo-palette);
|
|
6
|
+
$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
|
|
7
|
+
$warn: mat.define-palette(mat.$red-palette);
|
|
8
|
+
$typography: typography.$igo-typography;
|
|
9
|
+
|
|
10
|
+
$theme: mat.define-light-theme(
|
|
11
|
+
(
|
|
12
|
+
color: (
|
|
13
|
+
primary: $primary,
|
|
14
|
+
accent: $accent,
|
|
15
|
+
warn: $warn
|
|
16
|
+
),
|
|
17
|
+
typography: $typography,
|
|
18
|
+
density: 0
|
|
19
|
+
)
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
@include mat.core();
|
|
23
|
+
@include mat.typography-hierarchy($typography);
|
|
24
|
+
@include mat.all-component-themes($theme);
|
|
25
|
+
|
|
26
|
+
@include all-theme.all-component-themes($theme);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use '../all-theme';
|
|
3
|
-
@use '../typography';
|
|
4
|
-
|
|
5
|
-
$primary: mat.define-palette(mat.$orange-palette, 800);
|
|
6
|
-
$accent: mat.define-palette(mat.$light-blue-palette, 600, 100, 800);
|
|
7
|
-
$warn: mat.define-palette(mat.$red-palette, 600);
|
|
8
|
-
$typography: typography.$igo-typography;
|
|
9
|
-
|
|
10
|
-
$theme: mat.define-light-theme(
|
|
11
|
-
(
|
|
12
|
-
color: (
|
|
13
|
-
primary: $primary,
|
|
14
|
-
accent: $accent,
|
|
15
|
-
warn: $warn
|
|
16
|
-
),
|
|
17
|
-
typography: $typography,
|
|
18
|
-
density: 0
|
|
19
|
-
)
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
@include mat.core();
|
|
23
|
-
@include mat.typography-hierarchy($typography);
|
|
24
|
-
@include mat.all-component-themes($theme);
|
|
25
|
-
|
|
26
|
-
@include all-theme.all-component-themes($theme);
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use '../all-theme';
|
|
3
|
+
@use '../typography';
|
|
4
|
+
|
|
5
|
+
$primary: mat.define-palette(mat.$orange-palette, 800);
|
|
6
|
+
$accent: mat.define-palette(mat.$light-blue-palette, 600, 100, 800);
|
|
7
|
+
$warn: mat.define-palette(mat.$red-palette, 600);
|
|
8
|
+
$typography: typography.$igo-typography;
|
|
9
|
+
|
|
10
|
+
$theme: mat.define-light-theme(
|
|
11
|
+
(
|
|
12
|
+
color: (
|
|
13
|
+
primary: $primary,
|
|
14
|
+
accent: $accent,
|
|
15
|
+
warn: $warn
|
|
16
|
+
),
|
|
17
|
+
typography: $typography,
|
|
18
|
+
density: 0
|
|
19
|
+
)
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
@include mat.core();
|
|
23
|
+
@include mat.typography-hierarchy($typography);
|
|
24
|
+
@include mat.all-component-themes($theme);
|
|
25
|
+
|
|
26
|
+
@include all-theme.all-component-themes($theme);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use '../all-theme';
|
|
3
|
-
@use '../typography';
|
|
4
|
-
|
|
5
|
-
$primary: mat.define-palette(mat.$teal-palette, 600, 400, 900);
|
|
6
|
-
$accent: mat.define-palette(mat.$teal-palette, 400);
|
|
7
|
-
$warn: mat.define-palette(mat.$red-palette);
|
|
8
|
-
$typography: typography.$igo-typography;
|
|
9
|
-
|
|
10
|
-
$theme: mat.define-light-theme(
|
|
11
|
-
(
|
|
12
|
-
color: (
|
|
13
|
-
primary: $primary,
|
|
14
|
-
accent: $accent,
|
|
15
|
-
warn: $warn
|
|
16
|
-
),
|
|
17
|
-
typography: $typography,
|
|
18
|
-
density: 0
|
|
19
|
-
)
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
@include mat.core();
|
|
23
|
-
@include mat.typography-hierarchy($typography);
|
|
24
|
-
@include mat.all-component-themes($theme);
|
|
25
|
-
|
|
26
|
-
@include all-theme.all-component-themes($theme);
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use '../all-theme';
|
|
3
|
+
@use '../typography';
|
|
4
|
+
|
|
5
|
+
$primary: mat.define-palette(mat.$teal-palette, 600, 400, 900);
|
|
6
|
+
$accent: mat.define-palette(mat.$teal-palette, 400);
|
|
7
|
+
$warn: mat.define-palette(mat.$red-palette);
|
|
8
|
+
$typography: typography.$igo-typography;
|
|
9
|
+
|
|
10
|
+
$theme: mat.define-light-theme(
|
|
11
|
+
(
|
|
12
|
+
color: (
|
|
13
|
+
primary: $primary,
|
|
14
|
+
accent: $accent,
|
|
15
|
+
warn: $warn
|
|
16
|
+
),
|
|
17
|
+
typography: $typography,
|
|
18
|
+
density: 0
|
|
19
|
+
)
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
@include mat.core();
|
|
23
|
+
@include mat.typography-hierarchy($typography);
|
|
24
|
+
@include mat.all-component-themes($theme);
|
|
25
|
+
|
|
26
|
+
@include all-theme.all-component-themes($theme);
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
|
|
3
|
-
$igo-typography: mat.define-typography-config(
|
|
4
|
-
$headline-1: mat.define-typography-level(110px, 110px, 500),
|
|
5
|
-
$headline-2: mat.define-typography-level(54px, 54px, 500),
|
|
6
|
-
$headline-3: mat.define-typography-level(43px, 46px, 500),
|
|
7
|
-
$headline-4: mat.define-typography-level(32px, 38px, 500),
|
|
8
|
-
// h1
|
|
9
|
-
$headline-5: mat.define-typography-level(24px, 32px, 400),
|
|
10
|
-
// h2
|
|
11
|
-
$headline-6: mat.define-typography-level(20px, 30px, 400),
|
|
12
|
-
// h3
|
|
13
|
-
$subtitle-1: mat.define-typography-level(16px, 26px, 500),
|
|
14
|
-
// h4
|
|
15
|
-
$subtitle-2: mat.define-typography-level(12px, 22px, 500),
|
|
16
|
-
$body-1: mat.define-typography-level(14px, 22px, 400),
|
|
17
|
-
$body-2: mat.define-typography-level(12px, 18px, 400),
|
|
18
|
-
$caption: mat.define-typography-level(12px, 18px, 400),
|
|
19
|
-
$button: mat.define-typography-level(13px, 13px, 500)
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
// WORKAROUND, mat-typography bad area of intersection, h4 is using mat-body-1
|
|
23
|
-
// https://github.com/angular/components/issues/26351
|
|
24
|
-
h4 {
|
|
25
|
-
font-size: 14px !important;
|
|
26
|
-
line-height: 22px !important;
|
|
27
|
-
font-weight: 500 !important;
|
|
28
|
-
}
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
$igo-typography: mat.define-typography-config(
|
|
4
|
+
$headline-1: mat.define-typography-level(110px, 110px, 500),
|
|
5
|
+
$headline-2: mat.define-typography-level(54px, 54px, 500),
|
|
6
|
+
$headline-3: mat.define-typography-level(43px, 46px, 500),
|
|
7
|
+
$headline-4: mat.define-typography-level(32px, 38px, 500),
|
|
8
|
+
// h1
|
|
9
|
+
$headline-5: mat.define-typography-level(24px, 32px, 400),
|
|
10
|
+
// h2
|
|
11
|
+
$headline-6: mat.define-typography-level(20px, 30px, 400),
|
|
12
|
+
// h3
|
|
13
|
+
$subtitle-1: mat.define-typography-level(16px, 26px, 500),
|
|
14
|
+
// h4
|
|
15
|
+
$subtitle-2: mat.define-typography-level(12px, 22px, 500),
|
|
16
|
+
$body-1: mat.define-typography-level(14px, 22px, 400),
|
|
17
|
+
$body-2: mat.define-typography-level(12px, 18px, 400),
|
|
18
|
+
$caption: mat.define-typography-level(12px, 18px, 400),
|
|
19
|
+
$button: mat.define-typography-level(13px, 13px, 500)
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
// WORKAROUND, mat-typography bad area of intersection, h4 is using mat-body-1
|
|
23
|
+
// https://github.com/angular/components/issues/26351
|
|
24
|
+
h4 {
|
|
25
|
+
font-size: 14px !important;
|
|
26
|
+
line-height: 22px !important;
|
|
27
|
+
font-weight: 500 !important;
|
|
28
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
|
|
3
|
-
@function theme-foreground($palette) {
|
|
4
|
-
$color: mat.get-color-from-palette($palette, 500);
|
|
5
|
-
@return (
|
|
6
|
-
base: $color,
|
|
7
|
-
divider: rgba($color, 0.12),
|
|
8
|
-
dividers: rgba($color, 0.12),
|
|
9
|
-
disabled: rgba($color, 0.38),
|
|
10
|
-
disabled-button: rgba($color, 0.26),
|
|
11
|
-
disabled-text: rgba($color, 0.38),
|
|
12
|
-
elevation: $color,
|
|
13
|
-
hint-text: rgba($color, 0.38),
|
|
14
|
-
secondary-text: rgba($color, 0.54),
|
|
15
|
-
icon: rgba($color, 0.54),
|
|
16
|
-
icons: rgba($color, 0.54),
|
|
17
|
-
text: rgba($color, 0.87),
|
|
18
|
-
slider-min: rgba($color, 0.87),
|
|
19
|
-
slider-off: rgba($color, 0.26),
|
|
20
|
-
slider-off-active: rgba($color, 0.38)
|
|
21
|
-
);
|
|
22
|
-
}
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@function theme-foreground($palette) {
|
|
4
|
+
$color: mat.get-color-from-palette($palette, 500);
|
|
5
|
+
@return (
|
|
6
|
+
base: $color,
|
|
7
|
+
divider: rgba($color, 0.12),
|
|
8
|
+
dividers: rgba($color, 0.12),
|
|
9
|
+
disabled: rgba($color, 0.38),
|
|
10
|
+
disabled-button: rgba($color, 0.26),
|
|
11
|
+
disabled-text: rgba($color, 0.38),
|
|
12
|
+
elevation: $color,
|
|
13
|
+
hint-text: rgba($color, 0.38),
|
|
14
|
+
secondary-text: rgba($color, 0.54),
|
|
15
|
+
icon: rgba($color, 0.54),
|
|
16
|
+
icons: rgba($color, 0.54),
|
|
17
|
+
text: rgba($color, 0.87),
|
|
18
|
+
slider-min: rgba($color, 0.87),
|
|
19
|
+
slider-off: rgba($color, 0.26),
|
|
20
|
+
slider-off-active: rgba($color, 0.38)
|
|
21
|
+
);
|
|
22
|
+
}
|
package/packages.import.scss
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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
|
-
}
|