@igo2/core 16.0.0-rc.2 → 16.0.0-rc.4
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/core-theme.scss +5 -5
- package/esm2022/lib/compression/compressedData.interface.mjs +1 -1
- package/esm2022/lib/config/version.mjs +3 -3
- package/esm2022/lib/gesture/gesture.provider.mjs +1 -1
- package/esm2022/lib/network/network.interfaces.mjs +1 -1
- package/esm2022/lib/regex/regex.interface.mjs +1 -1
- package/esm2022/lib/storage/index.mjs +1 -1
- package/fesm2022/igo2-core.mjs +2 -2
- package/fesm2022/igo2-core.mjs.map +1 -1
- package/lib/message/message.theming.scss +26 -26
- 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/style/all-style.scss +3 -3
- package/style/layout.scss +163 -163
- package/style/partial/core-utils.scss +5 -5
- package/style/partial/core.variables.scss +5 -5
- package/theming/all-theme.scss +14 -14
- package/theming/material-theme-override.scss +39 -39
- package/theming/prebuilt-themes/blue-theme.css +39 -25
- package/theming/prebuilt-themes/blue-theme.scss +34 -34
- package/theming/prebuilt-themes/bluedark-theme.css +39 -25
- package/theming/prebuilt-themes/bluedark-theme.scss +67 -67
- package/theming/prebuilt-themes/bluedq-theme.css +39 -25
- package/theming/prebuilt-themes/bluedq-theme.scss +66 -66
- package/theming/prebuilt-themes/bluegrey-theme.css +39 -25
- package/theming/prebuilt-themes/bluegrey-theme.scss +25 -25
- package/theming/prebuilt-themes/dark-theme.css +39 -25
- package/theming/prebuilt-themes/dark-theme.scss +25 -25
- package/theming/prebuilt-themes/deeppurple-theme.css +39 -25
- package/theming/prebuilt-themes/deeppurple-theme.scss +25 -25
- package/theming/prebuilt-themes/indigo-theme.css +39 -25
- package/theming/prebuilt-themes/indigo-theme.scss +25 -25
- package/theming/prebuilt-themes/orange-theme.css +39 -25
- package/theming/prebuilt-themes/orange-theme.scss +25 -25
- package/theming/prebuilt-themes/qcca/_index.scss +2 -2
- package/theming/prebuilt-themes/qcca/base/_index.scss +4 -4
- package/theming/prebuilt-themes/qcca/base/breakpoints.scss +57 -57
- 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/_index.scss +2 -2
- package/theming/prebuilt-themes/qcca/base/typography/typography.scss +138 -138
- package/theming/prebuilt-themes/qcca/base/typography/typography.utils.scss +18 -18
- package/theming/prebuilt-themes/qcca/components/_index.theme.scss +5 -5
- package/theming/prebuilt-themes/qcca/components/button.scss +24 -24
- package/theming/prebuilt-themes/qcca/components/dialog.scss +36 -36
- 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/components/search-bar.scss +41 -41
- package/theming/prebuilt-themes/qcca/components/search-bar.theme.scss +29 -29
- package/theming/prebuilt-themes/qcca-theme.css +19 -5
- package/theming/prebuilt-themes/qcca-theme.scss +47 -47
- package/theming/prebuilt-themes/teal-theme.css +39 -25
- package/theming/prebuilt-themes/teal-theme.scss +25 -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
|
}
|
|
@@ -2951,6 +2951,11 @@ igo-layer-legend img:after {
|
|
|
2951
2951
|
border-top-color: #095797;
|
|
2952
2952
|
}
|
|
2953
2953
|
|
|
2954
|
+
igo-layer-list-tool mat-form-field .mat-mdc-text-field-wrapper,
|
|
2955
|
+
igo-layer-list-tool mat-form-field .mat-mdc-form-field-focus-overlay {
|
|
2956
|
+
background-color: white !important;
|
|
2957
|
+
}
|
|
2958
|
+
|
|
2954
2959
|
igo-layer-list-tool .mat-mdc-icon-button.mat-mdc-button-base {
|
|
2955
2960
|
--mdc-icon-button-state-layer-size: 40px;
|
|
2956
2961
|
width: var(--mdc-icon-button-state-layer-size);
|
|
@@ -3042,12 +3047,10 @@ igo-menu-button > button#menu-button.menu-button-white-background {
|
|
|
3042
3047
|
font-size: 28px;
|
|
3043
3048
|
}
|
|
3044
3049
|
|
|
3045
|
-
igo-search-bar mat-form-field .mat-mdc-text-field-wrapper
|
|
3050
|
+
igo-search-bar mat-form-field .mat-mdc-text-field-wrapper,
|
|
3051
|
+
igo-search-bar mat-form-field .mat-mdc-form-field-focus-overlay {
|
|
3046
3052
|
background-color: white !important;
|
|
3047
3053
|
}
|
|
3048
|
-
igo-search-bar mat-form-field .mdc-line-ripple {
|
|
3049
|
-
display: none;
|
|
3050
|
-
}
|
|
3051
3054
|
|
|
3052
3055
|
igo-search-bar .mat-mdc-form-field-infix {
|
|
3053
3056
|
min-height: 48px;
|
|
@@ -3077,6 +3080,17 @@ igo-search-bar .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-m
|
|
|
3077
3080
|
display: none;
|
|
3078
3081
|
}
|
|
3079
3082
|
|
|
3083
|
+
igo-search-bar mat-form-field .mdc-line-ripple {
|
|
3084
|
+
display: none;
|
|
3085
|
+
}
|
|
3086
|
+
|
|
3087
|
+
igo-search-results-item .mdc-list-item--with-leading-icon:hover .mdc-list-item__start {
|
|
3088
|
+
color: black;
|
|
3089
|
+
}
|
|
3090
|
+
igo-search-results-item .mdc-list-item--with-leading-icon .mdc-list-item__start {
|
|
3091
|
+
color: rgba(0, 0, 0, 0.87);
|
|
3092
|
+
}
|
|
3093
|
+
|
|
3080
3094
|
igo-confirmation-popup-component h1 {
|
|
3081
3095
|
font-size: 32px;
|
|
3082
3096
|
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
@use '../../' as igo;
|
|
4
|
-
@use './qcca';
|
|
5
|
-
|
|
6
|
-
// https://design.quebec.ca/a-propos-systeme-design
|
|
7
|
-
$primary: mat.define-palette(qcca.$palette, 500, 400, 700);
|
|
8
|
-
$accent: mat.define-palette(qcca.$palette, 400, 100, 700);
|
|
9
|
-
$warn: mat.define-palette(qcca.$palette, 800);
|
|
10
|
-
$success: mat.define-palette(qcca.$palette, 900);
|
|
11
|
-
$background: mat.define-palette(qcca.$palette, 100, 100, 100);
|
|
12
|
-
$foreground: mat.define-palette(qcca.$palette, 700, 700, 700);
|
|
13
|
-
|
|
14
|
-
$theme: mat.define-light-theme(
|
|
15
|
-
(
|
|
16
|
-
color: (
|
|
17
|
-
primary: $primary,
|
|
18
|
-
accent: $accent,
|
|
19
|
-
warn: $warn,
|
|
20
|
-
success: $success,
|
|
21
|
-
background: $background
|
|
22
|
-
),
|
|
23
|
-
typography: qcca.$typo-typography,
|
|
24
|
-
density: 0
|
|
25
|
-
)
|
|
26
|
-
);
|
|
27
|
-
|
|
28
|
-
$theme: map.merge(
|
|
29
|
-
$theme,
|
|
30
|
-
(
|
|
31
|
-
foreground:
|
|
32
|
-
igo.theme-foreground(mat.define-palette(qcca.$palette, 500, 100, 700))
|
|
33
|
-
)
|
|
34
|
-
);
|
|
35
|
-
|
|
36
|
-
@include mat.core();
|
|
37
|
-
@include mat.typography-hierarchy(qcca.$typo-typography);
|
|
38
|
-
@include mat.all-component-themes($theme);
|
|
39
|
-
|
|
40
|
-
@include igo.all-component-themes($theme);
|
|
41
|
-
@include qcca.all-component-themes($theme);
|
|
42
|
-
|
|
43
|
-
@media (max-width: 1200px) {
|
|
44
|
-
@include mat.typography-hierarchy(qcca.$typo-typography-mobile);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@include qcca.typo-set-base-styles();
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
@use '../../' as igo;
|
|
4
|
+
@use './qcca';
|
|
5
|
+
|
|
6
|
+
// https://design.quebec.ca/a-propos-systeme-design
|
|
7
|
+
$primary: mat.define-palette(qcca.$palette, 500, 400, 700);
|
|
8
|
+
$accent: mat.define-palette(qcca.$palette, 400, 100, 700);
|
|
9
|
+
$warn: mat.define-palette(qcca.$palette, 800);
|
|
10
|
+
$success: mat.define-palette(qcca.$palette, 900);
|
|
11
|
+
$background: mat.define-palette(qcca.$palette, 100, 100, 100);
|
|
12
|
+
$foreground: mat.define-palette(qcca.$palette, 700, 700, 700);
|
|
13
|
+
|
|
14
|
+
$theme: mat.define-light-theme(
|
|
15
|
+
(
|
|
16
|
+
color: (
|
|
17
|
+
primary: $primary,
|
|
18
|
+
accent: $accent,
|
|
19
|
+
warn: $warn,
|
|
20
|
+
success: $success,
|
|
21
|
+
background: $background
|
|
22
|
+
),
|
|
23
|
+
typography: qcca.$typo-typography,
|
|
24
|
+
density: 0
|
|
25
|
+
)
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
$theme: map.merge(
|
|
29
|
+
$theme,
|
|
30
|
+
(
|
|
31
|
+
foreground:
|
|
32
|
+
igo.theme-foreground(mat.define-palette(qcca.$palette, 500, 100, 700))
|
|
33
|
+
)
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
@include mat.core();
|
|
37
|
+
@include mat.typography-hierarchy(qcca.$typo-typography);
|
|
38
|
+
@include mat.all-component-themes($theme);
|
|
39
|
+
|
|
40
|
+
@include igo.all-component-themes($theme);
|
|
41
|
+
@include qcca.all-component-themes($theme);
|
|
42
|
+
|
|
43
|
+
@media (max-width: 1200px) {
|
|
44
|
+
@include mat.typography-hierarchy(qcca.$typo-typography-mobile);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@include qcca.typo-set-base-styles();
|
|
@@ -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: 14px;
|
|
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: 14px;
|
|
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: 14px;
|
|
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: 14px;
|
|
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: 14px;
|
|
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: #00897b;
|
|
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);
|
|
@@ -2915,15 +2920,13 @@ igo-menu-button > button#menu-button.menu-button-white-background {
|
|
|
2915
2920
|
}
|
|
2916
2921
|
|
|
2917
2922
|
.igo-map-tooltip-measure {
|
|
2918
|
-
font-size:
|
|
2923
|
+
font-size: 16px;
|
|
2919
2924
|
}
|
|
2920
2925
|
|
|
2921
|
-
igo-search-bar mat-form-field .mat-mdc-text-field-wrapper
|
|
2926
|
+
igo-search-bar mat-form-field .mat-mdc-text-field-wrapper,
|
|
2927
|
+
igo-search-bar mat-form-field .mat-mdc-form-field-focus-overlay {
|
|
2922
2928
|
background-color: white !important;
|
|
2923
2929
|
}
|
|
2924
|
-
igo-search-bar mat-form-field .mdc-line-ripple {
|
|
2925
|
-
display: none;
|
|
2926
|
-
}
|
|
2927
2930
|
|
|
2928
2931
|
igo-search-bar .mat-mdc-form-field-infix {
|
|
2929
2932
|
min-height: 48px;
|
|
@@ -2953,6 +2956,17 @@ igo-search-bar .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-m
|
|
|
2953
2956
|
display: none;
|
|
2954
2957
|
}
|
|
2955
2958
|
|
|
2959
|
+
igo-search-bar mat-form-field .mdc-line-ripple {
|
|
2960
|
+
display: none;
|
|
2961
|
+
}
|
|
2962
|
+
|
|
2963
|
+
igo-search-results-item .mdc-list-item--with-leading-icon:hover .mdc-list-item__start {
|
|
2964
|
+
color: black;
|
|
2965
|
+
}
|
|
2966
|
+
igo-search-results-item .mdc-list-item--with-leading-icon .mdc-list-item__start {
|
|
2967
|
+
color: rgba(0, 0, 0, 0.87);
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2956
2970
|
igo-confirmation-popup-component h1 {
|
|
2957
2971
|
font-size: 32px;
|
|
2958
2972
|
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use '../../index' as igo;
|
|
3
|
-
|
|
4
|
-
$primary: mat.define-palette(mat.$teal-palette, 600, 400, 900);
|
|
5
|
-
$accent: mat.define-palette(mat.$teal-palette, 400);
|
|
6
|
-
$warn: mat.define-palette(mat.$red-palette);
|
|
7
|
-
$typography: igo.$igo-typography;
|
|
8
|
-
|
|
9
|
-
$theme: mat.define-light-theme(
|
|
10
|
-
(
|
|
11
|
-
color: (
|
|
12
|
-
primary: $primary,
|
|
13
|
-
accent: $accent,
|
|
14
|
-
warn: $warn
|
|
15
|
-
),
|
|
16
|
-
typography: $typography,
|
|
17
|
-
density: 0
|
|
18
|
-
)
|
|
19
|
-
);
|
|
20
|
-
|
|
21
|
-
@include mat.core();
|
|
22
|
-
@include mat.typography-hierarchy($typography);
|
|
23
|
-
@include mat.all-component-themes($theme);
|
|
24
|
-
|
|
25
|
-
@include igo.all-component-themes($theme);
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use '../../index' as igo;
|
|
3
|
+
|
|
4
|
+
$primary: mat.define-palette(mat.$teal-palette, 600, 400, 900);
|
|
5
|
+
$accent: mat.define-palette(mat.$teal-palette, 400);
|
|
6
|
+
$warn: mat.define-palette(mat.$red-palette);
|
|
7
|
+
$typography: igo.$igo-typography;
|
|
8
|
+
|
|
9
|
+
$theme: mat.define-light-theme(
|
|
10
|
+
(
|
|
11
|
+
color: (
|
|
12
|
+
primary: $primary,
|
|
13
|
+
accent: $accent,
|
|
14
|
+
warn: $warn
|
|
15
|
+
),
|
|
16
|
+
typography: $typography,
|
|
17
|
+
density: 0
|
|
18
|
+
)
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
@include mat.core();
|
|
22
|
+
@include mat.typography-hierarchy($typography);
|
|
23
|
+
@include mat.all-component-themes($theme);
|
|
24
|
+
|
|
25
|
+
@include igo.all-component-themes($theme);
|
package/theming/typography.scss
CHANGED
|
@@ -6,13 +6,13 @@ $igo-typography: mat.define-typography-config(
|
|
|
6
6
|
$headline-3: mat.define-typography-level(43px, 46px, 500),
|
|
7
7
|
$headline-4: mat.define-typography-level(32px, 38px, 500),
|
|
8
8
|
// h1
|
|
9
|
-
$headline-5: mat.define-typography-level(
|
|
9
|
+
$headline-5: mat.define-typography-level(24px, 32px, 400),
|
|
10
10
|
// h2
|
|
11
|
-
$headline-6: mat.define-typography-level(
|
|
11
|
+
$headline-6: mat.define-typography-level(20px, 30px, 400),
|
|
12
12
|
// h3
|
|
13
|
-
$subtitle-1: mat.define-typography-level(
|
|
13
|
+
$subtitle-1: mat.define-typography-level(16px, 26px, 500),
|
|
14
14
|
// h4
|
|
15
|
-
$subtitle-2: mat.define-typography-level(
|
|
15
|
+
$subtitle-2: mat.define-typography-level(14px, 22px, 500),
|
|
16
16
|
$body-1: mat.define-typography-level(14px, 22px, 400),
|
|
17
17
|
$body-2: mat.define-typography-level(12px, 18px, 400),
|
|
18
18
|
$caption: mat.define-typography-level(12px, 18px, 400),
|
|
@@ -22,7 +22,7 @@ $igo-typography: mat.define-typography-config(
|
|
|
22
22
|
// WORKAROUND, mat-typography bad area of intersection, h4 is using mat-body-1
|
|
23
23
|
// https://github.com/angular/components/issues/26351
|
|
24
24
|
h4 {
|
|
25
|
-
font-size:
|
|
25
|
+
font-size: 14px !important;
|
|
26
26
|
line-height: 22px !important;
|
|
27
27
|
font-weight: 500 !important;
|
|
28
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
|
+
}
|