@igo2/core 16.1.0 → 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.
Files changed (98) hide show
  1. package/esm2022/lib/activity/activity.interceptor.mjs +1 -1
  2. package/esm2022/lib/activity/activity.module.mjs +1 -1
  3. package/esm2022/lib/activity/activity.service.mjs +1 -1
  4. package/esm2022/lib/analytics/shared/analytics.interface.mjs +1 -1
  5. package/esm2022/lib/analytics/shared/analytics.service.mjs +1 -1
  6. package/esm2022/lib/compression/compressedData.interface.mjs +1 -1
  7. package/esm2022/lib/compression/compression.service.mjs +1 -1
  8. package/esm2022/lib/config/config-deprecated.mjs +1 -1
  9. package/esm2022/lib/config/config.module.mjs +1 -1
  10. package/esm2022/lib/config/version.mjs +3 -3
  11. package/esm2022/lib/environment/environment.interface.mjs +1 -1
  12. package/esm2022/lib/environment/index.mjs +1 -1
  13. package/esm2022/lib/gesture/gesture.module.mjs +1 -1
  14. package/esm2022/lib/gesture/gesture.provider.mjs +1 -1
  15. package/esm2022/lib/language/shared/index.mjs +1 -1
  16. package/esm2022/lib/language/shared/language.interface.mjs +1 -1
  17. package/esm2022/lib/language/shared/language.service.mjs +1 -1
  18. package/esm2022/lib/media/media.service.mjs +1 -1
  19. package/esm2022/lib/message/shared/index.mjs +1 -1
  20. package/esm2022/lib/message/shared/message.interface.mjs +1 -1
  21. package/esm2022/lib/monitoring/index.mjs +1 -1
  22. package/esm2022/lib/monitoring/monitoring.provider.mjs +1 -1
  23. package/esm2022/lib/monitoring/sentry/index.mjs +1 -1
  24. package/esm2022/lib/monitoring/sentry/sentry.mjs +1 -1
  25. package/esm2022/lib/monitoring/sentry/sentry.provider.mjs +1 -1
  26. package/esm2022/lib/monitoring/shared/index.mjs +1 -1
  27. package/esm2022/lib/monitoring/shared/monitoring.interface.mjs +1 -1
  28. package/esm2022/lib/network/network.interfaces.mjs +1 -1
  29. package/esm2022/lib/network/network.service.mjs +1 -1
  30. package/esm2022/lib/regex/regex.interface.mjs +1 -1
  31. package/esm2022/lib/regex/regex.service.mjs +1 -1
  32. package/esm2022/lib/request/error.interceptor.mjs +1 -1
  33. package/esm2022/lib/request/error.module.mjs +1 -1
  34. package/esm2022/lib/request/logging.interceptor.mjs +2 -2
  35. package/esm2022/lib/request/logging.module.mjs +1 -1
  36. package/esm2022/lib/route/route.service.mjs +1 -1
  37. package/esm2022/lib/storage/index.mjs +1 -1
  38. package/esm2022/lib/storage/storage.mjs +1 -1
  39. package/esm2022/lib/storage/storage.service.mjs +1 -1
  40. package/esm2022/lib/user/index.mjs +1 -1
  41. package/esm2022/lib/user/user.interface.mjs +1 -1
  42. package/fesm2022/igo2-core.mjs +3 -3
  43. package/fesm2022/igo2-core.mjs.map +1 -1
  44. package/locale/en.core.json +28 -28
  45. package/locale/fr.core.json +28 -28
  46. package/package.json +2 -2
  47. package/packages.import.scss +4 -4
  48. package/src/core-theme.scss +5 -5
  49. package/src/index.scss +6 -6
  50. package/src/lib/message/message.theming.scss +26 -26
  51. package/src/style/all-style.scss +3 -3
  52. package/src/style/layout.scss +163 -163
  53. package/src/style/partial/core-utils.scss +5 -5
  54. package/src/style/partial/core.variables.scss +5 -5
  55. package/src/style/style.scss +19 -19
  56. package/src/theming/all-theme.scss +14 -14
  57. package/src/theming/material-theme-override.scss +39 -39
  58. package/src/theming/prebuilt-themes/blue-theme.scss +27 -27
  59. package/src/theming/prebuilt-themes/bluedark-theme.scss +60 -60
  60. package/src/theming/prebuilt-themes/bluedq-theme.scss +60 -60
  61. package/src/theming/prebuilt-themes/bluegrey-theme.scss +26 -26
  62. package/src/theming/prebuilt-themes/dark-theme.scss +26 -26
  63. package/src/theming/prebuilt-themes/deeppurple-theme.scss +26 -26
  64. package/src/theming/prebuilt-themes/indigo-theme.scss +26 -26
  65. package/src/theming/prebuilt-themes/orange-theme.scss +26 -26
  66. package/src/theming/prebuilt-themes/qcca/_index.scss +2 -2
  67. package/src/theming/prebuilt-themes/qcca/base/_index.scss +4 -4
  68. package/src/theming/prebuilt-themes/qcca/base/breakpoints.scss +57 -57
  69. package/src/theming/prebuilt-themes/qcca/base/colors.scss +40 -40
  70. package/src/theming/prebuilt-themes/qcca/base/palette.scss +50 -50
  71. package/src/theming/prebuilt-themes/qcca/base/typography/_index.scss +2 -2
  72. package/src/theming/prebuilt-themes/qcca/base/typography/typography.scss +138 -138
  73. package/src/theming/prebuilt-themes/qcca/base/typography/typography.utils.scss +18 -18
  74. package/src/theming/prebuilt-themes/qcca/components/_index.scss +10 -10
  75. package/src/theming/prebuilt-themes/qcca/components/_index.theme.scss +5 -5
  76. package/src/theming/prebuilt-themes/qcca/components/button.scss +24 -24
  77. package/src/theming/prebuilt-themes/qcca/components/dialog.scss +36 -36
  78. package/src/theming/prebuilt-themes/qcca/components/form-field.scss +5 -5
  79. package/src/theming/prebuilt-themes/qcca/components/input.scss +6 -6
  80. package/src/theming/prebuilt-themes/qcca/components/list.scss +24 -24
  81. package/src/theming/prebuilt-themes/qcca/components/panel.scss +8 -8
  82. package/src/theming/prebuilt-themes/qcca/components/scrollbar.scss +15 -15
  83. package/src/theming/prebuilt-themes/qcca/components/search-bar.scss +41 -41
  84. package/src/theming/prebuilt-themes/qcca/components/search-bar.theme.scss +29 -29
  85. package/src/theming/prebuilt-themes/qcca-theme.scss +49 -49
  86. package/src/theming/prebuilt-themes/teal-theme.scss +26 -26
  87. package/src/theming/typography.scss +28 -28
  88. package/src/theming/utils/_foreground.scss +22 -22
  89. package/theming/prebuilt-themes/blue-theme.css +11 -17
  90. package/theming/prebuilt-themes/bluedark-theme.css +11 -17
  91. package/theming/prebuilt-themes/bluedq-theme.css +11 -17
  92. package/theming/prebuilt-themes/bluegrey-theme.css +11 -17
  93. package/theming/prebuilt-themes/dark-theme.css +11 -17
  94. package/theming/prebuilt-themes/deeppurple-theme.css +11 -17
  95. package/theming/prebuilt-themes/indigo-theme.css +11 -17
  96. package/theming/prebuilt-themes/orange-theme.css +11 -17
  97. package/theming/prebuilt-themes/qcca-theme.css +11 -17
  98. package/theming/prebuilt-themes/teal-theme.css +11 -17
@@ -1,24 +1,24 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '../base';
4
-
5
- $color-500: map.get(base.$palette, 500);
6
-
7
- .mdc-button {
8
- font-size: mat.font-size(base.$typo-typography, body-1) !important;
9
- line-height: mat.line-height(base.$typo-typography, body-1) !important;
10
- font-weight: bold !important;
11
- }
12
-
13
- .mat-mdc-outlined-button {
14
- border: 2px solid currentColor;
15
- }
16
-
17
- .mat-mdc-button-base {
18
- border-radius: 0 !important;
19
- }
20
-
21
- .mat-mdc-raised-button {
22
- color: $color-500 !important;
23
- border-color: $color-500 !important;
24
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+ @use '../base';
4
+
5
+ $color-500: map.get(base.$palette, 500);
6
+
7
+ .mdc-button {
8
+ font-size: mat.font-size(base.$typo-typography, body-1) !important;
9
+ line-height: mat.line-height(base.$typo-typography, body-1) !important;
10
+ font-weight: bold !important;
11
+ }
12
+
13
+ .mat-mdc-outlined-button {
14
+ border: 2px solid currentColor;
15
+ }
16
+
17
+ .mat-mdc-button-base {
18
+ border-radius: 0 !important;
19
+ }
20
+
21
+ .mat-mdc-raised-button {
22
+ color: $color-500 !important;
23
+ border-color: $color-500 !important;
24
+ }
@@ -1,36 +1,36 @@
1
- @use '../base';
2
-
3
- .mdc-dialog {
4
- max-width: 600px;
5
-
6
- &__surface {
7
- border-radius: 0 !important;
8
- }
9
-
10
- &__title {
11
- padding-top: 8px !important; // Workaround, this should be 32px but Material apply a default height for the title.
12
- padding-bottom: 24px !important;
13
-
14
- @include base.title-level-4;
15
- @include base.title-border;
16
- }
17
-
18
- &__tile,
19
- &__content,
20
- &__actions {
21
- padding-left: 32px !important;
22
- padding-right: 32px !important;
23
- }
24
-
25
- &__actions {
26
- padding-top: 24px !important;
27
- padding-bottom: 32px !important;
28
- }
29
-
30
- .close-button {
31
- $iconButtonPadding: 8px;
32
- position: absolute;
33
- top: 16px - $iconButtonPadding;
34
- right: 16px - $iconButtonPadding;
35
- }
36
- }
1
+ @use '../base';
2
+
3
+ .mdc-dialog {
4
+ max-width: 600px;
5
+
6
+ &__surface {
7
+ border-radius: 0 !important;
8
+ }
9
+
10
+ &__title {
11
+ padding-top: 8px !important; // Workaround, this should be 32px but Material apply a default height for the title.
12
+ padding-bottom: 24px !important;
13
+
14
+ @include base.title-level-4;
15
+ @include base.title-border;
16
+ }
17
+
18
+ &__tile,
19
+ &__content,
20
+ &__actions {
21
+ padding-left: 32px !important;
22
+ padding-right: 32px !important;
23
+ }
24
+
25
+ &__actions {
26
+ padding-top: 24px !important;
27
+ padding-bottom: 32px !important;
28
+ }
29
+
30
+ .close-button {
31
+ $iconButtonPadding: 8px;
32
+ position: absolute;
33
+ top: 16px - $iconButtonPadding;
34
+ right: 16px - $iconButtonPadding;
35
+ }
36
+ }
@@ -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
+ }
@@ -1,24 +1,24 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '../base';
4
-
5
- // TODO rework this style to be more generic
6
-
7
- igo-search-results-item {
8
- .mdc-list-item__primary-text {
9
- white-space: normal;
10
- overflow: hidden;
11
- text-overflow: ellipsis;
12
- max-height: unset !important;
13
- line-height: 18px !important;
14
- }
15
- }
16
-
17
- igo-list [igolistitem][color='accent'].igo-list-item-selected > mat-list-item {
18
- background-color: map.get(base.$palette, 400);
19
-
20
- h4,
21
- small {
22
- color: map.get(base.$palette, contrast, 500) !important;
23
- }
24
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+ @use '../base';
4
+
5
+ // TODO rework this style to be more generic
6
+
7
+ igo-search-results-item {
8
+ .mdc-list-item__primary-text {
9
+ white-space: normal;
10
+ overflow: hidden;
11
+ text-overflow: ellipsis;
12
+ max-height: unset !important;
13
+ line-height: 18px !important;
14
+ }
15
+ }
16
+
17
+ igo-list [igolistitem][color='accent'].igo-list-item-selected > mat-list-item {
18
+ background-color: map.get(base.$palette, 400);
19
+
20
+ h4,
21
+ small {
22
+ color: map.get(base.$palette, contrast, 500) !important;
23
+ }
24
+ }
@@ -1,8 +1,8 @@
1
- @use 'sass:map';
2
- @use '../base';
3
-
4
- .igo-panel-header,
5
- .igo-panel-header button,
6
- .igo-panel-title {
7
- color: map.get(base.$palette, contrast, 500) !important;
8
- }
1
+ @use 'sass:map';
2
+ @use '../base';
3
+
4
+ .igo-panel-header,
5
+ .igo-panel-header button,
6
+ .igo-panel-title {
7
+ color: map.get(base.$palette, contrast, 500) !important;
8
+ }
@@ -1,15 +1,15 @@
1
- @use '../base';
2
-
3
- *::-webkit-scrollbar {
4
- width: 6px;
5
- }
6
-
7
- *::-webkit-scrollbar-track {
8
- box-shadow: inset 0 0 5px base.$blue-light;
9
- border-radius: 10px;
10
- }
11
-
12
- *::-webkit-scrollbar-thumb {
13
- background: base.$blue-normal-piv;
14
- border-radius: 10px;
15
- }
1
+ @use '../base';
2
+
3
+ *::-webkit-scrollbar {
4
+ width: 6px;
5
+ }
6
+
7
+ *::-webkit-scrollbar-track {
8
+ box-shadow: inset 0 0 5px base.$blue-light;
9
+ border-radius: 10px;
10
+ }
11
+
12
+ *::-webkit-scrollbar-thumb {
13
+ background: base.$blue-normal-piv;
14
+ border-radius: 10px;
15
+ }
@@ -1,41 +1,41 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '../base';
4
-
5
- igo-search-bar {
6
- // Workaroung, OPEN SANS font add a mysterious 1px for the height
7
- .mat-mdc-form-field-infix {
8
- max-height: 40px;
9
- }
10
-
11
- button[mat-icon-button] {
12
- background-color: map.get(base.$palette, 500);
13
-
14
- &:hover {
15
- background-color: map.get(base.$palette, 400);
16
- }
17
- }
18
-
19
- mat-icon {
20
- color: map.get(base.$palette, contrast, 500);
21
- }
22
- }
23
-
24
- igo-search-results {
25
- igo-collapsible {
26
- .mdc-list-item__primary-text {
27
- color: base.$blue-dark;
28
- font-weight: bold;
29
- }
30
- }
31
-
32
- igo-search-results-item {
33
- .mdc-list-item__primary-text {
34
- font-weight: normal;
35
- }
36
- }
37
-
38
- .mdc-list-item--with-leading-icon .mdc-list-item__start {
39
- color: base.$blue-dark;
40
- }
41
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+ @use '../base';
4
+
5
+ igo-search-bar {
6
+ // Workaroung, OPEN SANS font add a mysterious 1px for the height
7
+ .mat-mdc-form-field-infix {
8
+ max-height: 40px;
9
+ }
10
+
11
+ button[mat-icon-button] {
12
+ background-color: map.get(base.$palette, 500);
13
+
14
+ &:hover {
15
+ background-color: map.get(base.$palette, 400);
16
+ }
17
+ }
18
+
19
+ mat-icon {
20
+ color: map.get(base.$palette, contrast, 500);
21
+ }
22
+ }
23
+
24
+ igo-search-results {
25
+ igo-collapsible {
26
+ .mdc-list-item__primary-text {
27
+ color: base.$blue-dark;
28
+ font-weight: bold;
29
+ }
30
+ }
31
+
32
+ igo-search-results-item {
33
+ .mdc-list-item__primary-text {
34
+ font-weight: normal;
35
+ }
36
+ }
37
+
38
+ .mdc-list-item--with-leading-icon .mdc-list-item__start {
39
+ color: base.$blue-dark;
40
+ }
41
+ }
@@ -1,29 +1,29 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include density($theme);
6
- }
7
-
8
- @mixin density($theme) {
9
- $density: mat.get-density-config($theme);
10
-
11
- $theme4: map.merge(
12
- $theme,
13
- (
14
- density: $density - 4
15
- )
16
- );
17
-
18
- $theme2: map.merge(
19
- $theme,
20
- (
21
- density: $density - 2
22
- )
23
- );
24
-
25
- igo-search-bar {
26
- @include mat.form-field-density($theme4);
27
- @include mat.icon-button-density($theme2);
28
- }
29
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin theme($theme) {
5
+ @include density($theme);
6
+ }
7
+
8
+ @mixin density($theme) {
9
+ $density: mat.get-density-config($theme);
10
+
11
+ $theme4: map.merge(
12
+ $theme,
13
+ (
14
+ density: $density - 4
15
+ )
16
+ );
17
+
18
+ $theme2: map.merge(
19
+ $theme,
20
+ (
21
+ density: $density - 2
22
+ )
23
+ );
24
+
25
+ igo-search-bar {
26
+ @include mat.form-field-density($theme4);
27
+ @include mat.icon-button-density($theme2);
28
+ }
29
+ }
@@ -1,49 +1,49 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '../all-theme';
4
- @use '../../' as igo;
5
-
6
- @use './qcca';
7
-
8
- // https://design.quebec.ca/a-propos-systeme-design
9
- $primary: mat.define-palette(qcca.$palette, 500, 400, 700);
10
- $accent: mat.define-palette(qcca.$palette, 400, 100, 700);
11
- $warn: mat.define-palette(qcca.$palette, 800);
12
- $success: mat.define-palette(qcca.$palette, 900);
13
- $background: mat.define-palette(qcca.$palette, 100, 100, 100);
14
- $foreground: mat.define-palette(qcca.$palette, 700, 700, 700);
15
-
16
- $theme: mat.define-light-theme(
17
- (
18
- color: (
19
- primary: $primary,
20
- accent: $accent,
21
- warn: $warn,
22
- success: $success,
23
- background: $background
24
- ),
25
- typography: qcca.$typo-typography,
26
- density: 0
27
- )
28
- );
29
-
30
- $theme: map.merge(
31
- $theme,
32
- (
33
- foreground:
34
- igo.theme-foreground(mat.define-palette(qcca.$palette, 500, 100, 700))
35
- )
36
- );
37
-
38
- @include mat.core();
39
- @include mat.typography-hierarchy(qcca.$typo-typography);
40
- @include mat.all-component-themes($theme);
41
-
42
- @include all-theme.all-component-themes($theme);
43
- @include qcca.all-component-themes($theme);
44
-
45
- @media (max-width: 1200px) {
46
- @include mat.typography-hierarchy(qcca.$typo-typography-mobile);
47
- }
48
-
49
- @include qcca.typo-set-base-styles();
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+ @use '../all-theme';
4
+ @use '../../' as igo;
5
+
6
+ @use './qcca';
7
+
8
+ // https://design.quebec.ca/a-propos-systeme-design
9
+ $primary: mat.define-palette(qcca.$palette, 500, 400, 700);
10
+ $accent: mat.define-palette(qcca.$palette, 400, 100, 700);
11
+ $warn: mat.define-palette(qcca.$palette, 800);
12
+ $success: mat.define-palette(qcca.$palette, 900);
13
+ $background: mat.define-palette(qcca.$palette, 100, 100, 100);
14
+ $foreground: mat.define-palette(qcca.$palette, 700, 700, 700);
15
+
16
+ $theme: mat.define-light-theme(
17
+ (
18
+ color: (
19
+ primary: $primary,
20
+ accent: $accent,
21
+ warn: $warn,
22
+ success: $success,
23
+ background: $background
24
+ ),
25
+ typography: qcca.$typo-typography,
26
+ density: 0
27
+ )
28
+ );
29
+
30
+ $theme: map.merge(
31
+ $theme,
32
+ (
33
+ foreground:
34
+ igo.theme-foreground(mat.define-palette(qcca.$palette, 500, 100, 700))
35
+ )
36
+ );
37
+
38
+ @include mat.core();
39
+ @include mat.typography-hierarchy(qcca.$typo-typography);
40
+ @include mat.all-component-themes($theme);
41
+
42
+ @include all-theme.all-component-themes($theme);
43
+ @include qcca.all-component-themes($theme);
44
+
45
+ @media (max-width: 1200px) {
46
+ @include mat.typography-hierarchy(qcca.$typo-typography-mobile);
47
+ }
48
+
49
+ @include qcca.typo-set-base-styles();
@@ -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
+ }