@rxap/plugin-angular 16.1.0-dev.41 → 16.1.0-dev.43

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 (21) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/package.json +2 -2
  3. package/src/generators/init-application/files/styles/_fonts.scss +9 -1
  4. package/src/generators/init-application/files/styles/_theme.scss +1 -1
  5. package/src/generators/init-application/files/styles/_utilities.scss +3 -24
  6. package/src/generators/init-application/files/styles/_variables.scss +14 -0
  7. package/src/generators/init-application/files/styles/fonts/_croissant-one.scss +7 -0
  8. package/src/generators/init-application/files/styles/fonts/_fuggles.scss +7 -0
  9. package/src/generators/init-application/files/styles/fonts/_inclusive-sans.scss +7 -0
  10. package/src/generators/init-application/files/styles/fonts/_mooli.scss +7 -0
  11. package/src/generators/init-application/files/styles/fonts/_pixelify-sans.scss +7 -0
  12. package/src/generators/init-application/files/styles/fonts/_roboto-mono.scss +7 -0
  13. package/src/generators/init-application/files/styles/fonts/_roboto.scss +95 -0
  14. package/src/generators/init-application/files/styles/fonts/_young-serif.scss +7 -0
  15. package/src/generators/init-application/files/styles/fonts/croissant-one.ttf +0 -0
  16. package/src/generators/init-application/files/styles/fonts/fuggles.ttf +0 -0
  17. package/src/generators/init-application/files/styles/fonts/inclusive-sans.ttf +0 -0
  18. package/src/generators/init-application/files/styles/fonts/molli.ttf +0 -0
  19. package/src/generators/init-application/files/styles/fonts/pixelify-sans.ttf +0 -0
  20. package/src/generators/init-application/files/styles/fonts/roboto-mono.ttf +0 -0
  21. package/src/generators/init-application/files/styles/fonts/young-serif.ttf +0 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [16.1.0-dev.43](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.42...@rxap/plugin-angular@16.1.0-dev.43) (2023-09-28)
7
+
8
+ ### Bug Fixes
9
+
10
+ - resolve font import issues ([1800e50](https://gitlab.com/rxap/packages/commit/1800e50b1abed5403ffc3c0f75e3ba282b2730c7))
11
+
12
+ # [16.1.0-dev.42](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.41...@rxap/plugin-angular@16.1.0-dev.42) (2023-09-28)
13
+
14
+ ### Bug Fixes
15
+
16
+ - improve dynamic theme handling ([7ffd28b](https://gitlab.com/rxap/packages/commit/7ffd28b0a6d86cd6690cac1d750bda104108fb74))
17
+
6
18
  # [16.1.0-dev.41](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.40...@rxap/plugin-angular@16.1.0-dev.41) (2023-09-28)
7
19
 
8
20
  ### Features
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "16.1.0-dev.41",
2
+ "version": "16.1.0-dev.43",
3
3
  "name": "@rxap/plugin-angular",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "dependencies": {
@@ -94,7 +94,7 @@
94
94
  },
95
95
  "schematics": "./generators.json",
96
96
  "type": "commonjs",
97
- "gitHead": "59ccd7cb7c25002337d832609de637b59b3e545f",
97
+ "gitHead": "1db7f87d51336493cde95a6458d0bf4ea1566725",
98
98
  "main": "./src/index.js",
99
99
  "types": "./src/index.d.ts"
100
100
  }
@@ -1 +1,9 @@
1
- @use "fonts/material-icons";
1
+ @import "fonts/material-icons";
2
+ @import "fonts/croissant-one";
3
+ @import "fonts/inclusive-sans";
4
+ @import "fonts/pixelify-sans";
5
+ @import "fonts/roboto-mono";
6
+ @import "fonts/young-serif";
7
+ @import "fonts/roboto";
8
+ @import "fonts/mooli";
9
+ @import "fonts/fuggles";
@@ -1,8 +1,8 @@
1
1
  @use "variables";
2
- @use "fonts";
3
2
  @use '@angular/material' as mat;
4
3
  @use 'palette' as palette;
5
4
 
5
+ @import "fonts";
6
6
  @import 'utilities';
7
7
 
8
8
  @tailwind base;
@@ -35,6 +35,9 @@
35
35
  accent: mat.$cyan-palette,
36
36
  warn: mat.$red-palette
37
37
  ),
38
+ typography: mat.define-typography-config(
39
+ $font-family: var(--font-family)
40
+ ),
38
41
  ));
39
42
  @include mat.core-theme($theme);
40
43
  @include density($theme);
@@ -54,30 +57,6 @@
54
57
  )));
55
58
  --density: #{$i};
56
59
  }
57
- &.typography-mono {
58
- @include typography(mat.define-light-theme((
59
- typography: mat.define-typography-config(
60
- $font-family: theme("fontFamily.mono")
61
- ),
62
- )));
63
- --typography: mono;
64
- }
65
- &.typography-serif {
66
- @include typography(mat.define-light-theme((
67
- typography: mat.define-typography-config(
68
- $font-family: theme("fontFamily.serif")
69
- ),
70
- )));
71
- --typography: serif;
72
- }
73
- &.typography-sans {
74
- @include typography(mat.define-light-theme((
75
- typography: mat.define-typography-config(
76
- $font-family: theme("fontFamily.sans")
77
- ),
78
- )));
79
- --typography: sans;
80
- }
81
60
  }
82
61
  }
83
62
 
@@ -59,5 +59,19 @@
59
59
  --contrast-a400: rgba(black, 0.87);
60
60
  --contrast-a700: rgba(black, 0.87);
61
61
 
62
+ --font-family-sans: 'ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', '"Noto Sans"', 'sans-serif', '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"', '"Noto Color Emoji"';
63
+ --font-family-serif: 'ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif';
64
+ --font-family-mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', '"Liberation Mono"', '"Courier New"', 'monospace';
65
+ --font-family-default: 'Roboto', 'sans-serif';
66
+ --font-family-mooli: 'Mooli', 'sans-serif';
67
+ --font-family-inclusive-sans: 'Inclusive Sans', 'sans-serif';
68
+ --font-family-fuggles: 'Fuggles', 'sans-serif';
69
+ --font-family-pixelify-sans: 'Pixelify Sans', 'sans-serif';
70
+ --font-family-roboto-mono: 'Roboto Mono', 'sans-serif';
71
+ --font-family-croissant-one: 'Croissant One', 'sans-serif';
72
+ --font-family-young-serif: 'Young Serif', 'sans-serif';
73
+ --font-family: var(--font-family-default);
74
+ --density: 0;
75
+
62
76
  }
63
77
 
@@ -0,0 +1,7 @@
1
+ @font-face {
2
+ font-family: 'Croissant One';
3
+ font-style: normal;
4
+ font-weight: 400;
5
+ font-display: swap;
6
+ src: url(./croissant-one.ttf) format('truetype');
7
+ }
@@ -0,0 +1,7 @@
1
+ @font-face {
2
+ font-family: 'Fuggles';
3
+ font-style: normal;
4
+ font-weight: 400;
5
+ font-display: swap;
6
+ src: url(./fuggles.ttf) format('truetype');
7
+ }
@@ -0,0 +1,7 @@
1
+ @font-face {
2
+ font-family: 'Inclusive Sans';
3
+ font-style: normal;
4
+ font-weight: 400;
5
+ font-display: swap;
6
+ src: url(./inclusive-sans.ttf) format('truetype');
7
+ }
@@ -0,0 +1,7 @@
1
+ @font-face {
2
+ font-family: 'Mooli';
3
+ font-style: normal;
4
+ font-weight: 400;
5
+ font-display: swap;
6
+ src: url(./molli.ttf) format('truetype');
7
+ }
@@ -0,0 +1,7 @@
1
+ @font-face {
2
+ font-family: 'Pixelify Sans';
3
+ font-style: normal;
4
+ font-weight: 400;
5
+ font-display: swap;
6
+ src: url(./pixelify-sans.ttf) format('truetype');
7
+ }
@@ -0,0 +1,7 @@
1
+ @font-face {
2
+ font-family: 'Roboto Mono';
3
+ font-style: normal;
4
+ font-weight: 400;
5
+ font-display: swap;
6
+ src: url(./roboto-mono.ttf) format('truetype');
7
+ }
@@ -0,0 +1,95 @@
1
+ @font-face {
2
+ font-family: 'Roboto';
3
+ font-style: italic;
4
+ font-weight: 100;
5
+ font-display: swap;
6
+ src: url(https://fonts.gstatic.com/s/roboto/v30/KFOiCnqEu92Fr1Mu51QrIzc.ttf) format('truetype');
7
+ }
8
+
9
+ @font-face {
10
+ font-family: 'Roboto';
11
+ font-style: italic;
12
+ font-weight: 300;
13
+ font-display: swap;
14
+ src: url(https://fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TjARc9.ttf) format('truetype');
15
+ }
16
+
17
+ @font-face {
18
+ font-family: 'Roboto';
19
+ font-style: italic;
20
+ font-weight: 400;
21
+ font-display: swap;
22
+ src: url(https://fonts.gstatic.com/s/roboto/v30/KFOkCnqEu92Fr1Mu52xP.ttf) format('truetype');
23
+ }
24
+
25
+ @font-face {
26
+ font-family: 'Roboto';
27
+ font-style: italic;
28
+ font-weight: 500;
29
+ font-display: swap;
30
+ src: url(https://fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51S7ABc9.ttf) format('truetype');
31
+ }
32
+
33
+ @font-face {
34
+ font-family: 'Roboto';
35
+ font-style: italic;
36
+ font-weight: 700;
37
+ font-display: swap;
38
+ src: url(https://fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TzBhc9.ttf) format('truetype');
39
+ }
40
+
41
+ @font-face {
42
+ font-family: 'Roboto';
43
+ font-style: italic;
44
+ font-weight: 900;
45
+ font-display: swap;
46
+ src: url(https://fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TLBBc9.ttf) format('truetype');
47
+ }
48
+
49
+ @font-face {
50
+ font-family: 'Roboto';
51
+ font-style: normal;
52
+ font-weight: 100;
53
+ font-display: swap;
54
+ src: url(https://fonts.gstatic.com/s/roboto/v30/KFOkCnqEu92Fr1MmgWxP.ttf) format('truetype');
55
+ }
56
+
57
+ @font-face {
58
+ font-family: 'Roboto';
59
+ font-style: normal;
60
+ font-weight: 300;
61
+ font-display: swap;
62
+ src: url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5vAw.ttf) format('truetype');
63
+ }
64
+
65
+ @font-face {
66
+ font-family: 'Roboto';
67
+ font-style: normal;
68
+ font-weight: 400;
69
+ font-display: swap;
70
+ src: url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Me5Q.ttf) format('truetype');
71
+ }
72
+
73
+ @font-face {
74
+ font-family: 'Roboto';
75
+ font-style: normal;
76
+ font-weight: 500;
77
+ font-display: swap;
78
+ src: url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmEU9vAw.ttf) format('truetype');
79
+ }
80
+
81
+ @font-face {
82
+ font-family: 'Roboto';
83
+ font-style: normal;
84
+ font-weight: 700;
85
+ font-display: swap;
86
+ src: url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlvAw.ttf) format('truetype');
87
+ }
88
+
89
+ @font-face {
90
+ font-family: 'Roboto';
91
+ font-style: normal;
92
+ font-weight: 900;
93
+ font-display: swap;
94
+ src: url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmYUtvAw.ttf) format('truetype');
95
+ }
@@ -0,0 +1,7 @@
1
+ @font-face {
2
+ font-family: 'Young Serif';
3
+ font-style: normal;
4
+ font-weight: 400;
5
+ font-display: swap;
6
+ src: url(./young-serif.ttf) format('truetype');
7
+ }