@nebutra/tokens 0.1.3 → 3.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/brands/README.md +66 -0
  3. package/brands/cosmos/DESIGN.md +356 -0
  4. package/brands/cosmos/brand.json +209 -0
  5. package/brands/cosmos/refero-tokens.json +312 -0
  6. package/brands/gsap/brand.json +1 -27
  7. package/brands/linear/DESIGN.md +478 -0
  8. package/brands/linear/brand.json +2 -19
  9. package/brands/notion/brand.json +2 -28
  10. package/brands/raycast/brand.json +2 -17
  11. package/brands/stripe/brand.json +1 -16
  12. package/brands/vanta/brand.json +1 -38
  13. package/brands/vercel/brand.json +1 -18
  14. package/dist/brand-package/index.d.ts +13 -7
  15. package/dist/brand-package/index.js +2290 -34
  16. package/dist/brand-package/index.js.map +1 -1
  17. package/dist/brand-package/use-brand.d.ts +1 -1
  18. package/dist/brand-package/use-brand.js +957 -5
  19. package/dist/brand-package/use-brand.js.map +1 -1
  20. package/dist/index.d.ts +1 -1
  21. package/dist/index.js +2417 -22
  22. package/dist/index.js.map +1 -1
  23. package/dist/{use-brand-C8d4DPqE.d.ts → use-brand-ClmvK_lC.d.ts} +19 -3
  24. package/dist/values.d.ts +1192 -0
  25. package/dist/values.js +518 -0
  26. package/dist/values.js.map +1 -0
  27. package/package.json +16 -4
  28. package/recipe.css +36 -2
  29. package/skins/cosmos.css +239 -0
  30. package/skins/gsap.css +32 -20
  31. package/skins/linear.css +54 -17
  32. package/skins/notion.css +36 -25
  33. package/skins/raycast.css +37 -19
  34. package/skins/stripe.css +34 -15
  35. package/skins/vanta.css +34 -30
  36. package/skins/vercel.css +55 -19
  37. package/styles.css +492 -149
  38. package/dist/chunk-ALJTP5HL.js +0 -881
  39. package/dist/chunk-ALJTP5HL.js.map +0 -1
  40. package/dist/chunk-RGUJQOLH.js +0 -1582
  41. package/dist/chunk-RGUJQOLH.js.map +0 -1
@@ -0,0 +1,312 @@
1
+ {
2
+ "color": {
3
+ "linen-canvas": {
4
+ "$value": "#f7f5f3",
5
+ "$type": "color",
6
+ "$description": "Linen Canvas — Page background — warm off-white, never pure #ffffff at the root, gives the interface a paper-like, gallery-wall base"
7
+ },
8
+ "ink-black": {
9
+ "$value": "#0d0d0d",
10
+ "$type": "color",
11
+ "$description": "Ink Black — Dark supporting neutral for text, icons, and strong contrast. Do not promote it to the primary CTA color; Borders, dividers, outlined button strokes — used at low opacity to create subtle structural lines, always Ink Black rather than a separate gray"
12
+ },
13
+ "paper-white": {
14
+ "$value": "#ffffff",
15
+ "$type": "color",
16
+ "$description": "Paper White — Light supporting surface for subtle backgrounds and section separation. Do not promote it to the primary CTA color"
17
+ },
18
+ "stone": {
19
+ "$value": "#6e6a69",
20
+ "$type": "color",
21
+ "$description": "Stone — Body text, secondary icons, inactive UI — warm mid-gray for body copy and supporting metadata"
22
+ },
23
+ "pebble": {
24
+ "$value": "#9a9796",
25
+ "$type": "color",
26
+ "$description": "Pebble — Muted helper text, disabled states, tertiary icon strokes — lightest readable gray in the neutral ramp"
27
+ }
28
+ },
29
+ "font": {
30
+ "cosmosoracle": {
31
+ "$value": "cosmosOracle",
32
+ "$type": "fontFamily",
33
+ "$description": "Single custom face used for everything. Weight 350 is the signature — hero and display copy use this whisper-weight instead of the conventional 700, creating editorial calm. Weight 400 for body, weight 500 reserved for buttons and labels. Negative tracking scales with size: tightest (-0.05em) on the 74px display, opening to normal at 14px. The low line-heights on large sizes (0.80–1.10) hug the baseline tightly so headlines read as deliberate blocks, not airy paragraphs."
34
+ }
35
+ },
36
+ "typography": {
37
+ "sm": {
38
+ "$value": {
39
+ "fontFamily": "cosmosOracle",
40
+ "fontSize": "14px",
41
+ "fontWeight": 500,
42
+ "lineHeight": 1.29
43
+ },
44
+ "$type": "typography",
45
+ "$description": "Typography step sm at 14px"
46
+ },
47
+ "sm-2": {
48
+ "$value": {
49
+ "fontFamily": "cosmosOracle",
50
+ "fontSize": "14px",
51
+ "fontWeight": 400,
52
+ "lineHeight": 1.29
53
+ },
54
+ "$type": "typography",
55
+ "$description": "Typography step sm-2 at 14px"
56
+ },
57
+ "base": {
58
+ "$value": {
59
+ "fontFamily": "cosmosOracle",
60
+ "fontSize": "15px",
61
+ "fontWeight": 500,
62
+ "lineHeight": 1.2
63
+ },
64
+ "$type": "typography",
65
+ "$description": "Typography step base at 15px"
66
+ },
67
+ "base-2": {
68
+ "$value": {
69
+ "fontFamily": "cosmosOracle",
70
+ "fontSize": "16px",
71
+ "fontWeight": 400,
72
+ "lineHeight": 1.5
73
+ },
74
+ "$type": "typography",
75
+ "$description": "Typography step base-2 at 16px"
76
+ },
77
+ "base-3": {
78
+ "$value": {
79
+ "fontFamily": "cosmosOracle",
80
+ "fontSize": "16px",
81
+ "fontWeight": 500,
82
+ "lineHeight": 1.25
83
+ },
84
+ "$type": "typography",
85
+ "$description": "Typography step base-3 at 16px"
86
+ },
87
+ "base-4": {
88
+ "$value": {
89
+ "fontFamily": "cosmosOracle",
90
+ "fontSize": "16px",
91
+ "fontWeight": 400,
92
+ "lineHeight": 1.25
93
+ },
94
+ "$type": "typography",
95
+ "$description": "Typography step base-4 at 16px"
96
+ },
97
+ "base-5": {
98
+ "$value": {
99
+ "fontFamily": "cosmosOracle",
100
+ "fontSize": "16px",
101
+ "fontWeight": 400,
102
+ "lineHeight": 1
103
+ },
104
+ "$type": "typography",
105
+ "$description": "Typography step base-5 at 16px"
106
+ },
107
+ "lg": {
108
+ "$value": {
109
+ "fontFamily": "cosmosOracle",
110
+ "fontSize": "18px",
111
+ "fontWeight": 400,
112
+ "lineHeight": 1.5
113
+ },
114
+ "$type": "typography",
115
+ "$description": "Typography step lg at 18px"
116
+ },
117
+ "2xl": {
118
+ "$value": {
119
+ "fontFamily": "cosmosOracle",
120
+ "fontSize": "24px",
121
+ "fontWeight": 400,
122
+ "lineHeight": 0.8
123
+ },
124
+ "$type": "typography",
125
+ "$description": "Typography step 2xl at 24px"
126
+ },
127
+ "2xl-2": {
128
+ "$value": {
129
+ "fontFamily": "cosmosOracle",
130
+ "fontSize": "26px",
131
+ "fontWeight": 400,
132
+ "lineHeight": 1.2
133
+ },
134
+ "$type": "typography",
135
+ "$description": "Typography step 2xl-2 at 26px"
136
+ },
137
+ "2xl-3": {
138
+ "$value": {
139
+ "fontFamily": "cosmosOracle",
140
+ "fontSize": "26px",
141
+ "fontWeight": 400,
142
+ "lineHeight": 1
143
+ },
144
+ "$type": "typography",
145
+ "$description": "Typography step 2xl-3 at 26px"
146
+ },
147
+ "3xl": {
148
+ "$value": {
149
+ "fontFamily": "cosmosOracle",
150
+ "fontSize": "33px",
151
+ "fontWeight": 400,
152
+ "lineHeight": 1.06
153
+ },
154
+ "$type": "typography",
155
+ "$description": "Typography step 3xl at 33px"
156
+ },
157
+ "4xl": {
158
+ "$value": {
159
+ "fontFamily": "cosmosOracle",
160
+ "fontSize": "38px",
161
+ "fontWeight": 400,
162
+ "lineHeight": 1
163
+ },
164
+ "$type": "typography",
165
+ "$description": "Typography step 4xl at 38px"
166
+ },
167
+ "5xl": {
168
+ "$value": {
169
+ "fontFamily": "cosmosOracle",
170
+ "fontSize": "58px",
171
+ "fontWeight": 400,
172
+ "lineHeight": 1
173
+ },
174
+ "$type": "typography",
175
+ "$description": "Typography step 5xl at 58px"
176
+ },
177
+ "5xl-2": {
178
+ "$value": {
179
+ "fontFamily": "cosmosOracle",
180
+ "fontSize": "66px",
181
+ "fontWeight": 400,
182
+ "lineHeight": 1.08
183
+ },
184
+ "$type": "typography",
185
+ "$description": "Typography step 5xl-2 at 66px"
186
+ },
187
+ "5xl-3": {
188
+ "$value": {
189
+ "fontFamily": "cosmosOracle",
190
+ "fontSize": "66px",
191
+ "fontWeight": 400,
192
+ "lineHeight": 1.1
193
+ },
194
+ "$type": "typography",
195
+ "$description": "Typography step 5xl-3 at 66px"
196
+ },
197
+ "5xl-4": {
198
+ "$value": {
199
+ "fontFamily": "cosmosOracle",
200
+ "fontSize": "66px",
201
+ "fontWeight": 400,
202
+ "lineHeight": 1
203
+ },
204
+ "$type": "typography",
205
+ "$description": "Typography step 5xl-4 at 66px"
206
+ },
207
+ "5xl-5": {
208
+ "$value": {
209
+ "fontFamily": "cosmosOracle",
210
+ "fontSize": "74px",
211
+ "fontWeight": 350,
212
+ "lineHeight": 1
213
+ },
214
+ "$type": "typography",
215
+ "$description": "Typography step 5xl-5 at 74px"
216
+ }
217
+ },
218
+ "spacing": {
219
+ "4": {
220
+ "$value": "4px",
221
+ "$type": "dimension",
222
+ "$description": "Spacing 4px"
223
+ },
224
+ "8": {
225
+ "$value": "8px",
226
+ "$type": "dimension",
227
+ "$description": "Spacing 8px"
228
+ },
229
+ "16": {
230
+ "$value": "16px",
231
+ "$type": "dimension",
232
+ "$description": "Spacing 16px"
233
+ },
234
+ "20": {
235
+ "$value": "20px",
236
+ "$type": "dimension",
237
+ "$description": "Spacing 20px"
238
+ },
239
+ "24": {
240
+ "$value": "24px",
241
+ "$type": "dimension",
242
+ "$description": "Spacing 24px"
243
+ },
244
+ "32": {
245
+ "$value": "32px",
246
+ "$type": "dimension",
247
+ "$description": "Spacing 32px"
248
+ },
249
+ "40": {
250
+ "$value": "40px",
251
+ "$type": "dimension",
252
+ "$description": "Spacing 40px"
253
+ },
254
+ "48": {
255
+ "$value": "48px",
256
+ "$type": "dimension",
257
+ "$description": "Spacing 48px"
258
+ },
259
+ "72": {
260
+ "$value": "72px",
261
+ "$type": "dimension",
262
+ "$description": "Spacing 72px"
263
+ },
264
+ "200": {
265
+ "$value": "200px",
266
+ "$type": "dimension",
267
+ "$description": "Spacing 200px"
268
+ },
269
+ "unit": {
270
+ "$value": "4px",
271
+ "$type": "dimension",
272
+ "$description": "Base spacing unit"
273
+ }
274
+ },
275
+ "radius": {
276
+ "xl": {
277
+ "$value": "12px",
278
+ "$type": "dimension",
279
+ "$description": "Border radius xl"
280
+ },
281
+ "2xl": {
282
+ "$value": "16px",
283
+ "$type": "dimension",
284
+ "$description": "Border radius 2xl"
285
+ },
286
+ "2xl-2": {
287
+ "$value": "19px",
288
+ "$type": "dimension",
289
+ "$description": "Border radius 2xl-2"
290
+ }
291
+ },
292
+ "surface": {
293
+ "linen-canvas": {
294
+ "$value": "#f7f5f3",
295
+ "$type": "color",
296
+ "$description": "Surface level 0: Root page background, the gallery wall"
297
+ },
298
+ "paper-white": {
299
+ "$value": "#ffffff",
300
+ "$type": "color",
301
+ "$description": "Surface level 1: Cards, inputs, outlined buttons — the only elevated surface in the system"
302
+ }
303
+ },
304
+ "$extensions": {
305
+ "com.refero.extraction": {
306
+ "url": "https://cosmos.so",
307
+ "siteName": "Cosmos",
308
+ "extractedAt": "2026-06-03T17:19:29.348Z",
309
+ "variant": "extended"
310
+ }
311
+ }
312
+ }
@@ -21,7 +21,6 @@
21
21
  "destructive": "309 100% 47%",
22
22
  "destructiveForeground": "54 100% 94%",
23
23
  "border": "70 5% 25%",
24
- "input": "70 5% 25%",
25
24
  "ring": "137 92% 47%",
26
25
  "success": "137 92% 47%",
27
26
  "successForeground": "150 7% 6%",
@@ -50,31 +49,7 @@
50
49
  "typography": {
51
50
  "fontSans": "'Mori', 'Inter Tight', 'DM Sans', ui-sans-serif, system-ui, sans-serif",
52
51
  "fontDisplay": "'Mori', 'Inter Tight', ui-sans-serif, system-ui, sans-serif",
53
- "headingWeight": 600,
54
- "faces": [
55
- {
56
- "family": "Mori",
57
- "src": [
58
- {
59
- "url": "/brand-assets/mori-regular.woff2",
60
- "format": "woff2"
61
- }
62
- ],
63
- "weight": 400,
64
- "display": "swap"
65
- },
66
- {
67
- "family": "Mori",
68
- "src": [
69
- {
70
- "url": "/brand-assets/mori-semibold.woff2",
71
- "format": "woff2"
72
- }
73
- ],
74
- "weight": 600,
75
- "display": "swap"
76
- }
77
- ]
52
+ "headingWeight": 600
78
53
  },
79
54
  "motion": {
80
55
  "easeOut": "cubic-bezier(0.22, 1, 0.36, 1)",
@@ -121,7 +96,6 @@
121
96
  "muted": "0 0% 10%",
122
97
  "mutedForeground": "60 6% 46%",
123
98
  "border": "70 5% 25%",
124
- "input": "70 5% 25%",
125
99
  "ring": "137 92% 47%",
126
100
  "destructive": "309 100% 47%",
127
101
  "destructiveForeground": "54 100% 94%",