@alfresco/aca-content 4.0.0-A.2-10404 → 4.0.0-A.2-10431

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": "@alfresco/aca-content",
3
- "version": "4.0.0-A.2-10404",
3
+ "version": "4.0.0-A.2-10431",
4
4
  "license": "LGPL-3.0",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^14.1.0",
@@ -15,10 +15,9 @@ $text-color: map-get($theme-config, 'textColor');
15
15
  $base-font-size: map-get($theme-config, 'baseFontSize');
16
16
  $font-family: map-get($theme-config, 'fontFamily');
17
17
 
18
- $alfresco-typography: get-mat-typography(
18
+ $app-typography: get-mat-typography(
19
19
  $base-font-size,
20
- $font-family,
21
- $alfresco-typography
20
+ $font-family
22
21
  );
23
22
 
24
23
  @include mat-core();
@@ -31,7 +30,7 @@ $custom-theme: mat-light-theme(
31
30
  accent: map-get($palettes, accent),
32
31
  warn: map-get($palettes, warning)
33
32
  ),
34
- typography: $alfresco-typography
33
+ typography: $app-typography
35
34
  )
36
35
  );
37
36
 
@@ -3,10 +3,25 @@
3
3
 
4
4
  @function get-mat-typography(
5
5
  $base-font-size,
6
- $font-family,
7
- $default-typography
6
+ $font-family
8
7
  ) {
9
- $custom-typography: $default-typography;
8
+ $custom-typography: mat.define-typography-config(
9
+ $font-family: 'Muli, Roboto, "Helvetica Neue", sans-serif',
10
+ $display-4: mat.define-typography-level(112px, 112px, 300),
11
+ $display-3: mat.define-typography-level(56px, 56px, 400),
12
+ $display-2: mat.define-typography-level(45px, 48px, 400),
13
+ $display-1: mat.define-typography-level(34px, 40px, 400),
14
+ $headline: mat.define-typography-level(24px, 32px, 400),
15
+ $title: mat.define-typography-level(20px, 32px, 500),
16
+ $subheading-2: mat.define-typography-level(16px, 28px, 400),
17
+ $subheading-1: mat.define-typography-level(15px, 24px, 400),
18
+ $body-2: mat.define-typography-level(14px, 24px, 500),
19
+ $body-1: mat.define-typography-level(14px, 20px, 400),
20
+ $caption: mat.define-typography-level(12px, 20px, 400),
21
+ $button: mat.define-typography-level(14px, 14px, 500),
22
+ // Line-height must be unit-less fraction of the font-size.
23
+ $input: mat.define-typography-level(16px, 1.25, 400)
24
+ );
10
25
 
11
26
  @if $base-font-size {
12
27
  $custom-typography: mat.define-typography-config(