@21n/fonts 1.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/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # @21n/fonts
2
+
3
+ Twenty One Native font family for use in web applications.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @21n/fonts
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ Import the fonts in your application:
14
+
15
+ ```javascript
16
+ import '@21n/fonts';
17
+ ```
18
+
19
+ Then use the font family in your CSS:
20
+
21
+ ```css
22
+ body {
23
+ font-family: 'Twenty One Native', sans-serif;
24
+ }
25
+ ```
26
+
27
+ ## Font Weights
28
+
29
+ - **Light (300)**: TwentyOneNativeLight
30
+ - **Regular (400)**: TwentyOneNative
31
+ - **Medium (500)**: TwentyOneNativeMedium
32
+ - **Bold (700)**: TwentyOneNativeBold
33
+
34
+ All weights include italic variants.
Binary file
Binary file
Binary file
package/index.css ADDED
@@ -0,0 +1,63 @@
1
+ @font-face {
2
+ font-family: 'Twenty One Native';
3
+ src: url('./fonts/TwentyOneNativeLight.woff2') format('woff2');
4
+ font-weight: 300;
5
+ font-style: normal;
6
+ font-display: swap;
7
+ }
8
+
9
+ @font-face {
10
+ font-family: 'Twenty One Native';
11
+ src: url('./fonts/TwentyOneNativeLightItalic.woff2') format('woff2');
12
+ font-weight: 300;
13
+ font-style: italic;
14
+ font-display: swap;
15
+ }
16
+
17
+ @font-face {
18
+ font-family: 'Twenty One Native';
19
+ src: url('./fonts/TwentyOneNative.woff2') format('woff2');
20
+ font-weight: 400;
21
+ font-style: normal;
22
+ font-display: swap;
23
+ }
24
+
25
+ @font-face {
26
+ font-family: 'Twenty One Native';
27
+ src: url('./fonts/TwentyOneNativeItalic.woff2') format('woff2');
28
+ font-weight: 400;
29
+ font-style: italic;
30
+ font-display: swap;
31
+ }
32
+
33
+ @font-face {
34
+ font-family: 'Twenty One Native';
35
+ src: url('./fonts/TwentyOneNativeMedium.woff2') format('woff2');
36
+ font-weight: 500;
37
+ font-style: normal;
38
+ font-display: swap;
39
+ }
40
+
41
+ @font-face {
42
+ font-family: 'Twenty One Native';
43
+ src: url('./fonts/TwentyOneNativeMediumItalic.woff2') format('woff2');
44
+ font-weight: 500;
45
+ font-style: italic;
46
+ font-display: swap;
47
+ }
48
+
49
+ @font-face {
50
+ font-family: 'Twenty One Native';
51
+ src: url('./fonts/TwentyOneNativeBold.woff2') format('woff2');
52
+ font-weight: 700;
53
+ font-style: normal;
54
+ font-display: swap;
55
+ }
56
+
57
+ @font-face {
58
+ font-family: 'Twenty One Native';
59
+ src: url('./fonts/TwentyOneNativeBoldItalic.woff2') format('woff2');
60
+ font-weight: 700;
61
+ font-style: italic;
62
+ font-display: swap;
63
+ }
package/index.js ADDED
@@ -0,0 +1 @@
1
+ import './index.css';
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@21n/fonts",
3
+ "version": "1.0.0",
4
+ "description": "Twenty One Native font family",
5
+ "type": "module",
6
+ "main": "./index.js",
7
+ "files": [
8
+ "fonts",
9
+ "index.css",
10
+ "index.js"
11
+ ],
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "keywords": [],
16
+ "engines": {
17
+ "node": ">=18.0.0"
18
+ }
19
+ }