@obvia/fonts 0.0.2 → 0.0.4

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 (58) hide show
  1. package/dist/index.d.mts +7 -7
  2. package/dist/index.d.ts +7 -7
  3. package/package.json +1 -1
  4. package/changelog.md +0 -3
  5. package/src/fonts/obvia-mono/ObviaMono-Black.ttf +0 -0
  6. package/src/fonts/obvia-mono/ObviaMono-Black.woff2 +0 -0
  7. package/src/fonts/obvia-mono/ObviaMono-Bold.ttf +0 -0
  8. package/src/fonts/obvia-mono/ObviaMono-Bold.woff2 +0 -0
  9. package/src/fonts/obvia-mono/ObviaMono-Light.ttf +0 -0
  10. package/src/fonts/obvia-mono/ObviaMono-Light.woff2 +0 -0
  11. package/src/fonts/obvia-mono/ObviaMono-Medium.ttf +0 -0
  12. package/src/fonts/obvia-mono/ObviaMono-Medium.woff2 +0 -0
  13. package/src/fonts/obvia-mono/ObviaMono-Regular.ttf +0 -0
  14. package/src/fonts/obvia-mono/ObviaMono-Regular.woff2 +0 -0
  15. package/src/fonts/obvia-mono/ObviaMono-SemiBold.ttf +0 -0
  16. package/src/fonts/obvia-mono/ObviaMono-SemiBold.woff2 +0 -0
  17. package/src/fonts/obvia-mono/ObviaMono-Thin.ttf +0 -0
  18. package/src/fonts/obvia-mono/ObviaMono-Thin.woff2 +0 -0
  19. package/src/fonts/obvia-mono/ObviaMono-UltraBlack.ttf +0 -0
  20. package/src/fonts/obvia-mono/ObviaMono-UltraBlack.woff2 +0 -0
  21. package/src/fonts/obvia-mono/ObviaMono-UltraLight.ttf +0 -0
  22. package/src/fonts/obvia-mono/ObviaMono-UltraLight.woff2 +0 -0
  23. package/src/fonts/obvia-mono/ObviaMono-Variable.ttf +0 -0
  24. package/src/fonts/obvia-mono/ObviaMono-Variable.woff2 +0 -0
  25. package/src/fonts/obvia-pixel/ObviaPixel-Circle.ttf +0 -0
  26. package/src/fonts/obvia-pixel/ObviaPixel-Circle.woff2 +0 -0
  27. package/src/fonts/obvia-pixel/ObviaPixel-Grid.ttf +0 -0
  28. package/src/fonts/obvia-pixel/ObviaPixel-Grid.woff2 +0 -0
  29. package/src/fonts/obvia-pixel/ObviaPixel-Line.ttf +0 -0
  30. package/src/fonts/obvia-pixel/ObviaPixel-Line.woff2 +0 -0
  31. package/src/fonts/obvia-pixel/ObviaPixel-Square.ttf +0 -0
  32. package/src/fonts/obvia-pixel/ObviaPixel-Square.woff2 +0 -0
  33. package/src/fonts/obvia-pixel/ObviaPixel-Triangle.ttf +0 -0
  34. package/src/fonts/obvia-pixel/ObviaPixel-Triangle.woff2 +0 -0
  35. package/src/fonts/obvia-sans/Obvia-Black.ttf +0 -0
  36. package/src/fonts/obvia-sans/Obvia-Black.woff2 +0 -0
  37. package/src/fonts/obvia-sans/Obvia-Bold.ttf +0 -0
  38. package/src/fonts/obvia-sans/Obvia-Bold.woff2 +0 -0
  39. package/src/fonts/obvia-sans/Obvia-Italic.ttf +0 -0
  40. package/src/fonts/obvia-sans/Obvia-Light.ttf +0 -0
  41. package/src/fonts/obvia-sans/Obvia-Light.woff2 +0 -0
  42. package/src/fonts/obvia-sans/Obvia-Medium.ttf +0 -0
  43. package/src/fonts/obvia-sans/Obvia-Medium.woff2 +0 -0
  44. package/src/fonts/obvia-sans/Obvia-Regular.ttf +0 -0
  45. package/src/fonts/obvia-sans/Obvia-Regular.woff2 +0 -0
  46. package/src/fonts/obvia-sans/Obvia-SemiBold.ttf +0 -0
  47. package/src/fonts/obvia-sans/Obvia-SemiBold.woff2 +0 -0
  48. package/src/fonts/obvia-sans/Obvia-Thin.ttf +0 -0
  49. package/src/fonts/obvia-sans/Obvia-Thin.woff2 +0 -0
  50. package/src/fonts/obvia-sans/Obvia-UltraBlack.ttf +0 -0
  51. package/src/fonts/obvia-sans/Obvia-UltraBlack.woff2 +0 -0
  52. package/src/fonts/obvia-sans/Obvia-UltraLight.ttf +0 -0
  53. package/src/fonts/obvia-sans/Obvia-UltraLight.woff2 +0 -0
  54. package/src/fonts/obvia-sans/Obvia-Variable.ttf +0 -0
  55. package/src/fonts/obvia-sans/Obvia-Variable.woff2 +0 -0
  56. package/src/index.d.ts +0 -75
  57. package/src/index.ts +0 -178
  58. package/tsup.config.ts +0 -38
package/dist/index.d.mts CHANGED
@@ -15,7 +15,7 @@ declare module "@obvia/fonts" {
15
15
  * - `800` - Black
16
16
  * - `900` - Ultra Black
17
17
  */
18
- export const ObviaSans: NextFontWithVariable
18
+ export const obviaSans: NextFontWithVariable
19
19
 
20
20
  /**
21
21
  * **Obvia Mono** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
@@ -31,7 +31,7 @@ declare module "@obvia/fonts" {
31
31
  * - `800` - Black
32
32
  * - `900` - Ultra Black
33
33
  */
34
- export const ObviaMono: NextFontWithVariable
34
+ export const obviaMono: NextFontWithVariable
35
35
 
36
36
  /**
37
37
  * **Obvia Pixel Square** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
@@ -39,7 +39,7 @@ declare module "@obvia/fonts" {
39
39
  * **Weights**
40
40
  * - `500` - Medium
41
41
  */
42
- export const ObviaPixelSquare: NextFontWithVariable
42
+ export const obviaPixelSquare: NextFontWithVariable
43
43
 
44
44
  /**
45
45
  * **Obvia Pixel Grid** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
@@ -47,7 +47,7 @@ declare module "@obvia/fonts" {
47
47
  * **Weights**
48
48
  * - `500` - Medium
49
49
  */
50
- export const ObviaPixelGrid: NextFontWithVariable
50
+ export const obviaPixelGrid: NextFontWithVariable
51
51
 
52
52
  /**
53
53
  * **Obvia Pixel Circle** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
@@ -55,7 +55,7 @@ declare module "@obvia/fonts" {
55
55
  * **Weights**
56
56
  * - `500` - Medium
57
57
  */
58
- export const ObviaPixelCircle: NextFontWithVariable
58
+ export const obviaPixelCircle: NextFontWithVariable
59
59
 
60
60
  /**
61
61
  * **Obvia Pixel Triangle** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
@@ -63,7 +63,7 @@ declare module "@obvia/fonts" {
63
63
  * **Weights**
64
64
  * - `500` - Medium
65
65
  */
66
- export const ObviaPixelTriangle: NextFontWithVariable
66
+ export const obviaPixelTriangle: NextFontWithVariable
67
67
 
68
68
  /**
69
69
  * **Obvia Pixel Line** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
@@ -71,5 +71,5 @@ declare module "@obvia/fonts" {
71
71
  * **Weights**
72
72
  * - `500` - Medium
73
73
  */
74
- export const ObviaPixelLine: NextFontWithVariable
74
+ export const obviaPixelLine: NextFontWithVariable
75
75
  }
package/dist/index.d.ts CHANGED
@@ -15,7 +15,7 @@ declare module "@obvia/fonts" {
15
15
  * - `800` - Black
16
16
  * - `900` - Ultra Black
17
17
  */
18
- export const ObviaSans: NextFontWithVariable
18
+ export const obviaSans: NextFontWithVariable
19
19
 
20
20
  /**
21
21
  * **Obvia Mono** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
@@ -31,7 +31,7 @@ declare module "@obvia/fonts" {
31
31
  * - `800` - Black
32
32
  * - `900` - Ultra Black
33
33
  */
34
- export const ObviaMono: NextFontWithVariable
34
+ export const obviaMono: NextFontWithVariable
35
35
 
36
36
  /**
37
37
  * **Obvia Pixel Square** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
@@ -39,7 +39,7 @@ declare module "@obvia/fonts" {
39
39
  * **Weights**
40
40
  * - `500` - Medium
41
41
  */
42
- export const ObviaPixelSquare: NextFontWithVariable
42
+ export const obviaPixelSquare: NextFontWithVariable
43
43
 
44
44
  /**
45
45
  * **Obvia Pixel Grid** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
@@ -47,7 +47,7 @@ declare module "@obvia/fonts" {
47
47
  * **Weights**
48
48
  * - `500` - Medium
49
49
  */
50
- export const ObviaPixelGrid: NextFontWithVariable
50
+ export const obviaPixelGrid: NextFontWithVariable
51
51
 
52
52
  /**
53
53
  * **Obvia Pixel Circle** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
@@ -55,7 +55,7 @@ declare module "@obvia/fonts" {
55
55
  * **Weights**
56
56
  * - `500` - Medium
57
57
  */
58
- export const ObviaPixelCircle: NextFontWithVariable
58
+ export const obviaPixelCircle: NextFontWithVariable
59
59
 
60
60
  /**
61
61
  * **Obvia Pixel Triangle** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
@@ -63,7 +63,7 @@ declare module "@obvia/fonts" {
63
63
  * **Weights**
64
64
  * - `500` - Medium
65
65
  */
66
- export const ObviaPixelTriangle: NextFontWithVariable
66
+ export const obviaPixelTriangle: NextFontWithVariable
67
67
 
68
68
  /**
69
69
  * **Obvia Pixel Line** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
@@ -71,5 +71,5 @@ declare module "@obvia/fonts" {
71
71
  * **Weights**
72
72
  * - `500` - Medium
73
73
  */
74
- export const ObviaPixelLine: NextFontWithVariable
74
+ export const obviaPixelLine: NextFontWithVariable
75
75
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords" : ["obvia","obvia mono","obvia sans","obvia pixel","typeface","fonts","obvia fonts","webfont","open-type","true-type","typography"],
5
5
  "license" : "SIL OPEN FONT LICENSE",
6
6
  "homepage" : "https://obvia.studio/fonts",
7
- "version" : "0.0.2",
7
+ "version" : "0.0.4",
8
8
 
9
9
  "author" : {
10
10
  "name" : "Selçuk Çukur",
package/changelog.md DELETED
@@ -1,3 +0,0 @@
1
- # @obvia/fonts
2
-
3
- ## 0.0.0
Binary file
Binary file
package/src/index.d.ts DELETED
@@ -1,75 +0,0 @@
1
- import { NextFontWithVariable } from "next/dist/compiled/@next/font"
2
-
3
- declare module "@obvia/fonts" {
4
- /**
5
- * **Obvia Sans** font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
6
- *
7
- * **Weights**
8
- * - `100` - Thin
9
- * - `200` - Ultra Light
10
- * - `300` - Light
11
- * - `400` - Regular
12
- * - `500` - Medium
13
- * - `600` - Semibold
14
- * - `700` - Bold
15
- * - `800` - Black
16
- * - `900` - Ultra Black
17
- */
18
- export const ObviaSans: NextFontWithVariable
19
-
20
- /**
21
- * **Obvia Mono** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
22
- *
23
- * **Weights**
24
- * - `100` - Thin
25
- * - `200` - Ultra Light
26
- * - `300` - Light
27
- * - `400` - Regular
28
- * - `500` - Medium
29
- * - `600` - Semibold
30
- * - `700` - Bold
31
- * - `800` - Black
32
- * - `900` - Ultra Black
33
- */
34
- export const ObviaMono: NextFontWithVariable
35
-
36
- /**
37
- * **Obvia Pixel Square** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
38
- *
39
- * **Weights**
40
- * - `500` - Medium
41
- */
42
- export const ObviaPixelSquare: NextFontWithVariable
43
-
44
- /**
45
- * **Obvia Pixel Grid** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
46
- *
47
- * **Weights**
48
- * - `500` - Medium
49
- */
50
- export const ObviaPixelGrid: NextFontWithVariable
51
-
52
- /**
53
- * **Obvia Pixel Circle** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
54
- *
55
- * **Weights**
56
- * - `500` - Medium
57
- */
58
- export const ObviaPixelCircle: NextFontWithVariable
59
-
60
- /**
61
- * **Obvia Pixel Triangle** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
62
- *
63
- * **Weights**
64
- * - `500` - Medium
65
- */
66
- export const ObviaPixelTriangle: NextFontWithVariable
67
-
68
- /**
69
- * **Obvia Pixel Line** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
70
- *
71
- * **Weights**
72
- * - `500` - Medium
73
- */
74
- export const ObviaPixelLine: NextFontWithVariable
75
- }
package/src/index.ts DELETED
@@ -1,178 +0,0 @@
1
- import localFont from "next/font/local"
2
-
3
- /**
4
- * **Obvia Sans** font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
5
- *
6
- * **Weights**
7
- * - `100` - Thin
8
- * - `200` - Ultra Light
9
- * - `300` - Light
10
- * - `400` - Regular
11
- * - `500` - Medium
12
- * - `600` - Semibold
13
- * - `700` - Bold
14
- * - `800` - Black
15
- * - `900` - Ultra Black
16
- */
17
- export const obviaSans = localFont({
18
- src : "./fonts/obvia-sans/Obvia-Variable.woff2",
19
- variable : "--font-obvia-sans",
20
- weight : "100 900"
21
- })
22
-
23
- /**
24
- * **Obvia Mono** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
25
- *
26
- * **Weights**
27
- * - `100` - Thin
28
- * - `200` - Ultra Light
29
- * - `300` - Light
30
- * - `400` - Regular
31
- * - `500` - Medium
32
- * - `600` - Semibold
33
- * - `700` - Bold
34
- * - `800` - Black
35
- * - `900` - Ultra Black
36
- */
37
- export const obviaMono = localFont({
38
- src : "./fonts/obvia-mono/ObviaMono-Variable.woff2",
39
- variable : "--font-obvia-mono",
40
- weight : "100 900",
41
- fallback: [
42
- "ui-monospace",
43
- "SFMono-Regular",
44
- "Roboto Mono",
45
- "Menlo",
46
- "Monaco",
47
- "Liberation Mono",
48
- "DejaVu Sans Mono",
49
- "Courier New",
50
- "monospace",
51
- ],
52
- adjustFontFallback: false
53
- })
54
-
55
- /**
56
- * **Obvia Pixel Square** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
57
- *
58
- * **Weights**
59
- * - `500` - Medium
60
- */
61
- export const obviaPixelSquare = localFont({
62
- src : "./fonts/obvia-pixel/ObviaPixel-Square.woff2",
63
- variable : "--font-obvia-pixel-square",
64
- weight : "500",
65
- fallback : [
66
- "Obvia Mono",
67
- "ui-monospace",
68
- "SFMono-Regular",
69
- "Roboto Mono",
70
- "Menlo",
71
- "Monaco",
72
- "Liberation Mono",
73
- "DejaVu Sans Mono",
74
- "Courier New",
75
- "monospace",
76
- ],
77
- adjustFontFallback: false
78
- })
79
-
80
- /**
81
- * **Obvia Pixel Grid** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
82
- *
83
- * **Weights**
84
- * - `500` - Medium
85
- */
86
- export const obviaPixelGrid = localFont({
87
- src : "./fonts/obvia-pixel/ObviaPixel-Grid.woff2",
88
- variable : "--font-obvia-pixel-grid",
89
- weight : "500",
90
- fallback : [
91
- "Obvia Mono",
92
- "ui-monospace",
93
- "SFMono-Regular",
94
- "Roboto Mono",
95
- "Menlo",
96
- "Monaco",
97
- "Liberation Mono",
98
- "DejaVu Sans Mono",
99
- "Courier New",
100
- "monospace",
101
- ],
102
- adjustFontFallback: false
103
- })
104
-
105
- /**
106
- * **Obvia Pixel Circle** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
107
- *
108
- * **Weights**
109
- * - `500` - Medium
110
- */
111
- export const obviaPixelCircle = localFont({
112
- src : "./fonts/obvia-pixel/ObviaPixel-Circle.woff2",
113
- variable : "--font-obvia-pixel-circle",
114
- weight : "500",
115
- fallback : [
116
- "Obvia Mono",
117
- "ui-monospace",
118
- "SFMono-Regular",
119
- "Roboto Mono",
120
- "Menlo",
121
- "Monaco",
122
- "Liberation Mono",
123
- "DejaVu Sans Mono",
124
- "Courier New",
125
- "monospace",
126
- ],
127
- adjustFontFallback: false
128
- })
129
-
130
- /**
131
- * **Obvia Pixel Triangle** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
132
- *
133
- * **Weights**
134
- * - `500` - Medium
135
- */
136
- export const obviaPixelTriangle = localFont({
137
- src : "./fonts/obvia-pixel/ObviaPixel-Triangle.woff2",
138
- variable : "--font-obvia-pixel-triangle",
139
- weight : "500",
140
- fallback : [
141
- "Obvia Mono",
142
- "ui-monospace",
143
- "SFMono-Regular",
144
- "Roboto Mono",
145
- "Menlo",
146
- "Monaco",
147
- "Liberation Mono",
148
- "DejaVu Sans Mono",
149
- "Courier New",
150
- "monospace",
151
- ],
152
- adjustFontFallback: false
153
- })
154
-
155
- /**
156
- * **Obvia Pixel Line** variable font, with `className` and `variable` properties, meant to be attached to DOM elements via `className`
157
- *
158
- * **Weights**
159
- * - `500` - Medium
160
- */
161
- export const obviaPixelLine = localFont({
162
- src: "./fonts/obvia-pixel/ObviaPixel-Line.woff2",
163
- variable: "--font-obvia-pixel-line",
164
- weight: "500",
165
- fallback: [
166
- "Obvia Mono",
167
- "ui-monospace",
168
- "SFMono-Regular",
169
- "Roboto Mono",
170
- "Menlo",
171
- "Monaco",
172
- "Liberation Mono",
173
- "DejaVu Sans Mono",
174
- "Courier New",
175
- "monospace",
176
- ],
177
- adjustFontFallback: false
178
- })
package/tsup.config.ts DELETED
@@ -1,38 +0,0 @@
1
- import { defineConfig } from "tsup"
2
-
3
- export default defineConfig({
4
- // Entry point(s) for the build
5
- entry: ["src/index.ts"],
6
-
7
- // Output directory for compiled files
8
- outDir: "dist",
9
-
10
- // Build formats: ESM (.mjs) and CommonJS (.js)
11
- format: ["esm", "cjs"],
12
-
13
- // Generate TypeScript declaration files (.d.ts / .mts)
14
- dts: {
15
- entry: "src/index.ts",
16
- },
17
-
18
- // Generate source maps for debugging
19
- sourcemap: true,
20
-
21
- // Clean the output directory before each build
22
- clean: true,
23
-
24
- // Minify the output for production
25
- minify: true,
26
-
27
- // Target modern JavaScript (ESNext)
28
- target: "esnext",
29
-
30
- // Enable code splitting (useful for multiple entry points)
31
- splitting: true,
32
-
33
- // Bundle everything into distributable files
34
- bundle: true,
35
-
36
- // Do not bundle node_modules dependencies
37
- skipNodeModulesBundle: true
38
- })