@igo2/core 16.0.0-rc.3 → 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/_index.scss +8 -8
- package/core-theme.scss +5 -5
- package/esm2022/lib/config/version.mjs +3 -3
- package/esm2022/lib/storage/index.mjs +1 -1
- package/fesm2022/igo2-core.mjs +2 -2
- package/fesm2022/igo2-core.mjs.map +1 -1
- package/package.json +2 -2
- package/theming/all-theme.scss +14 -14
- package/theming/prebuilt-themes/blue-theme.css +39 -25
- package/theming/prebuilt-themes/bluedark-theme.css +39 -25
- package/theming/prebuilt-themes/bluedq-theme.css +39 -25
- package/theming/prebuilt-themes/bluegrey-theme.css +39 -25
- package/theming/prebuilt-themes/dark-theme.css +39 -25
- package/theming/prebuilt-themes/deeppurple-theme.css +39 -25
- package/theming/prebuilt-themes/indigo-theme.css +39 -25
- package/theming/prebuilt-themes/orange-theme.css +39 -25
- package/theming/prebuilt-themes/qcca/_index.scss +2 -2
- package/theming/prebuilt-themes/qcca/base/colors.scss +40 -40
- package/theming/prebuilt-themes/qcca/base/palette.scss +50 -50
- package/theming/prebuilt-themes/qcca/base/typography/typography.scss +138 -138
- package/theming/prebuilt-themes/qcca/components/form-field.scss +5 -5
- package/theming/prebuilt-themes/qcca/components/input.scss +6 -6
- package/theming/prebuilt-themes/qcca/components/list.scss +24 -24
- package/theming/prebuilt-themes/qcca/components/panel.scss +8 -8
- package/theming/prebuilt-themes/qcca-theme.css +19 -5
- package/theming/prebuilt-themes/qcca-theme.scss +47 -47
- package/theming/prebuilt-themes/teal-theme.css +39 -25
- package/theming/typography.scss +5 -5
- package/theming/utils/_foreground.scss +22 -22
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
h4 {
|
|
2
|
-
font-size:
|
|
2
|
+
font-size: 14px !important;
|
|
3
3
|
line-height: 22px !important;
|
|
4
4
|
font-weight: 500 !important;
|
|
5
5
|
}
|
|
@@ -209,9 +209,9 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
209
209
|
.mat-typography .mat-h1,
|
|
210
210
|
.mat-typography .mat-headline-5,
|
|
211
211
|
.mat-typography h1 {
|
|
212
|
-
font-size:
|
|
213
|
-
font-weight:
|
|
214
|
-
line-height:
|
|
212
|
+
font-size: 24px;
|
|
213
|
+
font-weight: 400;
|
|
214
|
+
line-height: 32px;
|
|
215
215
|
font-family: Roboto, sans-serif;
|
|
216
216
|
letter-spacing: normal;
|
|
217
217
|
margin: 0 0 16px;
|
|
@@ -222,8 +222,8 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
222
222
|
.mat-typography .mat-h2,
|
|
223
223
|
.mat-typography .mat-headline-6,
|
|
224
224
|
.mat-typography h2 {
|
|
225
|
-
font-size:
|
|
226
|
-
font-weight:
|
|
225
|
+
font-size: 20px;
|
|
226
|
+
font-weight: 400;
|
|
227
227
|
line-height: 30px;
|
|
228
228
|
font-family: Roboto, sans-serif;
|
|
229
229
|
letter-spacing: normal;
|
|
@@ -235,7 +235,7 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
235
235
|
.mat-typography .mat-h3,
|
|
236
236
|
.mat-typography .mat-subtitle-1,
|
|
237
237
|
.mat-typography h3 {
|
|
238
|
-
font-size:
|
|
238
|
+
font-size: 16px;
|
|
239
239
|
font-weight: 500;
|
|
240
240
|
line-height: 26px;
|
|
241
241
|
font-family: Roboto, sans-serif;
|
|
@@ -274,7 +274,7 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
274
274
|
.mat-subtitle-2,
|
|
275
275
|
.mat-typography .mat-body-strong,
|
|
276
276
|
.mat-typography .mat-subtitle-2 {
|
|
277
|
-
font-size:
|
|
277
|
+
font-size: 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: #3f51b5;
|
|
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,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: #ef6c00;
|
|
2828
2828
|
}
|
|
2829
2829
|
|
|
2830
|
+
igo-layer-list-tool mat-form-field .mat-mdc-text-field-wrapper,
|
|
2831
|
+
igo-layer-list-tool mat-form-field .mat-mdc-form-field-focus-overlay {
|
|
2832
|
+
background-color: white !important;
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2830
2835
|
igo-layer-list-tool .mat-mdc-icon-button.mat-mdc-button-base {
|
|
2831
2836
|
--mdc-icon-button-state-layer-size: 40px;
|
|
2832
2837
|
width: var(--mdc-icon-button-state-layer-size);
|
|
@@ -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,2 +1,2 @@
|
|
|
1
|
-
@forward './base';
|
|
2
|
-
@forward './components';
|
|
1
|
+
@forward './base';
|
|
2
|
+
@forward './components';
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
// https://design.quebec.ca/bases/couleurs#c118192
|
|
4
|
-
$colors: (
|
|
5
|
-
blue: (
|
|
6
|
-
light: #dae6f0,
|
|
7
|
-
light-2: #4a98d9,
|
|
8
|
-
normal: #1472bf,
|
|
9
|
-
normal-piv: #095797,
|
|
10
|
-
medium: #19406c,
|
|
11
|
-
dark: #223654
|
|
12
|
-
),
|
|
13
|
-
grey: (
|
|
14
|
-
light: #f1f1f2,
|
|
15
|
-
light-2: #c5cad2,
|
|
16
|
-
normal: #8893a2,
|
|
17
|
-
medium: #6b778a,
|
|
18
|
-
dark: #4e5662
|
|
19
|
-
),
|
|
20
|
-
red: (
|
|
21
|
-
pink-light: #ffdbd6,
|
|
22
|
-
pink: #e58271,
|
|
23
|
-
normal: #cb381f,
|
|
24
|
-
dark: #692519
|
|
25
|
-
),
|
|
26
|
-
green: (
|
|
27
|
-
light: #d7f0bb,
|
|
28
|
-
normal: #4f813d,
|
|
29
|
-
dark: #2c4024
|
|
30
|
-
),
|
|
31
|
-
yellow: (
|
|
32
|
-
light: #f8e69a,
|
|
33
|
-
normal: #e0ad03,
|
|
34
|
-
dark: #ad781c
|
|
35
|
-
)
|
|
36
|
-
);
|
|
37
|
-
|
|
38
|
-
@function get($color, $name) {
|
|
39
|
-
@return map.get($colors, $color, $name);
|
|
40
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
// https://design.quebec.ca/bases/couleurs#c118192
|
|
4
|
+
$colors: (
|
|
5
|
+
blue: (
|
|
6
|
+
light: #dae6f0,
|
|
7
|
+
light-2: #4a98d9,
|
|
8
|
+
normal: #1472bf,
|
|
9
|
+
normal-piv: #095797,
|
|
10
|
+
medium: #19406c,
|
|
11
|
+
dark: #223654
|
|
12
|
+
),
|
|
13
|
+
grey: (
|
|
14
|
+
light: #f1f1f2,
|
|
15
|
+
light-2: #c5cad2,
|
|
16
|
+
normal: #8893a2,
|
|
17
|
+
medium: #6b778a,
|
|
18
|
+
dark: #4e5662
|
|
19
|
+
),
|
|
20
|
+
red: (
|
|
21
|
+
pink-light: #ffdbd6,
|
|
22
|
+
pink: #e58271,
|
|
23
|
+
normal: #cb381f,
|
|
24
|
+
dark: #692519
|
|
25
|
+
),
|
|
26
|
+
green: (
|
|
27
|
+
light: #d7f0bb,
|
|
28
|
+
normal: #4f813d,
|
|
29
|
+
dark: #2c4024
|
|
30
|
+
),
|
|
31
|
+
yellow: (
|
|
32
|
+
light: #f8e69a,
|
|
33
|
+
normal: #e0ad03,
|
|
34
|
+
dark: #ad781c
|
|
35
|
+
)
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
@function get($color, $name) {
|
|
39
|
+
@return map.get($colors, $color, $name);
|
|
40
|
+
}
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:color';
|
|
3
|
-
@use './colors';
|
|
4
|
-
|
|
5
|
-
$blue-light: colors.get(blue, light);
|
|
6
|
-
$blue-light-2: colors.get(blue, light-2);
|
|
7
|
-
$blue-normal: colors.get(blue, normal);
|
|
8
|
-
$blue-normal-piv: colors.get(blue, normal-piv);
|
|
9
|
-
$blue-medium: colors.get(blue, medium);
|
|
10
|
-
$blue-dark: colors.get(blue, dark);
|
|
11
|
-
|
|
12
|
-
// Design Quebec colors
|
|
13
|
-
$primary: $blue-normal-piv;
|
|
14
|
-
$accent: colors.get(red, pink);
|
|
15
|
-
|
|
16
|
-
$dark-primary-text: $blue-dark;
|
|
17
|
-
$light-primary-text: white;
|
|
18
|
-
|
|
19
|
-
$palette: (
|
|
20
|
-
50: $blue-light,
|
|
21
|
-
100: color.adjust($blue-light-2, $lightness: 20%),
|
|
22
|
-
200: color.adjust($blue-light-2, $lightness: 10%),
|
|
23
|
-
300: $blue-light-2,
|
|
24
|
-
400: $blue-normal,
|
|
25
|
-
500: $primary,
|
|
26
|
-
600: color.adjust($primary, $lightness: -10%),
|
|
27
|
-
700: $blue-medium,
|
|
28
|
-
800: color.adjust($blue-medium, $lightness: -10%),
|
|
29
|
-
900: $blue-dark,
|
|
30
|
-
A100: $blue-normal,
|
|
31
|
-
A200: color.adjust($blue-normal, $lightness: 10%),
|
|
32
|
-
A400: colors.get(grey, light-2),
|
|
33
|
-
A700: colors.get(grey, light),
|
|
34
|
-
contrast: (
|
|
35
|
-
50: $dark-primary-text,
|
|
36
|
-
100: $dark-primary-text,
|
|
37
|
-
200: $dark-primary-text,
|
|
38
|
-
300: $dark-primary-text,
|
|
39
|
-
400: $dark-primary-text,
|
|
40
|
-
500: $light-primary-text,
|
|
41
|
-
600: $light-primary-text,
|
|
42
|
-
700: $light-primary-text,
|
|
43
|
-
800: $light-primary-text,
|
|
44
|
-
900: $light-primary-text,
|
|
45
|
-
A100: $dark-primary-text,
|
|
46
|
-
A200: $light-primary-text,
|
|
47
|
-
A400: $light-primary-text,
|
|
48
|
-
A700: $light-primary-text
|
|
49
|
-
)
|
|
50
|
-
);
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:color';
|
|
3
|
+
@use './colors';
|
|
4
|
+
|
|
5
|
+
$blue-light: colors.get(blue, light);
|
|
6
|
+
$blue-light-2: colors.get(blue, light-2);
|
|
7
|
+
$blue-normal: colors.get(blue, normal);
|
|
8
|
+
$blue-normal-piv: colors.get(blue, normal-piv);
|
|
9
|
+
$blue-medium: colors.get(blue, medium);
|
|
10
|
+
$blue-dark: colors.get(blue, dark);
|
|
11
|
+
|
|
12
|
+
// Design Quebec colors
|
|
13
|
+
$primary: $blue-normal-piv;
|
|
14
|
+
$accent: colors.get(red, pink);
|
|
15
|
+
|
|
16
|
+
$dark-primary-text: $blue-dark;
|
|
17
|
+
$light-primary-text: white;
|
|
18
|
+
|
|
19
|
+
$palette: (
|
|
20
|
+
50: $blue-light,
|
|
21
|
+
100: color.adjust($blue-light-2, $lightness: 20%),
|
|
22
|
+
200: color.adjust($blue-light-2, $lightness: 10%),
|
|
23
|
+
300: $blue-light-2,
|
|
24
|
+
400: $blue-normal,
|
|
25
|
+
500: $primary,
|
|
26
|
+
600: color.adjust($primary, $lightness: -10%),
|
|
27
|
+
700: $blue-medium,
|
|
28
|
+
800: color.adjust($blue-medium, $lightness: -10%),
|
|
29
|
+
900: $blue-dark,
|
|
30
|
+
A100: $blue-normal,
|
|
31
|
+
A200: color.adjust($blue-normal, $lightness: 10%),
|
|
32
|
+
A400: colors.get(grey, light-2),
|
|
33
|
+
A700: colors.get(grey, light),
|
|
34
|
+
contrast: (
|
|
35
|
+
50: $dark-primary-text,
|
|
36
|
+
100: $dark-primary-text,
|
|
37
|
+
200: $dark-primary-text,
|
|
38
|
+
300: $dark-primary-text,
|
|
39
|
+
400: $dark-primary-text,
|
|
40
|
+
500: $light-primary-text,
|
|
41
|
+
600: $light-primary-text,
|
|
42
|
+
700: $light-primary-text,
|
|
43
|
+
800: $light-primary-text,
|
|
44
|
+
900: $light-primary-text,
|
|
45
|
+
A100: $dark-primary-text,
|
|
46
|
+
A200: $light-primary-text,
|
|
47
|
+
A400: $light-primary-text,
|
|
48
|
+
A700: $light-primary-text
|
|
49
|
+
)
|
|
50
|
+
);
|