@agorapulse/ui-theme 14.0.1 → 15.0.0
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/agorapulse-ui-theme-15.0.0.tgz +0 -0
- package/assets/style/_font-face.scss +5 -0
- package/assets/style/_mat-typography.scss +2 -2
- package/assets/style/components-custom-style/_ng-select.scss +0 -1
- package/assets/style/theme.scss +2 -2
- package/package.json +2 -2
- package/agorapulse-ui-theme-14.0.1.tgz +0 -0
|
Binary file
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
font-weight: normal;
|
|
5
5
|
font-style: normal;
|
|
6
6
|
src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Regular.otf") format("opentype");
|
|
7
|
+
font-display: swap;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
// Import Averta Bold
|
|
@@ -11,6 +12,7 @@
|
|
|
11
12
|
font-family: "Averta";
|
|
12
13
|
src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Bold.otf") format("opentype");
|
|
13
14
|
font-weight: bold;
|
|
15
|
+
font-display: swap;
|
|
14
16
|
}
|
|
15
17
|
|
|
16
18
|
// Import Averta Semibold
|
|
@@ -18,6 +20,7 @@
|
|
|
18
20
|
font-family: "Averta";
|
|
19
21
|
src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Semibold.otf") format("opentype");
|
|
20
22
|
font-weight: 600;
|
|
23
|
+
font-display: swap;
|
|
21
24
|
}
|
|
22
25
|
|
|
23
26
|
/* Import Averta extra bold */
|
|
@@ -25,6 +28,7 @@
|
|
|
25
28
|
font-family: "Averta";
|
|
26
29
|
src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Extrabold.otf") format("opentype");
|
|
27
30
|
font-weight: 800;
|
|
31
|
+
font-display: swap;
|
|
28
32
|
}
|
|
29
33
|
|
|
30
34
|
// Import Averta Black
|
|
@@ -32,4 +36,5 @@
|
|
|
32
36
|
font-family: "Averta";
|
|
33
37
|
src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Black.otf") format("opentype");
|
|
34
38
|
font-weight: 900;
|
|
39
|
+
font-display: swap;
|
|
35
40
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
// Override typography for all Angular Material, including mat-base-typography and all components.
|
|
10
|
-
$custom-typography: mat.define-typography-config(
|
|
10
|
+
$custom-typography: mat.define-legacy-typography-config(
|
|
11
11
|
$font-family: $font-family,
|
|
12
12
|
$headline: mat.define-typography-level($font-size-h1, $font-line-height-h1, $font-weight-semibold),
|
|
13
13
|
$title: mat.define-typography-level($font-size-h2, $font-line-height-h2, $font-weight-semibold),
|
|
@@ -18,7 +18,7 @@ $custom-typography: mat.define-typography-config(
|
|
|
18
18
|
//$button: mat.define-typography-level(16px, 24px, 500),
|
|
19
19
|
//$input: mat.define-typography-level(16px, 24px, 500)
|
|
20
20
|
);
|
|
21
|
-
@include mat.all-component-typographies($custom-typography);
|
|
21
|
+
@include mat.all-legacy-component-typographies($custom-typography);
|
|
22
22
|
|
|
23
23
|
// Override base header tags (so that we don't have to add Material classes, e.g: class="mat-h1")
|
|
24
24
|
h1, h2, h3, h4 {
|
package/assets/style/theme.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://material.angular.io/guide/theming
|
|
4
4
|
*/
|
|
5
5
|
@use '@angular/material' as mat;
|
|
6
|
-
@include mat.core();
|
|
6
|
+
@include mat.legacy-core();
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
@import 'font-face';
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
@import 'variables';
|
|
12
12
|
|
|
13
13
|
// Custom palettes
|
|
14
|
-
@include mat.all-component-themes(mat.define-light-theme(
|
|
14
|
+
@include mat.all-legacy-component-themes(mat.define-light-theme(
|
|
15
15
|
$primary: mat.define-palette($colors-primary),
|
|
16
16
|
$accent: mat.define-palette($colors-accent),
|
|
17
17
|
$warn: mat.define-palette($colors-warn)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agorapulse/ui-theme",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0",
|
|
4
4
|
"description": "Agorapulse UI Theme Library",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://github.com/agorapulse/design#readme",
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@angular/material": "^
|
|
16
|
+
"@angular/material": "^15.1.0"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
Binary file
|