@nextrap/style-typography 1.0.0 → 1.0.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 1.0.3 (2025-07-24)
2
+
3
+ This was a version bump only for style-typography to align it with other projects, there were no code changes.
4
+
5
+ ## 1.0.2 (2025-07-24)
6
+
7
+ This was a version bump only for style-typography to align it with other projects, there were no code changes.
8
+
9
+ ## 1.0.1 (2025-07-24)
10
+
11
+ This was a version bump only for style-typography to align it with other projects, there were no code changes.
12
+
1
13
  # 1.0.0 (2025-07-24)
2
14
 
3
15
  This was a version bump only for style-typography to align it with other projects, there were no code changes.
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # style-typography
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Building
6
+
7
+ Run `nx build style-typography` to build the library.
8
+
9
+ ## Running unit tests
10
+
11
+ Run `nx test style-typography` to execute the unit tests via [Vitest](https://vitest.dev/).
package/index.css ADDED
@@ -0,0 +1 @@
1
+ h1,.h1{font-size:var(--nt-fs-h1);font-family:var(--nt-font-family-header),sans-serif;line-height:var(--nt-line-height-header)}h2,.h2{font-size:var(--nt-fs-h2);font-family:var(--nt-font-family-header),sans-serif;line-height:var(--nt-line-height-header)}h3,.h3{font-size:var(--nt-fs-h3);font-family:var(--nt-font-family-header),sans-serif;line-height:var(--nt-line-height-header)}h4,.h4{font-size:var(--nt-fs-h4);font-family:var(--nt-font-family-header) sans-serif;line-height:var(--nt-line-height-header)}h5,.h5{font-size:var(--nt-fs-h5);font-family:var(--nt-font-family-header),sans-serif;line-height:var(--nt-line-height-header)}h6,.h6{font-size:var(--nt-fs-h6);font-family:var(--nt-font-family-header),sans-serif;line-height:var(--nt-line-height-header)}p,ul,ol,blockquote{--fs: var(--nt-fs-base);--font-family: var(--nt-font-family-base);--font-color: var(--nt-text)}body{font-family:var(--nt-font-family-base),sans-serif}p{font-size:var(--font-size-base);color:var(--font-color)}small{font-size:var(--nt-fs-small)}
package/index.js ADDED
@@ -0,0 +1 @@
1
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextrap/style-typography",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "main": "./index.js",
5
5
  "dependencies": {},
6
6
  "type": "module",
@@ -1,65 +0,0 @@
1
- h1,
2
- .h1 {
3
- font-size: var(--nt-fs-h1);
4
- font-family: var(--nt-font-family-header), sans-serif;
5
-
6
- line-height: var(--nt-line-height-header);
7
- }
8
- h2,
9
- .h2 {
10
- font-size: var(--nt-fs-h2);
11
- font-family: var(--nt-font-family-header), sans-serif;
12
-
13
- line-height: var(--nt-line-height-header);
14
- }
15
- h3,
16
- .h3 {
17
- font-size: var(--nt-fs-h3);
18
- font-family: var(--nt-font-family-header), sans-serif;
19
-
20
- line-height: var(--nt-line-height-header);
21
- }
22
- h4,
23
- .h4 {
24
- font-size: var(--nt-fs-h4);
25
- font-family: var(--nt-font-family-header) sans-serif;
26
- line-height: var(--nt-line-height-header);
27
- }
28
- h5,
29
- .h5 {
30
- font-size: var(--nt-fs-h5);
31
- font-family: var(--nt-font-family-header), sans-serif;
32
-
33
- line-height: var(--nt-line-height-header);
34
- }
35
- h6,
36
- .h6 {
37
- font-size: var(--nt-fs-h6);
38
- font-family: var(--nt-font-family-header), sans-serif;
39
- line-height: var(--nt-line-height-header);
40
- }
41
-
42
- // We set the default font size and family for all text elements - so we can modify them easily for all
43
- // child elements.
44
-
45
- p,
46
- ul,
47
- ol,
48
- blockquote {
49
- --fs: var(--nt-fs-base);
50
- --font-family: var(--nt-font-family-base);
51
- --font-color: var(--nt-text);
52
- }
53
-
54
- body {
55
- font-family: var(--nt-font-family-base), sans-serif;
56
- }
57
-
58
- p {
59
- font-size: var(--font-size-base);
60
- color: var(--font-color);
61
- }
62
-
63
- small {
64
- font-size: var(--nt-fs-small);
65
- }
File without changes