@gravitee/ui-particles-angular 8.0.0-angular15-be0770c → 8.0.0-renovate-all-devdependencies-minor-patch-66ac70b

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 (192) hide show
  1. package/README.md +1 -1
  2. package/esm2020/lib/gio-asciidoctor/gio-asciidoctor.component.mjs +5 -5
  3. package/esm2020/lib/gio-asciidoctor/gio-asciidoctor.module.mjs +5 -5
  4. package/esm2020/lib/gio-asciidoctor/gio-asciidoctor.service.mjs +4 -4
  5. package/esm2020/lib/gio-avatar/gio-avatar.component.mjs +7 -7
  6. package/esm2020/lib/gio-avatar/gio-avatar.module.mjs +5 -5
  7. package/esm2020/lib/gio-banner/gio-banner.component.mjs +27 -27
  8. package/esm2020/lib/gio-banner/gio-banner.module.mjs +5 -5
  9. package/esm2020/lib/gio-breadcrumb/gio-breadcrumb-item.directive.mjs +4 -4
  10. package/esm2020/lib/gio-breadcrumb/gio-breadcrumb.component.mjs +4 -4
  11. package/esm2020/lib/gio-breadcrumb/gio-breadcrumb.module.mjs +5 -5
  12. package/esm2020/lib/gio-clipboard/gio-clipboard-copy-icon.component.mjs +6 -6
  13. package/esm2020/lib/gio-clipboard/gio-clipboard-copy-wrapper.component.mjs +4 -4
  14. package/esm2020/lib/gio-clipboard/gio-clipboard.base.component.mjs +4 -4
  15. package/esm2020/lib/gio-clipboard/gio-clipboard.module.mjs +5 -5
  16. package/esm2020/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.component.mjs +13 -12
  17. package/esm2020/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.module.mjs +5 -5
  18. package/esm2020/lib/gio-confirm-dialog/gio-confirm-dialog.component.mjs +4 -4
  19. package/esm2020/lib/gio-confirm-dialog/gio-confirm-dialog.module.mjs +5 -5
  20. package/esm2020/lib/gio-form-cron/gio-form-cron-hint.component.mjs +4 -4
  21. package/esm2020/lib/gio-form-cron/gio-form-cron-label.component.mjs +4 -4
  22. package/esm2020/lib/gio-form-cron/gio-form-cron.component.mjs +6 -6
  23. package/esm2020/lib/gio-form-cron/gio-form-cron.module.mjs +5 -5
  24. package/esm2020/lib/gio-form-file-picker/gio-form-file-picker-add-button/gio-form-file-picker-add-button.component.mjs +5 -5
  25. package/esm2020/lib/gio-form-file-picker/gio-form-file-picker-empty/gio-form-file-picker-empty.component.mjs +4 -4
  26. package/esm2020/lib/gio-form-file-picker/gio-form-file-picker-label/gio-form-file-picker-label.component.mjs +4 -4
  27. package/esm2020/lib/gio-form-file-picker/gio-form-file-picker.component.mjs +9 -9
  28. package/esm2020/lib/gio-form-file-picker/gio-form-file-picker.module.mjs +5 -5
  29. package/esm2020/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid-ignore.directive.mjs +4 -4
  30. package/esm2020/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.directive.mjs +10 -10
  31. package/esm2020/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.module.mjs +5 -5
  32. package/esm2020/lib/gio-form-headers/gio-form-headers-label.component.mjs +4 -4
  33. package/esm2020/lib/gio-form-headers/gio-form-headers.component.mjs +8 -8
  34. package/esm2020/lib/gio-form-headers/gio-form-headers.harness.mjs +2 -2
  35. package/esm2020/lib/gio-form-headers/gio-form-headers.module.mjs +5 -5
  36. package/esm2020/lib/gio-form-json-schema/gio-form-json-schema.component.mjs +13 -13
  37. package/esm2020/lib/gio-form-json-schema/gio-form-json-schema.module.mjs +5 -5
  38. package/esm2020/lib/gio-form-json-schema/gio-formly-json-schema.service.mjs +4 -4
  39. package/esm2020/lib/gio-form-json-schema/type-component/array-type.component.mjs +6 -6
  40. package/esm2020/lib/gio-form-json-schema/type-component/code-editor-type.component.mjs +4 -4
  41. package/esm2020/lib/gio-form-json-schema/type-component/headers-type.component.mjs +6 -6
  42. package/esm2020/lib/gio-form-json-schema/type-component/multischema-type.component.mjs +6 -6
  43. package/esm2020/lib/gio-form-json-schema/type-component/null-type.component.mjs +4 -4
  44. package/esm2020/lib/gio-form-json-schema/type-component/object-type.component.mjs +6 -6
  45. package/esm2020/lib/gio-form-json-schema/type-component/toggle-type.component.mjs +4 -4
  46. package/esm2020/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.mjs +5 -5
  47. package/esm2020/lib/gio-form-json-schema/wrappers/gio-password-eye.component.mjs +9 -10
  48. package/esm2020/lib/gio-form-slide-toggle/gio-form-label.directive.mjs +10 -10
  49. package/esm2020/lib/gio-form-slide-toggle/gio-form-slide-toggle.component.mjs +5 -5
  50. package/esm2020/lib/gio-form-slide-toggle/gio-form-slide-toggle.module.mjs +5 -5
  51. package/esm2020/lib/gio-form-tags-input/gio-form-tags-input.component.mjs +61 -61
  52. package/esm2020/lib/gio-form-tags-input/gio-form-tags-input.harness.mjs +11 -14
  53. package/esm2020/lib/gio-form-tags-input/gio-form-tags-input.module.mjs +5 -5
  54. package/esm2020/lib/gio-icons/gio-icons.module.mjs +5 -5
  55. package/esm2020/lib/gio-license/gio-license-dialog/gio-license-dialog.component.mjs +5 -5
  56. package/esm2020/lib/gio-license/gio-license-dialog/gio-license-dialog.module.mjs +5 -5
  57. package/esm2020/lib/gio-license/gio-license.directive.mjs +4 -4
  58. package/esm2020/lib/gio-license/gio-license.module.mjs +5 -5
  59. package/esm2020/lib/gio-license/gio-license.service.mjs +4 -4
  60. package/esm2020/lib/gio-license/gio-license.testing.module.mjs +5 -5
  61. package/esm2020/lib/gio-license-expiration-notification/gio-license-expiration-notification.component.mjs +5 -5
  62. package/esm2020/lib/gio-license-expiration-notification/gio-license-expiration-notification.module.mjs +5 -5
  63. package/esm2020/lib/gio-loader/gio-loader.component.mjs +4 -4
  64. package/esm2020/lib/gio-loader/gio-loader.module.mjs +5 -5
  65. package/esm2020/lib/gio-mat-config/gio-mat-config.module.mjs +6 -13
  66. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor-form-field.directive.mjs +24 -24
  67. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.component.mjs +4 -4
  68. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.module.mjs +5 -5
  69. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.testing.component.mjs +4 -4
  70. package/esm2020/lib/gio-monaco-editor/services/gio-language-json.service.mjs +4 -4
  71. package/esm2020/lib/gio-monaco-editor/services/gio-monaco-editor.service.mjs +4 -4
  72. package/esm2020/lib/gio-pipe/gio.pipe.module.mjs +5 -5
  73. package/esm2020/lib/gio-pipe/safe.pipe.mjs +4 -4
  74. package/esm2020/lib/gio-prismjs/gio-prismjs.service.mjs +4 -4
  75. package/esm2020/lib/gio-radio-button/gio-radio-button-content.component.mjs +10 -10
  76. package/esm2020/lib/gio-radio-button/gio-radio-button.module.mjs +5 -5
  77. package/esm2020/lib/gio-save-bar/gio-save-bar.component.mjs +5 -5
  78. package/esm2020/lib/gio-save-bar/gio-save-bar.module.mjs +5 -5
  79. package/esm2020/lib/oem-theme/gio-menu/gio-menu-footer/gio-menu-footer.component.mjs +4 -4
  80. package/esm2020/lib/oem-theme/gio-menu/gio-menu-header/gio-menu-header.component.mjs +4 -4
  81. package/esm2020/lib/oem-theme/gio-menu/gio-menu-item/gio-menu-item.component.mjs +4 -4
  82. package/esm2020/lib/oem-theme/gio-menu/gio-menu-license-expiration-notification/gio-menu-license-expiration-notification.component.mjs +4 -4
  83. package/esm2020/lib/oem-theme/gio-menu/gio-menu-list/gio-menu-list.component.mjs +4 -4
  84. package/esm2020/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.component.mjs +8 -7
  85. package/esm2020/lib/oem-theme/gio-menu/gio-menu.component.mjs +4 -4
  86. package/esm2020/lib/oem-theme/gio-menu/gio-menu.module.mjs +5 -5
  87. package/esm2020/lib/oem-theme/gio-menu/gio-menu.service.mjs +4 -4
  88. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu-group/gio-submenu-group.component.mjs +4 -4
  89. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu-item/gio-submenu-item.component.mjs +4 -4
  90. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu.component.mjs +7 -7
  91. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu.module.mjs +5 -5
  92. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-content/gio-top-bar-content.component.mjs +5 -5
  93. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.component.mjs +5 -5
  94. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.module.mjs +5 -5
  95. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.component.mjs +4 -4
  96. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.module.mjs +5 -5
  97. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar.component.mjs +5 -5
  98. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar.module.mjs +5 -5
  99. package/esm2020/lib/oem-theme/oem-theme.service.mjs +2 -2
  100. package/fesm2015/gravitee-ui-particles-angular-testing.mjs.map +1 -1
  101. package/fesm2015/gravitee-ui-particles-angular.mjs +529 -544
  102. package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
  103. package/fesm2020/gravitee-ui-particles-angular-testing.mjs.map +1 -1
  104. package/fesm2020/gravitee-ui-particles-angular.mjs +529 -544
  105. package/fesm2020/gravitee-ui-particles-angular.mjs.map +1 -1
  106. package/lib/gio-asciidoctor/gio-asciidoctor.component.d.ts +1 -1
  107. package/lib/gio-asciidoctor/gio-asciidoctor.service.d.ts +1 -1
  108. package/lib/gio-avatar/gio-avatar.component.d.ts +1 -1
  109. package/lib/gio-banner/gio-banner.component.d.ts +8 -8
  110. package/lib/gio-breadcrumb/gio-breadcrumb-item.directive.d.ts +1 -1
  111. package/lib/gio-breadcrumb/gio-breadcrumb.component.d.ts +1 -1
  112. package/lib/gio-clipboard/gio-clipboard-copy-icon.component.d.ts +1 -1
  113. package/lib/gio-clipboard/gio-clipboard-copy-wrapper.component.d.ts +1 -1
  114. package/lib/gio-clipboard/gio-clipboard.base.component.d.ts +1 -1
  115. package/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.component.d.ts +5 -3
  116. package/lib/gio-confirm-dialog/gio-confirm-dialog.component.d.ts +2 -2
  117. package/lib/gio-form-cron/gio-form-cron-hint.component.d.ts +1 -1
  118. package/lib/gio-form-cron/gio-form-cron-label.component.d.ts +1 -1
  119. package/lib/gio-form-cron/gio-form-cron.adapter.d.ts +1 -1
  120. package/lib/gio-form-cron/gio-form-cron.component.d.ts +1 -1
  121. package/lib/gio-form-cron/gio-form-cron.harness.d.ts +1 -1
  122. package/lib/gio-form-file-picker/gio-form-file-picker-add-button/gio-form-file-picker-add-button.component.d.ts +1 -1
  123. package/lib/gio-form-file-picker/gio-form-file-picker-empty/gio-form-file-picker-empty.component.d.ts +1 -1
  124. package/lib/gio-form-file-picker/gio-form-file-picker-label/gio-form-file-picker-label.component.d.ts +1 -1
  125. package/lib/gio-form-file-picker/gio-form-file-picker.component.d.ts +2 -2
  126. package/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid-ignore.directive.d.ts +1 -1
  127. package/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.directive.d.ts +3 -3
  128. package/lib/gio-form-headers/gio-form-headers-label.component.d.ts +1 -1
  129. package/lib/gio-form-headers/gio-form-headers.component.d.ts +3 -3
  130. package/lib/gio-form-json-schema/gio-form-json-schema.component.d.ts +1 -1
  131. package/lib/gio-form-json-schema/model/GioJsonSchema.d.ts +3 -3
  132. package/lib/gio-form-json-schema/type-component/array-type.component.d.ts +1 -1
  133. package/lib/gio-form-json-schema/type-component/code-editor-type.component.d.ts +3 -3
  134. package/lib/gio-form-json-schema/type-component/headers-type.component.d.ts +2 -2
  135. package/lib/gio-form-json-schema/type-component/multischema-type.component.d.ts +1 -1
  136. package/lib/gio-form-json-schema/type-component/null-type.component.d.ts +1 -1
  137. package/lib/gio-form-json-schema/type-component/object-type.component.d.ts +1 -1
  138. package/lib/gio-form-json-schema/type-component/toggle-type.component.d.ts +2 -2
  139. package/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.d.ts +1 -1
  140. package/lib/gio-form-json-schema/wrappers/gio-password-eye.component.d.ts +1 -1
  141. package/lib/gio-form-slide-toggle/gio-form-label.directive.d.ts +3 -3
  142. package/lib/gio-form-slide-toggle/gio-form-slide-toggle.component.d.ts +2 -2
  143. package/lib/gio-form-tags-input/gio-form-tags-input.component.d.ts +4 -4
  144. package/lib/gio-form-tags-input/gio-form-tags-input.harness.d.ts +3 -3
  145. package/lib/gio-license/gio-license-dialog/gio-license-dialog.component.d.ts +2 -2
  146. package/lib/gio-license/gio-license.directive.d.ts +1 -1
  147. package/lib/gio-license/gio-license.service.d.ts +1 -1
  148. package/lib/gio-license-expiration-notification/gio-license-expiration-notification.component.d.ts +1 -1
  149. package/lib/gio-loader/gio-loader.component.d.ts +1 -1
  150. package/lib/gio-monaco-editor/gio-monaco-editor-form-field.directive.d.ts +1 -1
  151. package/lib/gio-monaco-editor/gio-monaco-editor.component.d.ts +2 -2
  152. package/lib/gio-monaco-editor/gio-monaco-editor.harness.d.ts +1 -1
  153. package/lib/gio-monaco-editor/gio-monaco-editor.testing.component.d.ts +1 -1
  154. package/lib/gio-monaco-editor/models/GioMonacoEditorConfig.d.ts +1 -1
  155. package/lib/gio-monaco-editor/models/MonacoEditorTheme.d.ts +1 -1
  156. package/lib/gio-radio-button/gio-radio-button-content.component.d.ts +3 -3
  157. package/lib/gio-save-bar/gio-save-bar.component.d.ts +1 -1
  158. package/lib/oem-theme/gio-menu/gio-menu-footer/gio-menu-footer.component.d.ts +1 -1
  159. package/lib/oem-theme/gio-menu/gio-menu-header/gio-menu-header.component.d.ts +1 -1
  160. package/lib/oem-theme/gio-menu/gio-menu-item/gio-menu-item.component.d.ts +1 -1
  161. package/lib/oem-theme/gio-menu/gio-menu-license-expiration-notification/gio-menu-license-expiration-notification.component.d.ts +1 -1
  162. package/lib/oem-theme/gio-menu/gio-menu-list/gio-menu-list.component.d.ts +1 -1
  163. package/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.component.d.ts +2 -2
  164. package/lib/oem-theme/gio-menu/gio-menu.component.d.ts +1 -1
  165. package/lib/oem-theme/gio-submenu/gio-submenu-group/gio-submenu-group.component.d.ts +1 -1
  166. package/lib/oem-theme/gio-submenu/gio-submenu-item/gio-submenu-item.component.d.ts +1 -1
  167. package/lib/oem-theme/gio-submenu/gio-submenu.component.d.ts +3 -3
  168. package/lib/oem-theme/gio-top-bar/gio-top-bar-content/gio-top-bar-content.component.d.ts +2 -2
  169. package/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.component.d.ts +1 -1
  170. package/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.component.d.ts +1 -1
  171. package/lib/oem-theme/gio-top-bar/gio-top-bar.component.d.ts +2 -2
  172. package/lib/oem-theme/oem-theme.service.d.ts +1 -1
  173. package/package.json +11 -11
  174. package/src/lib/gio-button-toggle-group/gio-button-toggle-group.scss +1 -1
  175. package/src/lib/gio-radio-button/gio-radio-button.scss +2 -23
  176. package/src/lib/gio-table-light/gio-table-light.scss +2 -2
  177. package/src/scss/gio-mat-theme-variable.scss +11 -12
  178. package/src/scss/gio-mat-theme.scss +2 -35
  179. package/src/scss/index.scss +0 -1
  180. package/src/scss/mat-override/mat-button.scss +0 -13
  181. package/src/scss/mat-override/mat-card.scss +0 -6
  182. package/src/scss/mat-override/mat-form-field.scss +0 -11
  183. package/src/scss/mat-override/mat-list.scss +0 -13
  184. package/src/scss/mat-override/mat-option.scss +2 -10
  185. package/src/scss/mat-override/mat-table.scss +0 -8
  186. package/src/scss/mat-override/mat-tabs.scss +0 -1
  187. package/testing/harnesses/div.harness.d.ts +1 -1
  188. package/testing/harnesses/span.harness.d.ts +1 -1
  189. package/testing/package.json +10 -0
  190. package/src/scss/gio-mat-legacy-theme-variable.scss +0 -100
  191. /package/{index.d.ts → gravitee-ui-particles-angular.d.ts} +0 -0
  192. /package/testing/{index.d.ts → gravitee-ui-particles-angular-testing.d.ts} +0 -0
@@ -16,21 +16,13 @@
16
16
 
17
17
  @use '@angular/material' as mat;
18
18
 
19
- @use '../gio-mat-legacy-theme-variable' as theme-legacy;
20
19
  @use '../gio-mat-theme-variable' as theme;
21
20
 
22
21
  @mixin mat-option() {
23
- // Legacy mat-option
24
22
  .mat-option,
25
23
  .mat-typography .mat-option {
26
24
  height: 40px;
27
- font-size: mat.font-size(theme-legacy.$mat-legacy-typography, input);
28
- line-height: mat.line-height(theme-legacy.$mat-legacy-typography, input);
29
- }
30
-
31
- // MDC mat-option
32
- .mat-typography .mat-mdc-option {
33
- min-height: 40px;
34
- @include mat.typography-level(theme.$mat-typography, 'body-2');
25
+ font-size: mat.font-size(theme.$mat-typography, input);
26
+ line-height: mat.line-height(theme.$mat-typography, input);
35
27
  }
36
28
  }
@@ -21,7 +21,6 @@
21
21
  $background: map.get(theme.$mat-theme, background);
22
22
 
23
23
  @mixin mat-table() {
24
- // Legacy mat-table
25
24
  .mat-table {
26
25
  tbody tr:hover {
27
26
  background-color: mat.get-color-from-palette($background, hover);
@@ -50,11 +49,4 @@ $background: map.get(theme.$mat-theme, background);
50
49
  }
51
50
  }
52
51
  }
53
-
54
- // MDC mat-table
55
- .mat-mdc-table {
56
- tbody tr.mat-mdc-row:hover {
57
- background-color: mat.get-color-from-palette($background, hover);
58
- }
59
- }
60
52
  }
@@ -14,7 +14,6 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  @mixin mat-tabs() {
17
- // Legacy mat-tabs
18
17
  .mat-tab-group {
19
18
  .mat-tab-label {
20
19
  min-width: unset;
@@ -1,5 +1,5 @@
1
1
  import { AsyncFactoryFn, BaseHarnessFilters, ComponentHarness, HarnessPredicate, HarnessQuery } from '@angular/cdk/testing';
2
- export type DivHarnessFilters = BaseHarnessFilters & {
2
+ export declare type DivHarnessFilters = BaseHarnessFilters & {
3
3
  /** Filters based on the text */
4
4
  text?: string | RegExp;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { AsyncFactoryFn, BaseHarnessFilters, ComponentHarness, HarnessPredicate, HarnessQuery } from '@angular/cdk/testing';
2
- export type SpanHarnessFilters = BaseHarnessFilters & {
2
+ export declare type SpanHarnessFilters = BaseHarnessFilters & {
3
3
  /** Filters based on the text */
4
4
  text?: string | RegExp;
5
5
  };
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/gravitee-ui-particles-angular-testing.mjs",
3
+ "es2020": "../fesm2020/gravitee-ui-particles-angular-testing.mjs",
4
+ "esm2020": "../esm2020/testing/gravitee-ui-particles-angular-testing.mjs",
5
+ "fesm2020": "../fesm2020/gravitee-ui-particles-angular-testing.mjs",
6
+ "fesm2015": "../fesm2015/gravitee-ui-particles-angular-testing.mjs",
7
+ "typings": "gravitee-ui-particles-angular-testing.d.ts",
8
+ "sideEffects": false,
9
+ "name": "@gravitee/ui-particles-angular/testing"
10
+ }
@@ -1,100 +0,0 @@
1
- /*
2
- * Copyright (C) 2021 The Gravitee team (http://gravitee.io)
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- @use 'sass:map';
17
- @use '@angular/material' as mat;
18
-
19
- @use './gio-mat-palettes' as palettes;
20
-
21
- // Config mat Typography
22
- $mat-legacy-typography: mat.define-legacy-typography-config(
23
- $font-family: '"Golos UI", Roboto, "Helvetica Neue", sans-serif',
24
- $display-4: mat.define-typography-level(112px, 112px, 400, $letter-spacing: -0.05em),
25
- $display-3: mat.define-typography-level(56px, 56px, 400, $letter-spacing: -0.02em),
26
- $display-2: mat.define-typography-level(45px, 48px, 400, $letter-spacing: -0.005em),
27
- $display-1: mat.define-typography-level(60px, 66px, 600, $letter-spacing: -0.5px),
28
- $headline: mat.define-typography-level(42px, 52px, 600),
29
- $title: mat.define-typography-level(26px, 36px, 600),
30
- $subheading-2: mat.define-typography-level(18px, 24px, 600, $letter-spacing: 0.4px),
31
- $subheading-1: mat.define-typography-level(16px, 24px, 600, $letter-spacing: 0.4px),
32
- $body-2: mat.define-typography-level(14px, 20px, 600, $letter-spacing: 0.4px),
33
- $body-1: mat.define-typography-level(14px, 20px, 400, $letter-spacing: 0.4px),
34
- $caption: mat.define-typography-level(12px, 16px, 400),
35
- $button: mat.define-typography-level(14px, 14px, 500),
36
- $input: mat.define-typography-level(inherit, 1.125, 400),
37
- );
38
-
39
- // Mat default light theme
40
- $mat-theme-default: mat.define-light-theme(
41
- (
42
- color: (
43
- primary: palettes.$mat-primary-palette,
44
- accent: palettes.$mat-accent-palette,
45
- warn: palettes.$mat-error-palette,
46
- ),
47
- typography: $mat-legacy-typography,
48
- )
49
- );
50
-
51
- // Mat default dark theme
52
- $mat-legacy-theme-dark: mat.define-dark-theme(
53
- (
54
- color: (
55
- primary: palettes.$mat-primary-palette,
56
- accent: palettes.$mat-accent-palette,
57
- warn: palettes.$mat-error-palette,
58
- ),
59
- typography: $mat-legacy-typography,
60
- )
61
- );
62
-
63
- // Custom mat background & foreground color
64
- $mat-background: map.get($mat-theme-default, background);
65
- $mat-foreground: map.get($mat-theme-default, foreground);
66
-
67
- // Override $light-theme-background-palette config from node_modules/@angular/material/core/theming/_palette.scss
68
- $gio-background: map.merge(
69
- $mat-background,
70
- (
71
- background: mat.get-color-from-palette(palettes.$mat-dove-palette, default),
72
- tooltip: mat.get-color-from-palette(palettes.$mat-space-palette, default),
73
- )
74
- );
75
-
76
- // Override $light-theme-foreground-palette config from node_modules/@angular/material/core/theming/_palette.scss
77
- $gio-foreground: map.merge(
78
- $mat-foreground,
79
- (
80
- text: mat.get-color-from-palette(palettes.$mat-space-palette, default),
81
- slider-min: mat.get-color-from-palette(palettes.$mat-space-palette, default),
82
- )
83
- );
84
- $gio-background-foreground: (
85
- background: $gio-background,
86
- foreground: $gio-foreground,
87
- );
88
-
89
- // For backward compatibility with Material Design merge $gio-background-foreground into $mat-theme-default and into $mat-theme-default.color.
90
- // Otherwise the colors of bg and fg seton partially applied
91
- $mat-legacy-color: map.merge(map.get($mat-theme-default, color), $gio-background-foreground);
92
- $mat-legacy-theme: map.merge(
93
- $mat-theme-default,
94
- map.merge(
95
- $gio-background-foreground,
96
- (
97
- color: $mat-legacy-color,
98
- )
99
- )
100
- );