@gravitee/ui-particles-angular 7.55.0-angular15-b4fe3a8 → 7.55.0-angular15-9584c3d

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-particles-angular",
3
- "version": "7.55.0-angular15-b4fe3a8",
3
+ "version": "7.55.0-angular15-9584c3d",
4
4
  "description": "Gravitee.io - UI Particles Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  @use './mat-override' as override;
22
22
 
23
23
  // Config material theme with gio theme
24
- @mixin mat-theme() {
24
+ @mixin mat-theme($legacy: false) {
25
25
  // TODO(v15): As of v15 mat.legacy-core no longer includes default typography styles.
26
26
  // The following line adds:
27
27
  // 1. Default typography styles for all components
@@ -49,7 +49,11 @@
49
49
  @include mat.all-legacy-component-themes(legacy-theme-variable.$mat-legacy-theme);
50
50
  @include mat.all-component-themes(theme-variable.$mat-theme);
51
51
 
52
- @include mat.typography-hierarchy(theme-variable.$mat-typography);
52
+ @if $legacy {
53
+ @include mat.legacy-typography-hierarchy(legacy-theme-variable.$mat-legacy-typography);
54
+ } @else {
55
+ @include mat.typography-hierarchy(theme-variable.$mat-typography);
56
+ }
53
57
 
54
58
  // Gio overrides
55
59
  @include override.mat-h5;