@gravitee/ui-particles-angular 12.22.1 → 12.22.2-angular-18-96ea9e3
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/README.md +1 -1
- package/esm2022/gio-asciidoctor/gio-asciidoctor.component.mjs +3 -3
- package/esm2022/gio-asciidoctor/gio-asciidoctor.module.mjs +4 -4
- package/esm2022/gio-asciidoctor/gio-asciidoctor.service.mjs +3 -3
- package/esm2022/lib/gio-avatar/gio-avatar.component.mjs +3 -3
- package/esm2022/lib/gio-avatar/gio-avatar.module.mjs +4 -4
- package/esm2022/lib/gio-banner/gio-banner.component.mjs +26 -26
- package/esm2022/lib/gio-banner/gio-banner.module.mjs +4 -4
- package/esm2022/lib/gio-breadcrumb/gio-breadcrumb-item.directive.mjs +3 -3
- package/esm2022/lib/gio-breadcrumb/gio-breadcrumb.component.mjs +3 -3
- package/esm2022/lib/gio-breadcrumb/gio-breadcrumb.module.mjs +4 -4
- package/esm2022/lib/gio-card-empty-state/gio-card-empty-state.component.mjs +3 -3
- package/esm2022/lib/gio-card-empty-state/gio-card-empty-state.module.mjs +4 -4
- package/esm2022/lib/gio-clipboard/gio-clipboard-copy-icon.component.mjs +3 -3
- package/esm2022/lib/gio-clipboard/gio-clipboard-copy-wrapper.component.mjs +3 -3
- package/esm2022/lib/gio-clipboard/gio-clipboard.base.component.mjs +3 -3
- package/esm2022/lib/gio-clipboard/gio-clipboard.module.mjs +4 -4
- package/esm2022/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.component.mjs +3 -3
- package/esm2022/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.module.mjs +4 -4
- package/esm2022/lib/gio-confirm-dialog/gio-confirm-dialog.component.mjs +3 -3
- package/esm2022/lib/gio-confirm-dialog/gio-confirm-dialog.module.mjs +4 -4
- package/esm2022/lib/gio-form-cron/gio-form-cron-hint.component.mjs +3 -3
- package/esm2022/lib/gio-form-cron/gio-form-cron-label.component.mjs +3 -3
- package/esm2022/lib/gio-form-cron/gio-form-cron.component.mjs +4 -4
- package/esm2022/lib/gio-form-cron/gio-form-cron.module.mjs +4 -4
- package/esm2022/lib/gio-form-file-picker/gio-form-file-picker-add-button/gio-form-file-picker-add-button.component.mjs +3 -3
- package/esm2022/lib/gio-form-file-picker/gio-form-file-picker-empty/gio-form-file-picker-empty.component.mjs +3 -3
- package/esm2022/lib/gio-form-file-picker/gio-form-file-picker-label/gio-form-file-picker-label.component.mjs +3 -3
- package/esm2022/lib/gio-form-file-picker/gio-form-file-picker.component.mjs +3 -3
- package/esm2022/lib/gio-form-file-picker/gio-form-file-picker.module.mjs +4 -4
- package/esm2022/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid-ignore.directive.mjs +3 -3
- package/esm2022/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.directive.mjs +9 -9
- package/esm2022/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.module.mjs +4 -4
- package/esm2022/lib/gio-form-headers/gio-form-headers-label.component.mjs +3 -3
- package/esm2022/lib/gio-form-headers/gio-form-headers.component.mjs +3 -3
- package/esm2022/lib/gio-form-headers/gio-form-headers.module.mjs +4 -4
- package/esm2022/lib/gio-form-json-schema/gio-form-json-schema.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/gio-form-json-schema.module.mjs +4 -4
- package/esm2022/lib/gio-form-json-schema/gio-formly-json-schema.service.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/array-type.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/code-editor-type.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/cron-type.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/headers-type.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/multischema-type.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/null-type.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/object-type.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/type-component/toggle-type.component.mjs +4 -4
- package/esm2022/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.mjs +3 -3
- package/esm2022/lib/gio-form-json-schema/wrappers/gio-password-eye.component.mjs +3 -3
- package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline-card-content/gio-form-selection-inline-card-content.component.mjs +9 -9
- package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline-card.component.mjs +3 -3
- package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline.component.mjs +3 -3
- package/esm2022/lib/gio-form-selection-inline/gio-form-selection-inline.module.mjs +4 -4
- package/esm2022/lib/gio-form-slide-toggle/gio-form-label.directive.mjs +9 -9
- package/esm2022/lib/gio-form-slide-toggle/gio-form-slide-toggle.component.mjs +3 -3
- package/esm2022/lib/gio-form-slide-toggle/gio-form-slide-toggle.module.mjs +4 -4
- package/esm2022/lib/gio-form-tags-input/gio-form-tags-input.component.mjs +3 -3
- package/esm2022/lib/gio-form-tags-input/gio-form-tags-input.module.mjs +4 -4
- package/esm2022/lib/gio-icons/gio-icons.module.mjs +4 -4
- package/esm2022/lib/gio-license/gio-license-dialog/gio-license-dialog.component.mjs +3 -3
- package/esm2022/lib/gio-license/gio-license-dialog/gio-license-dialog.module.mjs +4 -4
- package/esm2022/lib/gio-license/gio-license.directive.mjs +3 -3
- package/esm2022/lib/gio-license/gio-license.module.mjs +4 -4
- package/esm2022/lib/gio-license/gio-license.service.mjs +3 -3
- package/esm2022/lib/gio-license/gio-license.testing.module.mjs +4 -4
- package/esm2022/lib/gio-license-expiration-notification/gio-license-expiration-notification.component.mjs +3 -3
- package/esm2022/lib/gio-license-expiration-notification/gio-license-expiration-notification.module.mjs +4 -4
- package/esm2022/lib/gio-loader/gio-loader.component.mjs +3 -3
- package/esm2022/lib/gio-loader/gio-loader.module.mjs +4 -4
- package/esm2022/lib/gio-mat-config/gio-mat-config.module.mjs +4 -4
- package/esm2022/lib/gio-monaco-editor/gio-monaco-editor-form-field.directive.mjs +3 -3
- package/esm2022/lib/gio-monaco-editor/gio-monaco-editor.component.mjs +3 -3
- package/esm2022/lib/gio-monaco-editor/gio-monaco-editor.module.mjs +4 -4
- package/esm2022/lib/gio-monaco-editor/gio-monaco-editor.testing.component.mjs +3 -3
- package/esm2022/lib/gio-monaco-editor/services/gio-language-el.service.mjs +3 -3
- package/esm2022/lib/gio-monaco-editor/services/gio-language-json.service.mjs +3 -3
- package/esm2022/lib/gio-monaco-editor/services/gio-monaco-editor.service.mjs +3 -3
- package/esm2022/lib/gio-pipe/gio.pipe.module.mjs +4 -4
- package/esm2022/lib/gio-pipe/safe.pipe.mjs +3 -3
- package/esm2022/lib/gio-prismjs/gio-prismjs.service.mjs +3 -3
- package/esm2022/lib/gio-save-bar/gio-save-bar.component.mjs +3 -3
- package/esm2022/lib/gio-save-bar/gio-save-bar.module.mjs +4 -4
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-footer/gio-menu-footer.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-header/gio-menu-header.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-item/gio-menu-item.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-license-expiration-notification/gio-menu-license-expiration-notification.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-list/gio-menu-list.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-search/gio-menu-search.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-search/gio-menu-search.service.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-menu/gio-menu.module.mjs +4 -4
- package/esm2022/lib/oem-theme/gio-menu/gio-menu.service.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-submenu/gio-submenu-group/gio-submenu-group.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-submenu/gio-submenu-item/gio-submenu-item.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-submenu/gio-submenu.component.mjs +6 -6
- package/esm2022/lib/oem-theme/gio-submenu/gio-submenu.module.mjs +4 -4
- package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-content/gio-top-bar-content.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.module.mjs +4 -4
- package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.module.mjs +4 -4
- package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar.component.mjs +3 -3
- package/esm2022/lib/oem-theme/gio-top-bar/gio-top-bar.module.mjs +4 -4
- package/fesm2022/gravitee-ui-particles-angular-gio-asciidoctor.mjs +10 -10
- package/fesm2022/gravitee-ui-particles-angular.mjs +376 -376
- package/fesm2022/gravitee-ui-particles-angular.mjs.map +1 -1
- package/lib/gio-form-cron/gio-form-cron.adapter.d.ts +1 -1
- package/package.json +8 -8
- package/src/lib/gio-badge/gio-badge.scss +16 -16
- package/src/lib/gio-button-toggle-group/gio-button-toggle-group.scss +6 -6
- package/src/lib/gio-description-list/gio-description-list.scss +4 -4
- package/src/lib/gio-method-badge/gio-method-badge.scss +22 -22
- package/src/lib/gio-table-light/gio-table-light.scss +7 -7
- package/src/scss/gio-mat-palettes.scss +31 -31
- package/src/scss/gio-mat-theme-variable.scss +20 -20
- package/src/scss/gio-oem-palette.scss +1 -1
- package/src/scss/mat-override/mat-list.scss +1 -1
- package/src/scss/mat-override/mat-option.scss +1 -1
- package/src/scss/mat-override/mat-table.scss +1 -1
- package/src/scss/theme/color/gio-palettes.stories.scss +14 -14
- package/src/scss/theme/color/showcase-color.component.scss +1 -1
- package/src/scss/theme/typography/gio-typography.scss +2 -2
- package/testing/harnesses/div.harness.d.ts +3 -3
- package/testing/harnesses/span.harness.d.ts +3 -3
|
@@ -14,5 +14,5 @@ export declare const CRON_DISPLAY_MODES: readonly ["secondly", "minutely", "hour
|
|
|
14
14
|
export type CronDisplayMode = (typeof CRON_DISPLAY_MODES)[number];
|
|
15
15
|
export declare const getDefaultCronDisplay: (mode: CronDisplayMode) => CronDisplay;
|
|
16
16
|
export declare const parseCronExpression: (cronExpression: string) => CronDisplay;
|
|
17
|
-
export declare const toCronExpression: (cronDisplay: Omit<CronDisplay,
|
|
17
|
+
export declare const toCronExpression: (cronDisplay: Omit<CronDisplay, "cronDescription">) => string;
|
|
18
18
|
export declare const toCronDescription: (cronExpression: string) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravitee/ui-particles-angular",
|
|
3
|
-
"version": "12.22.
|
|
3
|
+
"version": "12.22.2-angular-18-96ea9e3",
|
|
4
4
|
"description": "Gravitee.io - UI Particles Angular",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
"tslib": "^2.6.2"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"@angular/animations": "^
|
|
19
|
-
"@angular/cdk": "^
|
|
20
|
-
"@angular/common": "^
|
|
21
|
-
"@angular/core": "^
|
|
22
|
-
"@angular/forms": "^
|
|
23
|
-
"@angular/material": "^
|
|
18
|
+
"@angular/animations": "^18.0.0",
|
|
19
|
+
"@angular/cdk": "^18.0.0",
|
|
20
|
+
"@angular/common": "^18.0.0",
|
|
21
|
+
"@angular/core": "^18.0.0",
|
|
22
|
+
"@angular/forms": "^18.0.0",
|
|
23
|
+
"@angular/material": "^18.0.0",
|
|
24
24
|
"@asciidoctor/core": "^3.0.0",
|
|
25
25
|
"@ngx-formly/core": "^6.2.2",
|
|
26
26
|
"@ngx-formly/material": "^6.2.2",
|
|
27
|
-
"ngx-file-helpers": "^
|
|
27
|
+
"ngx-file-helpers": "^11.0.0 || ^12.0.0",
|
|
28
28
|
"prismjs": "^1.29.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependenciesMeta": {
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
border-radius: 16px;
|
|
34
34
|
margin-right: 4px;
|
|
35
35
|
margin-left: 4px;
|
|
36
|
-
background-color: mat.get-color-from-palette(palettes.$mat-primary-palette, lighter);
|
|
37
|
-
color: mat.get-color-from-palette(palettes.$mat-primary-palette, lighter-contrast);
|
|
38
|
-
font-size: mat.font-size(theme.$mat-typography, caption);
|
|
39
|
-
font-weight: mat.font-weight(theme.$mat-typography, caption);
|
|
36
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-primary-palette, lighter);
|
|
37
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-primary-palette, lighter-contrast);
|
|
38
|
+
font-size: mat.m2-font-size(theme.$mat-typography, caption);
|
|
39
|
+
font-weight: mat.m2-font-weight(theme.$mat-typography, caption);
|
|
40
40
|
line-height: 16px;
|
|
41
41
|
text-align: center;
|
|
42
42
|
text-transform: capitalize;
|
|
@@ -76,43 +76,43 @@
|
|
|
76
76
|
.gio-badge-accent {
|
|
77
77
|
@extend %gio-badge-base;
|
|
78
78
|
|
|
79
|
-
background-color: mat.get-color-from-palette(palettes.$mat-accent-palette, lighter);
|
|
80
|
-
color: mat.get-color-from-palette(palettes.$mat-accent-palette, lighter-contrast);
|
|
79
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-accent-palette, lighter);
|
|
80
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-accent-palette, lighter-contrast);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.gio-badge-neutral {
|
|
84
84
|
@extend %gio-badge-base;
|
|
85
85
|
|
|
86
|
-
background-color: mat.get-color-from-palette(palettes.$mat-dove-palette, darker10);
|
|
87
|
-
color: mat.get-color-from-palette(palettes.$mat-dove-palette, darker10-contrast);
|
|
86
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-dove-palette, darker10);
|
|
87
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-dove-palette, darker10-contrast);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.gio-badge-white {
|
|
91
91
|
@extend %gio-badge-base;
|
|
92
92
|
|
|
93
|
-
background-color: mat.get-color-from-palette(palettes.$mat-basic-palette, white);
|
|
94
|
-
color: mat.get-color-from-palette(palettes.$mat-basic-palette, white-contrast);
|
|
93
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-basic-palette, white);
|
|
94
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-basic-palette, white-contrast);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.gio-badge-success {
|
|
98
98
|
@extend %gio-badge-base;
|
|
99
99
|
|
|
100
|
-
background-color: mat.get-color-from-palette(palettes.$mat-success-palette, lighter);
|
|
101
|
-
color: mat.get-color-from-palette(palettes.$mat-success-palette, lighter-contrast);
|
|
100
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-success-palette, lighter);
|
|
101
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-success-palette, lighter-contrast);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.gio-badge-error {
|
|
105
105
|
@extend %gio-badge-base;
|
|
106
106
|
|
|
107
|
-
background-color: mat.get-color-from-palette(palettes.$mat-error-palette, lighter);
|
|
108
|
-
color: mat.get-color-from-palette(palettes.$mat-error-palette, lighter-contrast);
|
|
107
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-error-palette, lighter);
|
|
108
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-error-palette, lighter-contrast);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
.gio-badge-warning {
|
|
112
112
|
@extend %gio-badge-base;
|
|
113
113
|
|
|
114
|
-
background-color: mat.get-color-from-palette(palettes.$mat-warning-palette, lighter);
|
|
115
|
-
color: mat.get-color-from-palette(palettes.$mat-warning-palette, lighter-contrast);
|
|
114
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-warning-palette, lighter);
|
|
115
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-warning-palette, lighter-contrast);
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
|
|
@@ -24,11 +24,11 @@ $typography: map.get(theme.$mat-theme, typography);
|
|
|
24
24
|
width: fit-content;
|
|
25
25
|
height: 44px;
|
|
26
26
|
padding: 4px;
|
|
27
|
-
border: solid 1px mat.get-color-from-palette(palettes.$mat-dove-palette, 'darker20');
|
|
27
|
+
border: solid 1px mat.m2-get-color-from-palette(palettes.$mat-dove-palette, 'darker20');
|
|
28
28
|
margin-bottom: 16px;
|
|
29
29
|
|
|
30
30
|
.mat-button-toggle {
|
|
31
|
-
@include mat.typography-level($typography, subtitle-2);
|
|
31
|
+
@include mat.m2-typography-level($typography, subtitle-2);
|
|
32
32
|
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-direction: row;
|
|
@@ -37,13 +37,13 @@ $typography: map.get(theme.$mat-theme, typography);
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.mat-button-toggle.mat-button-toggle-checked:not(.mat-button-toggle-disabled) {
|
|
40
|
-
background-color: mat.get-color-from-palette(palettes.$mat-accent-palette, 'darker20');
|
|
41
|
-
color: mat.get-color-from-palette(palettes.$mat-accent-palette, default-contrast);
|
|
40
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-accent-palette, 'darker20');
|
|
41
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-accent-palette, default-contrast);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.mat-button-toggle.mat-button-toggle-checked.mat-button-toggle-disabled {
|
|
45
|
-
background-color: mat.get-color-from-palette(palettes.$mat-dove-palette, 'darker20');
|
|
46
|
-
color: mat.get-color-from-palette(palettes.$mat-dove-palette, darker20-contrast, 0.4);
|
|
45
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-dove-palette, 'darker20');
|
|
46
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-dove-palette, darker20-contrast, 0.4);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.mat-button-toggle.mat-button-toggle + .mat-button-toggle {
|
|
@@ -30,20 +30,20 @@ $typography: map.get(theme.$mat-theme, typography);
|
|
|
30
30
|
dt {
|
|
31
31
|
flex: 1 1 30%;
|
|
32
32
|
padding: 6px 8px;
|
|
33
|
-
color: mat.get-color-from-palette(palettes.$mat-space-palette, 'lighter40');
|
|
34
|
-
@include mat.typography-level($typography, body-1);
|
|
33
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-space-palette, 'lighter40');
|
|
34
|
+
@include mat.m2-typography-level($typography, body-1);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
dd {
|
|
38
38
|
flex: 1 1 70%;
|
|
39
39
|
padding: 6px 8px;
|
|
40
40
|
margin: 0;
|
|
41
|
-
@include mat.typography-level($typography, subtitle-2);
|
|
41
|
+
@include mat.m2-typography-level($typography, subtitle-2);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
dd ~ dd,
|
|
45
45
|
dd ~ dt {
|
|
46
|
-
border-top: 1px solid mat.get-color-from-palette($foreground, divider);
|
|
46
|
+
border-top: 1px solid mat.m2-get-color-from-palette($foreground, divider);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
border-radius: 6px;
|
|
34
34
|
margin-right: 4px;
|
|
35
35
|
margin-left: 4px;
|
|
36
|
-
font-size: mat.font-size(theme.$mat-typography, caption);
|
|
37
|
-
font-weight: mat.font-weight(theme.$mat-typography, caption);
|
|
36
|
+
font-size: mat.m2-font-size(theme.$mat-typography, caption);
|
|
37
|
+
font-weight: mat.m2-font-weight(theme.$mat-typography, caption);
|
|
38
38
|
line-height: 16px;
|
|
39
39
|
text-align: center;
|
|
40
40
|
text-transform: uppercase;
|
|
@@ -49,70 +49,70 @@
|
|
|
49
49
|
.gio-method-badge-post {
|
|
50
50
|
@extend %gio-method-badge-base;
|
|
51
51
|
|
|
52
|
-
background-color: mat.get-color-from-palette(palettes.$mat-method-palette, post);
|
|
53
|
-
color: mat.get-color-from-palette(palettes.$mat-method-palette, post-contrast);
|
|
52
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, post);
|
|
53
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, post-contrast);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.gio-method-badge-get {
|
|
57
57
|
@extend %gio-method-badge-base;
|
|
58
58
|
|
|
59
|
-
background-color: mat.get-color-from-palette(palettes.$mat-method-palette, get);
|
|
60
|
-
color: mat.get-color-from-palette(palettes.$mat-method-palette, get-contrast);
|
|
59
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, get);
|
|
60
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, get-contrast);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.gio-method-badge-patch {
|
|
64
64
|
@extend %gio-method-badge-base;
|
|
65
65
|
|
|
66
|
-
background-color: mat.get-color-from-palette(palettes.$mat-method-palette, patch);
|
|
67
|
-
color: mat.get-color-from-palette(palettes.$mat-method-palette, patch-contrast);
|
|
66
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, patch);
|
|
67
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, patch-contrast);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.gio-method-badge-put {
|
|
71
71
|
@extend %gio-method-badge-base;
|
|
72
72
|
|
|
73
|
-
background-color: mat.get-color-from-palette(palettes.$mat-method-palette, put);
|
|
74
|
-
color: mat.get-color-from-palette(palettes.$mat-method-palette, put-contrast);
|
|
73
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, put);
|
|
74
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, put-contrast);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.gio-method-badge-delete {
|
|
78
78
|
@extend %gio-method-badge-base;
|
|
79
79
|
|
|
80
|
-
background-color: mat.get-color-from-palette(palettes.$mat-method-palette, delete);
|
|
81
|
-
color: mat.get-color-from-palette(palettes.$mat-method-palette, delete-contrast);
|
|
80
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, delete);
|
|
81
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, delete-contrast);
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.gio-method-badge-options {
|
|
85
85
|
@extend %gio-method-badge-base;
|
|
86
86
|
|
|
87
|
-
background-color: mat.get-color-from-palette(palettes.$mat-method-palette, option);
|
|
88
|
-
color: mat.get-color-from-palette(palettes.$mat-method-palette, option-contrast);
|
|
87
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, option);
|
|
88
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, option-contrast);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.gio-method-badge-trace {
|
|
92
92
|
@extend %gio-method-badge-base;
|
|
93
93
|
|
|
94
|
-
background-color: mat.get-color-from-palette(palettes.$mat-method-palette, trace);
|
|
95
|
-
color: mat.get-color-from-palette(palettes.$mat-method-palette, trace-contrast);
|
|
94
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, trace);
|
|
95
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, trace-contrast);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.gio-method-badge-head {
|
|
99
99
|
@extend %gio-method-badge-base;
|
|
100
100
|
|
|
101
|
-
background-color: mat.get-color-from-palette(palettes.$mat-method-palette, head);
|
|
102
|
-
color: mat.get-color-from-palette(palettes.$mat-method-palette, head-contrast);
|
|
101
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, head);
|
|
102
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, head-contrast);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.gio-method-badge-connect {
|
|
106
106
|
@extend %gio-method-badge-base;
|
|
107
107
|
|
|
108
|
-
background-color: mat.get-color-from-palette(palettes.$mat-method-palette, connect);
|
|
109
|
-
color: mat.get-color-from-palette(palettes.$mat-method-palette, connect-contrast);
|
|
108
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, connect);
|
|
109
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, connect-contrast);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.gio-method-badge-other {
|
|
113
113
|
@extend %gio-method-badge-base;
|
|
114
114
|
|
|
115
|
-
background-color: mat.get-color-from-palette(palettes.$mat-method-palette, other);
|
|
116
|
-
color: mat.get-color-from-palette(palettes.$mat-method-palette, other-contrast);
|
|
115
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, other);
|
|
116
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-method-palette, other-contrast);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -36,17 +36,17 @@ $typography: map.get(theme.$mat-theme, typography);
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
thead {
|
|
39
|
-
@include mat.typography-level($typography, 'subtitle-2');
|
|
39
|
+
@include mat.m2-typography-level($typography, 'subtitle-2');
|
|
40
40
|
|
|
41
|
-
background-color: mat.get-color-from-palette(palettes.$mat-dove-palette, default);
|
|
41
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-dove-palette, default);
|
|
42
42
|
text-align: left;
|
|
43
43
|
text-transform: uppercase;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
tbody {
|
|
47
|
-
@include mat.typography-level($typography, 'body-2');
|
|
47
|
+
@include mat.m2-typography-level($typography, 'body-2');
|
|
48
48
|
|
|
49
|
-
background-color: mat.get-color-from-palette(palettes.$mat-basic-palette, white);
|
|
49
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-basic-palette, white);
|
|
50
50
|
|
|
51
51
|
& > tr:last-child > td {
|
|
52
52
|
border-bottom: 0;
|
|
@@ -57,12 +57,12 @@ $typography: map.get(theme.$mat-theme, typography);
|
|
|
57
57
|
border-color: map.get(palettes.$mat-dove-palette, darker10);
|
|
58
58
|
|
|
59
59
|
thead {
|
|
60
|
-
background-color: mat.get-color-from-palette(palettes.$mat-dove-palette, default, 0.6);
|
|
61
|
-
color: mat.get-color-from-palette(palettes.$mat-dove-palette, 'darker20');
|
|
60
|
+
background-color: mat.m2-get-color-from-palette(palettes.$mat-dove-palette, default, 0.6);
|
|
61
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-dove-palette, 'darker20');
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
tbody {
|
|
65
|
-
color: mat.get-color-from-palette(palettes.$mat-dove-palette, 'darker20');
|
|
65
|
+
color: mat.m2-get-color-from-palette(palettes.$mat-dove-palette, 'darker20');
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
// Primary
|
|
25
|
-
$mat-primary-palette: mat.define-palette(
|
|
25
|
+
$mat-primary-palette: mat.m2-define-palette(
|
|
26
26
|
(
|
|
27
27
|
// Keep sync GIO color token with Material color token
|
|
28
28
|
darker80: #001f1f,
|
|
@@ -72,7 +72,7 @@ $mat-primary-palette: mat.define-palette(
|
|
|
72
72
|
);
|
|
73
73
|
|
|
74
74
|
// Accent
|
|
75
|
-
$mat-accent-palette: mat.define-palette(
|
|
75
|
+
$mat-accent-palette: mat.m2-define-palette(
|
|
76
76
|
(
|
|
77
77
|
darker80: #1b162f,
|
|
78
78
|
900: #1b162f,
|
|
@@ -121,7 +121,7 @@ $mat-accent-palette: mat.define-palette(
|
|
|
121
121
|
);
|
|
122
122
|
|
|
123
123
|
// Success color
|
|
124
|
-
$mat-success-palette: mat.define-palette(
|
|
124
|
+
$mat-success-palette: mat.m2-define-palette(
|
|
125
125
|
(
|
|
126
126
|
darker80: #002c1c,
|
|
127
127
|
darker60: #056946,
|
|
@@ -150,7 +150,7 @@ $mat-success-palette: mat.define-palette(
|
|
|
150
150
|
);
|
|
151
151
|
|
|
152
152
|
// Warning color
|
|
153
|
-
$mat-warning-palette: mat.define-palette(
|
|
153
|
+
$mat-warning-palette: mat.m2-define-palette(
|
|
154
154
|
(
|
|
155
155
|
darker80: #2c0c01,
|
|
156
156
|
darker60: #551c07,
|
|
@@ -179,7 +179,7 @@ $mat-warning-palette: mat.define-palette(
|
|
|
179
179
|
);
|
|
180
180
|
|
|
181
181
|
// Error color
|
|
182
|
-
$mat-error-palette: mat.define-palette(
|
|
182
|
+
$mat-error-palette: mat.m2-define-palette(
|
|
183
183
|
(
|
|
184
184
|
darker80: #2c0015,
|
|
185
185
|
900: #2c0015,
|
|
@@ -228,7 +228,7 @@ $mat-error-palette: mat.define-palette(
|
|
|
228
228
|
);
|
|
229
229
|
|
|
230
230
|
// Basic color
|
|
231
|
-
$mat-basic-palette: mat.define-palette(
|
|
231
|
+
$mat-basic-palette: mat.m2-define-palette(
|
|
232
232
|
(
|
|
233
233
|
black: #000,
|
|
234
234
|
white: #fff,
|
|
@@ -248,7 +248,7 @@ $mat-basic-palette: mat.define-palette(
|
|
|
248
248
|
);
|
|
249
249
|
|
|
250
250
|
// Space color
|
|
251
|
-
$mat-space-palette: mat.define-palette(
|
|
251
|
+
$mat-space-palette: mat.m2-define-palette(
|
|
252
252
|
(
|
|
253
253
|
default: #100c27,
|
|
254
254
|
lighter10: #1c1e39,
|
|
@@ -277,7 +277,7 @@ $mat-space-palette: mat.define-palette(
|
|
|
277
277
|
);
|
|
278
278
|
|
|
279
279
|
// Space color
|
|
280
|
-
$mat-dove-palette: mat.define-palette(
|
|
280
|
+
$mat-dove-palette: mat.m2-define-palette(
|
|
281
281
|
(
|
|
282
282
|
darker80: #313133,
|
|
283
283
|
darker70: #49494c,
|
|
@@ -306,7 +306,7 @@ $mat-dove-palette: mat.define-palette(
|
|
|
306
306
|
);
|
|
307
307
|
|
|
308
308
|
// Cyan color
|
|
309
|
-
$mat-cyan-palette: mat.define-palette(
|
|
309
|
+
$mat-cyan-palette: mat.m2-define-palette(
|
|
310
310
|
(
|
|
311
311
|
default: #006fb9,
|
|
312
312
|
lighter20: #389adb,
|
|
@@ -327,7 +327,7 @@ $mat-cyan-palette: mat.define-palette(
|
|
|
327
327
|
);
|
|
328
328
|
|
|
329
329
|
// Blue palette
|
|
330
|
-
$mat-blue-palette: mat.define-palette(
|
|
330
|
+
$mat-blue-palette: mat.m2-define-palette(
|
|
331
331
|
(
|
|
332
332
|
default: #313fbf,
|
|
333
333
|
lighter20: #6978ff,
|
|
@@ -348,29 +348,29 @@ $mat-blue-palette: mat.define-palette(
|
|
|
348
348
|
);
|
|
349
349
|
|
|
350
350
|
// Method color
|
|
351
|
-
$mat-method-palette: mat.define-palette(
|
|
351
|
+
$mat-method-palette: mat.m2-define-palette(
|
|
352
352
|
(
|
|
353
|
-
patch: mat.get-color-from-palette($mat-accent-palette, lighter80),
|
|
354
|
-
post: mat.get-color-from-palette($mat-warning-palette, lighter80),
|
|
355
|
-
put: mat.get-color-from-palette($mat-dove-palette, darker10),
|
|
356
|
-
get: mat.get-color-from-palette($mat-primary-palette, lighter80),
|
|
357
|
-
delete: mat.get-color-from-palette($mat-error-palette, lighter80),
|
|
358
|
-
option: mat.get-color-from-palette($mat-success-palette, lighter80),
|
|
359
|
-
trace: mat.get-color-from-palette($mat-cyan-palette, lighter80),
|
|
360
|
-
head: mat.get-color-from-palette($mat-blue-palette, lighter80),
|
|
361
|
-
connect: mat.get-color-from-palette($mat-blue-palette, lighter80),
|
|
362
|
-
other: mat.get-color-from-palette($mat-blue-palette, lighter80),
|
|
353
|
+
patch: mat.m2-get-color-from-palette($mat-accent-palette, lighter80),
|
|
354
|
+
post: mat.m2-get-color-from-palette($mat-warning-palette, lighter80),
|
|
355
|
+
put: mat.m2-get-color-from-palette($mat-dove-palette, darker10),
|
|
356
|
+
get: mat.m2-get-color-from-palette($mat-primary-palette, lighter80),
|
|
357
|
+
delete: mat.m2-get-color-from-palette($mat-error-palette, lighter80),
|
|
358
|
+
option: mat.m2-get-color-from-palette($mat-success-palette, lighter80),
|
|
359
|
+
trace: mat.m2-get-color-from-palette($mat-cyan-palette, lighter80),
|
|
360
|
+
head: mat.m2-get-color-from-palette($mat-blue-palette, lighter80),
|
|
361
|
+
connect: mat.m2-get-color-from-palette($mat-blue-palette, lighter80),
|
|
362
|
+
other: mat.m2-get-color-from-palette($mat-blue-palette, lighter80),
|
|
363
363
|
contrast: (
|
|
364
|
-
patch: mat.get-color-from-palette($mat-accent-palette, darker40),
|
|
365
|
-
post: mat.get-color-from-palette($mat-warning-palette, darker20),
|
|
366
|
-
put: mat.get-color-from-palette($mat-dove-palette, lighter70),
|
|
367
|
-
get: mat.get-color-from-palette($mat-primary-palette, darker60),
|
|
368
|
-
delete: mat.get-color-from-palette($mat-error-palette, darker20),
|
|
369
|
-
option: mat.get-color-from-palette($mat-success-palette, darker60),
|
|
370
|
-
trace: mat.get-color-from-palette($mat-cyan-palette, default),
|
|
371
|
-
head: mat.get-color-from-palette($mat-blue-palette, default),
|
|
372
|
-
connect: mat.get-color-from-palette($mat-blue-palette, default),
|
|
373
|
-
other: mat.get-color-from-palette($mat-blue-palette, default),
|
|
364
|
+
patch: mat.m2-get-color-from-palette($mat-accent-palette, darker40),
|
|
365
|
+
post: mat.m2-get-color-from-palette($mat-warning-palette, darker20),
|
|
366
|
+
put: mat.m2-get-color-from-palette($mat-dove-palette, lighter70),
|
|
367
|
+
get: mat.m2-get-color-from-palette($mat-primary-palette, darker60),
|
|
368
|
+
delete: mat.m2-get-color-from-palette($mat-error-palette, darker20),
|
|
369
|
+
option: mat.m2-get-color-from-palette($mat-success-palette, darker60),
|
|
370
|
+
trace: mat.m2-get-color-from-palette($mat-cyan-palette, default),
|
|
371
|
+
head: mat.m2-get-color-from-palette($mat-blue-palette, default),
|
|
372
|
+
connect: mat.m2-get-color-from-palette($mat-blue-palette, default),
|
|
373
|
+
other: mat.m2-get-color-from-palette($mat-blue-palette, default),
|
|
374
374
|
),
|
|
375
375
|
),
|
|
376
376
|
patch,
|
|
@@ -19,25 +19,25 @@
|
|
|
19
19
|
@use './gio-mat-palettes' as palettes;
|
|
20
20
|
|
|
21
21
|
// Config mat Typography
|
|
22
|
-
$mat-typography: mat.define-typography-config(
|
|
22
|
+
$mat-typography: mat.m2-define-typography-config(
|
|
23
23
|
$font-family: '"Golos UI", Roboto, "Helvetica Neue", sans-serif',
|
|
24
|
-
$headline-1: mat.define-typography-level(112px, 112px, 400, $letter-spacing: -0.05em),
|
|
25
|
-
$headline-2: mat.define-typography-level(56px, 56px, 400, $letter-spacing: -0.02em),
|
|
26
|
-
$headline-3: mat.define-typography-level(45px, 48px, 400, $letter-spacing: -0.005em),
|
|
27
|
-
$headline-4: mat.define-typography-level(60px, 66px, 600, $letter-spacing: -0.5px),
|
|
28
|
-
$headline-5: mat.define-typography-level(34px, 44px, 600),
|
|
29
|
-
$headline-6: mat.define-typography-level(26px, 36px, 600),
|
|
30
|
-
$subtitle-1: mat.define-typography-level(18px, 24px, 600, $letter-spacing: 0.4px),
|
|
31
|
-
$subtitle-2: mat.define-typography-level(14px, 20px, 500, $letter-spacing: 0.4px),
|
|
32
|
-
$body-1: mat.define-typography-level(14px, 22px, 500, $letter-spacing: 0.4px),
|
|
33
|
-
$body-2: mat.define-typography-level(14px, 22px, 400, $letter-spacing: 0.4px),
|
|
34
|
-
$caption: mat.define-typography-level(12px, 16px, 400),
|
|
35
|
-
$button: mat.define-typography-level(14px, 14px, 500),
|
|
36
|
-
$overline: mat.define-typography-level(inherit, 1.125, 400),
|
|
24
|
+
$headline-1: mat.m2-define-typography-level(112px, 112px, 400, $letter-spacing: -0.05em),
|
|
25
|
+
$headline-2: mat.m2-define-typography-level(56px, 56px, 400, $letter-spacing: -0.02em),
|
|
26
|
+
$headline-3: mat.m2-define-typography-level(45px, 48px, 400, $letter-spacing: -0.005em),
|
|
27
|
+
$headline-4: mat.m2-define-typography-level(60px, 66px, 600, $letter-spacing: -0.5px),
|
|
28
|
+
$headline-5: mat.m2-define-typography-level(34px, 44px, 600),
|
|
29
|
+
$headline-6: mat.m2-define-typography-level(26px, 36px, 600),
|
|
30
|
+
$subtitle-1: mat.m2-define-typography-level(18px, 24px, 600, $letter-spacing: 0.4px),
|
|
31
|
+
$subtitle-2: mat.m2-define-typography-level(14px, 20px, 500, $letter-spacing: 0.4px),
|
|
32
|
+
$body-1: mat.m2-define-typography-level(14px, 22px, 500, $letter-spacing: 0.4px),
|
|
33
|
+
$body-2: mat.m2-define-typography-level(14px, 22px, 400, $letter-spacing: 0.4px),
|
|
34
|
+
$caption: mat.m2-define-typography-level(12px, 16px, 400),
|
|
35
|
+
$button: mat.m2-define-typography-level(14px, 14px, 500),
|
|
36
|
+
$overline: mat.m2-define-typography-level(inherit, 1.125, 400),
|
|
37
37
|
);
|
|
38
38
|
|
|
39
39
|
// Mat default light theme
|
|
40
|
-
$mat-theme-default: mat.define-light-theme(
|
|
40
|
+
$mat-theme-default: mat.m2-define-light-theme(
|
|
41
41
|
(
|
|
42
42
|
color: (
|
|
43
43
|
primary: palettes.$mat-primary-palette,
|
|
@@ -50,7 +50,7 @@ $mat-theme-default: mat.define-light-theme(
|
|
|
50
50
|
);
|
|
51
51
|
|
|
52
52
|
// Mat default dark theme
|
|
53
|
-
$mat-theme-dark: mat.define-dark-theme(
|
|
53
|
+
$mat-theme-dark: mat.m2-define-dark-theme(
|
|
54
54
|
(
|
|
55
55
|
color: (
|
|
56
56
|
primary: palettes.$mat-primary-palette,
|
|
@@ -69,8 +69,8 @@ $mat-foreground: map.get($mat-theme-default, foreground);
|
|
|
69
69
|
$gio-background: map.merge(
|
|
70
70
|
$mat-background,
|
|
71
71
|
(
|
|
72
|
-
background: mat.get-color-from-palette(palettes.$mat-dove-palette, default),
|
|
73
|
-
tooltip: mat.get-color-from-palette(palettes.$mat-space-palette, default),
|
|
72
|
+
background: mat.m2-get-color-from-palette(palettes.$mat-dove-palette, default),
|
|
73
|
+
tooltip: mat.m2-get-color-from-palette(palettes.$mat-space-palette, default),
|
|
74
74
|
)
|
|
75
75
|
);
|
|
76
76
|
|
|
@@ -78,8 +78,8 @@ $gio-background: map.merge(
|
|
|
78
78
|
$gio-foreground: map.merge(
|
|
79
79
|
$mat-foreground,
|
|
80
80
|
(
|
|
81
|
-
text: mat.get-color-from-palette(palettes.$mat-space-palette, default),
|
|
82
|
-
slider-min: mat.get-color-from-palette(palettes.$mat-space-palette, default),
|
|
81
|
+
text: mat.m2-get-color-from-palette(palettes.$mat-space-palette, default),
|
|
82
|
+
slider-min: mat.m2-get-color-from-palette(palettes.$mat-space-palette, default),
|
|
83
83
|
)
|
|
84
84
|
);
|
|
85
85
|
$gio-background-foreground: (
|
|
@@ -23,7 +23,7 @@ $background: map.get(theme.$mat-theme, background);
|
|
|
23
23
|
@mixin mat-table() {
|
|
24
24
|
.mat-mdc-table {
|
|
25
25
|
tbody tr.mat-mdc-row:hover {
|
|
26
|
-
background-color: mat.get-color-from-palette($background, hover);
|
|
26
|
+
background-color: mat.m2-get-color-from-palette($background, hover);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -31,8 +31,8 @@ $palettes: (
|
|
|
31
31
|
@each $paletteName, $palette in $palettes {
|
|
32
32
|
@each $colorName in $colorNames {
|
|
33
33
|
@if map.has-key($palette, $colorName) {
|
|
34
|
-
$color: mat.get-color-from-palette($palette, $colorName);
|
|
35
|
-
$color-contrast: mat.get-color-from-palette($palette, #{$colorName}-contrast);
|
|
34
|
+
$color: mat.m2-get-color-from-palette($palette, $colorName);
|
|
35
|
+
$color-contrast: mat.m2-get-color-from-palette($palette, #{$colorName}-contrast);
|
|
36
36
|
|
|
37
37
|
--gp--#{$paletteName}__#{$colorName}: #{$color};
|
|
38
38
|
--gp--#{$paletteName}__#{$colorName}-contrast: #{$color-contrast};
|
|
@@ -43,48 +43,48 @@ $palettes: (
|
|
|
43
43
|
// Special palettes
|
|
44
44
|
|
|
45
45
|
@each $colorName in (patch, post, put, get, delete, option, trace, head) {
|
|
46
|
-
$color: mat.get-color-from-palette(gio.$mat-method-palette, $colorName);
|
|
47
|
-
$color-contrast: mat.get-color-from-palette(gio.$mat-method-palette, #{$colorName}-contrast);
|
|
46
|
+
$color: mat.m2-get-color-from-palette(gio.$mat-method-palette, $colorName);
|
|
47
|
+
$color-contrast: mat.m2-get-color-from-palette(gio.$mat-method-palette, #{$colorName}-contrast);
|
|
48
48
|
|
|
49
49
|
--gp--method__#{$colorName}: #{$color};
|
|
50
50
|
--gp--method__#{$colorName}-contrast: #{$color-contrast};
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
@each $colorName in (white, black, disabled) {
|
|
54
|
-
$color: mat.get-color-from-palette(gio.$mat-basic-palette, $colorName);
|
|
55
|
-
$color-contrast: mat.get-color-from-palette(gio.$mat-basic-palette, #{$colorName}-contrast);
|
|
54
|
+
$color: mat.m2-get-color-from-palette(gio.$mat-basic-palette, $colorName);
|
|
55
|
+
$color-contrast: mat.m2-get-color-from-palette(gio.$mat-basic-palette, #{$colorName}-contrast);
|
|
56
56
|
|
|
57
57
|
--gp--basic__#{$colorName}: #{$color};
|
|
58
58
|
--gp--basic__#{$colorName}-contrast: #{$color-contrast};
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
@each $colorName in (lighter80, lighter70, lighter60, lighter50, lighter40, lighter30, lighter20, lighter10, default) {
|
|
62
|
-
$color: mat.get-color-from-palette(gio.$mat-space-palette, $colorName);
|
|
63
|
-
$color-contrast: mat.get-color-from-palette(gio.$mat-space-palette, #{$colorName}-contrast);
|
|
62
|
+
$color: mat.m2-get-color-from-palette(gio.$mat-space-palette, $colorName);
|
|
63
|
+
$color-contrast: mat.m2-get-color-from-palette(gio.$mat-space-palette, #{$colorName}-contrast);
|
|
64
64
|
|
|
65
65
|
--gp--space__#{$colorName}: #{$color};
|
|
66
66
|
--gp--space__#{$colorName}-contrast: #{$color-contrast};
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
@each $colorName in (darker80, darker70, darker60, darker50, darker40, darker30, darker20, darker10, default) {
|
|
70
|
-
$color: mat.get-color-from-palette(gio.$mat-dove-palette, $colorName);
|
|
71
|
-
$color-contrast: mat.get-color-from-palette(gio.$mat-dove-palette, #{$colorName}-contrast);
|
|
70
|
+
$color: mat.m2-get-color-from-palette(gio.$mat-dove-palette, $colorName);
|
|
71
|
+
$color-contrast: mat.m2-get-color-from-palette(gio.$mat-dove-palette, #{$colorName}-contrast);
|
|
72
72
|
|
|
73
73
|
--gp--dove__#{$colorName}: #{$color};
|
|
74
74
|
--gp--dove__#{$colorName}-contrast: #{$color-contrast};
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
@each $colorName in (lighter80, lighter60, lighter40, lighter20, default) {
|
|
78
|
-
$color: mat.get-color-from-palette(gio.$mat-cyan-palette, $colorName);
|
|
79
|
-
$color-contrast: mat.get-color-from-palette(gio.$mat-cyan-palette, #{$colorName}-contrast);
|
|
78
|
+
$color: mat.m2-get-color-from-palette(gio.$mat-cyan-palette, $colorName);
|
|
79
|
+
$color-contrast: mat.m2-get-color-from-palette(gio.$mat-cyan-palette, #{$colorName}-contrast);
|
|
80
80
|
|
|
81
81
|
--gp--cyan__#{$colorName}: #{$color};
|
|
82
82
|
--gp--cyan__#{$colorName}-contrast: #{$color-contrast};
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
@each $colorName in (lighter80, lighter60, lighter40, lighter20, default) {
|
|
86
|
-
$color: mat.get-color-from-palette(gio.$mat-blue-palette, $colorName);
|
|
87
|
-
$color-contrast: mat.get-color-from-palette(gio.$mat-blue-palette, #{$colorName}-contrast);
|
|
86
|
+
$color: mat.m2-get-color-from-palette(gio.$mat-blue-palette, $colorName);
|
|
87
|
+
$color-contrast: mat.m2-get-color-from-palette(gio.$mat-blue-palette, #{$colorName}-contrast);
|
|
88
88
|
|
|
89
89
|
--gp--blue__#{$colorName}: #{$color};
|
|
90
90
|
--gp--blue__#{$colorName}-contrast: #{$color-contrast};
|