@agorapulse/ui-theme 17.1.6 → 18.0.0-beta.2

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.
@@ -20,24 +20,24 @@
20
20
  */
21
21
 
22
22
  // Override typography for all Angular Material, including mat-base-typography and all components.
23
- $custom-typography: mat.define-typography-config(
23
+ $custom-typography: mat.m2-define-typography-config(
24
24
  $font-family: $font-family,
25
- $headline-1: mat.define-typography-level($font-size-h1, $font-line-height-h1, $font-weight-semibold),
26
- $headline-2: mat.define-typography-level($font-size-h2, $font-line-height-h2, $font-weight-semibold),
27
- $body-1: mat.define-typography-level($font-size, $font-line-height, $font-weight),
28
- $body-2: mat.define-typography-level($font-size, $font-line-height, $font-weight),
29
- $caption: mat.define-typography-level($font-size-s, $font-line-height-s, $font-weight),
25
+ $headline-1: mat.m2-define-typography-level($font-size-h1, $font-line-height-h1, $font-weight-semibold),
26
+ $headline-2: mat.m2-define-typography-level($font-size-h2, $font-line-height-h2, $font-weight-semibold),
27
+ $body-1: mat.m2-define-typography-level($font-size, $font-line-height, $font-weight),
28
+ $body-2: mat.m2-define-typography-level($font-size, $font-line-height, $font-weight),
29
+ $caption: mat.m2-define-typography-level($font-size-s, $font-line-height-s, $font-weight),
30
30
  );
31
31
  @include mat.all-component-typographies($custom-typography);
32
32
 
33
33
  // https://material.angular.io/guide/theming#defining-a-theme
34
- $primary: mat.define-palette($colors-primary);
35
- $accent: mat.define-palette($colors-accent);
36
- $warn: mat.define-palette($colors-warn);
34
+ $primary: mat.m2-define-palette($colors-primary);
35
+ $accent: mat.m2-define-palette($colors-accent);
36
+ $warn: mat.m2-define-palette($colors-warn);
37
37
 
38
38
  // Custom palettes
39
39
  @include mat.all-component-themes(
40
- mat.define-light-theme(
40
+ mat.m2-define-light-theme(
41
41
  (
42
42
  color: (
43
43
  primary: $primary,
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
- "name": "@agorapulse/ui-theme",
3
- "version": "17.1.6",
4
- "description": "Agorapulse UI Theme Library",
5
- "repository": {
6
- "type": "git",
7
- "url": "https://github.com/agorapulse/design.git"
8
- },
9
- "author": "Arnaud BUSO",
10
- "license": "ISC",
11
- "bugs": {
12
- "url": "https://github.com/agorapulse/design/issues"
13
- },
14
- "scripts": {
15
- "generate-tokens": "cd src && node build.js && cd ../assets && git add mobile_variables.css && git add desktop_variables.css"
16
- },
17
- "homepage": "https://github.com/agorapulse/design#readme",
18
- "peerDependencies": {
19
- "@angular/material": "^17.3.0"
20
- },
21
- "devDependencies": {
22
- "style-dictionary": "^3.7.2"
23
- }
2
+ "name": "@agorapulse/ui-theme",
3
+ "version": "18.0.0-beta.2",
4
+ "description": "Agorapulse UI Theme Library",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/agorapulse/design.git"
8
+ },
9
+ "author": "Arnaud BUSO",
10
+ "license": "ISC",
11
+ "bugs": {
12
+ "url": "https://github.com/agorapulse/design/issues"
13
+ },
14
+ "scripts": {
15
+ "generate-tokens": "cd src && node build.js && cd ../assets && git add mobile_variables.css && git add desktop_variables.css"
16
+ },
17
+ "homepage": "https://github.com/agorapulse/design#readme",
18
+ "peerDependencies": {
19
+ "@angular/material": "18.2.9"
20
+ },
21
+ "devDependencies": {
22
+ "style-dictionary": "^3.7.2"
23
+ }
24
24
  }
Binary file