@react-native-rethemed/panda-css-tokens 0.1.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.
@@ -0,0 +1,444 @@
1
+ // Generated by scripts/generate.ts from @pandacss/preset-panda@2.0.0.
2
+ // Do not edit by hand: run `pnpm generate` instead.
3
+ /** Panda's palette (Tailwind's), converted from oklch to hex. `current` is omitted. */
4
+ export const colors = {
5
+ transparent: '#00000000',
6
+ black: '#000000',
7
+ white: '#ffffff',
8
+ 'slate.50': '#f8fafc',
9
+ 'slate.100': '#f1f5f9',
10
+ 'slate.200': '#e2e8f0',
11
+ 'slate.300': '#cad5e2',
12
+ 'slate.400': '#90a1b9',
13
+ 'slate.500': '#62748e',
14
+ 'slate.600': '#45556c',
15
+ 'slate.700': '#314158',
16
+ 'slate.800': '#1d293d',
17
+ 'slate.900': '#0f172b',
18
+ 'slate.950': '#020618',
19
+ 'gray.50': '#f9fafb',
20
+ 'gray.100': '#f3f4f6',
21
+ 'gray.200': '#e5e7eb',
22
+ 'gray.300': '#d1d5dc',
23
+ 'gray.400': '#99a1af',
24
+ 'gray.500': '#6a7282',
25
+ 'gray.600': '#4a5565',
26
+ 'gray.700': '#364153',
27
+ 'gray.800': '#1e2939',
28
+ 'gray.900': '#101828',
29
+ 'gray.950': '#030712',
30
+ 'zinc.50': '#fafafa',
31
+ 'zinc.100': '#f4f4f5',
32
+ 'zinc.200': '#e4e4e7',
33
+ 'zinc.300': '#d4d4d8',
34
+ 'zinc.400': '#9f9fa9',
35
+ 'zinc.500': '#71717b',
36
+ 'zinc.600': '#52525c',
37
+ 'zinc.700': '#3f3f46',
38
+ 'zinc.800': '#27272a',
39
+ 'zinc.900': '#18181b',
40
+ 'zinc.950': '#09090b',
41
+ 'neutral.50': '#fafafa',
42
+ 'neutral.100': '#f5f5f5',
43
+ 'neutral.200': '#e5e5e5',
44
+ 'neutral.300': '#d4d4d4',
45
+ 'neutral.400': '#a1a1a1',
46
+ 'neutral.500': '#737373',
47
+ 'neutral.600': '#525252',
48
+ 'neutral.700': '#404040',
49
+ 'neutral.800': '#262626',
50
+ 'neutral.900': '#171717',
51
+ 'neutral.950': '#0a0a0a',
52
+ 'stone.50': '#fafaf9',
53
+ 'stone.100': '#f5f5f4',
54
+ 'stone.200': '#e7e5e4',
55
+ 'stone.300': '#d6d3d1',
56
+ 'stone.400': '#a6a09b',
57
+ 'stone.500': '#79716b',
58
+ 'stone.600': '#57534d',
59
+ 'stone.700': '#44403b',
60
+ 'stone.800': '#292524',
61
+ 'stone.900': '#1c1917',
62
+ 'stone.950': '#0c0a09',
63
+ 'mauve.50': '#fafafa',
64
+ 'mauve.100': '#f3f1f3',
65
+ 'mauve.200': '#e7e4e7',
66
+ 'mauve.300': '#d7d0d7',
67
+ 'mauve.400': '#a89ea9',
68
+ 'mauve.500': '#79697b',
69
+ 'mauve.600': '#594c5b',
70
+ 'mauve.700': '#463947',
71
+ 'mauve.800': '#2a212c',
72
+ 'mauve.900': '#1d161e',
73
+ 'mauve.950': '#0c090c',
74
+ 'olive.50': '#fbfbf9',
75
+ 'olive.100': '#f4f4f0',
76
+ 'olive.200': '#e8e8e3',
77
+ 'olive.300': '#d8d8d0',
78
+ 'olive.400': '#abab9c',
79
+ 'olive.500': '#7c7c67',
80
+ 'olive.600': '#5b5b4b',
81
+ 'olive.700': '#474739',
82
+ 'olive.800': '#2b2b22',
83
+ 'olive.900': '#1d1d16',
84
+ 'olive.950': '#0c0c09',
85
+ 'mist.50': '#f9fbfb',
86
+ 'mist.100': '#f1f3f3',
87
+ 'mist.200': '#e3e7e8',
88
+ 'mist.300': '#d0d6d8',
89
+ 'mist.400': '#9ca8ab',
90
+ 'mist.500': '#67787c',
91
+ 'mist.600': '#4b585b',
92
+ 'mist.700': '#394447',
93
+ 'mist.800': '#22292b',
94
+ 'mist.900': '#161b1d',
95
+ 'mist.950': '#090b0c',
96
+ 'taupe.50': '#fbfaf9',
97
+ 'taupe.100': '#f3f1f1',
98
+ 'taupe.200': '#e8e4e3',
99
+ 'taupe.300': '#d8d2d0',
100
+ 'taupe.400': '#aba09c',
101
+ 'taupe.500': '#7c6d67',
102
+ 'taupe.600': '#5b4f4b',
103
+ 'taupe.700': '#473c39',
104
+ 'taupe.800': '#2b2422',
105
+ 'taupe.900': '#1d1816',
106
+ 'taupe.950': '#0c0a09',
107
+ 'red.50': '#fef2f2',
108
+ 'red.100': '#ffe2e2',
109
+ 'red.200': '#ffc9c9',
110
+ 'red.300': '#ffa2a2',
111
+ 'red.400': '#ff6467',
112
+ 'red.500': '#fb2c36',
113
+ 'red.600': '#e7000b',
114
+ 'red.700': '#c10007',
115
+ 'red.800': '#9f0712',
116
+ 'red.900': '#82181a',
117
+ 'red.950': '#460809',
118
+ 'orange.50': '#fff7ed',
119
+ 'orange.100': '#ffedd4',
120
+ 'orange.200': '#ffd6a8',
121
+ 'orange.300': '#ffb86a',
122
+ 'orange.400': '#ff8904',
123
+ 'orange.500': '#ff6900',
124
+ 'orange.600': '#f54a00',
125
+ 'orange.700': '#ca3500',
126
+ 'orange.800': '#9f2d00',
127
+ 'orange.900': '#7e2a0c',
128
+ 'orange.950': '#441306',
129
+ 'amber.50': '#fffbeb',
130
+ 'amber.100': '#fef3c6',
131
+ 'amber.200': '#fee685',
132
+ 'amber.300': '#ffd230',
133
+ 'amber.400': '#ffba00',
134
+ 'amber.500': '#fd9a00',
135
+ 'amber.600': '#e17100',
136
+ 'amber.700': '#bb4d00',
137
+ 'amber.800': '#973c00',
138
+ 'amber.900': '#7b3306',
139
+ 'amber.950': '#461901',
140
+ 'yellow.50': '#fefce8',
141
+ 'yellow.100': '#fef9c2',
142
+ 'yellow.200': '#fff085',
143
+ 'yellow.300': '#ffdf20',
144
+ 'yellow.400': '#fcc800',
145
+ 'yellow.500': '#efb100',
146
+ 'yellow.600': '#d08700',
147
+ 'yellow.700': '#a65f00',
148
+ 'yellow.800': '#894b00',
149
+ 'yellow.900': '#733e0a',
150
+ 'yellow.950': '#432004',
151
+ 'lime.50': '#f7fee7',
152
+ 'lime.100': '#ecfcca',
153
+ 'lime.200': '#d8f999',
154
+ 'lime.300': '#bbf451',
155
+ 'lime.400': '#9ae600',
156
+ 'lime.500': '#7ccf00',
157
+ 'lime.600': '#5ea500',
158
+ 'lime.700': '#497d00',
159
+ 'lime.800': '#3d6300',
160
+ 'lime.900': '#35530e',
161
+ 'lime.950': '#192e03',
162
+ 'green.50': '#f0fdf4',
163
+ 'green.100': '#dcfce7',
164
+ 'green.200': '#b9f8cf',
165
+ 'green.300': '#7bf1a8',
166
+ 'green.400': '#05df72',
167
+ 'green.500': '#00c951',
168
+ 'green.600': '#00a63e',
169
+ 'green.700': '#008236',
170
+ 'green.800': '#016630',
171
+ 'green.900': '#0d542b',
172
+ 'green.950': '#032e15',
173
+ 'emerald.50': '#ecfdf5',
174
+ 'emerald.100': '#d0fae5',
175
+ 'emerald.200': '#a4f4cf',
176
+ 'emerald.300': '#5ee9b5',
177
+ 'emerald.400': '#00d492',
178
+ 'emerald.500': '#00bc7d',
179
+ 'emerald.600': '#009966',
180
+ 'emerald.700': '#007a55',
181
+ 'emerald.800': '#006045',
182
+ 'emerald.900': '#004f3b',
183
+ 'emerald.950': '#002c22',
184
+ 'teal.50': '#f0fdfa',
185
+ 'teal.100': '#cbfbf1',
186
+ 'teal.200': '#96f7e4',
187
+ 'teal.300': '#46ecd5',
188
+ 'teal.400': '#00d5be',
189
+ 'teal.500': '#00bba7',
190
+ 'teal.600': '#009689',
191
+ 'teal.700': '#00786f',
192
+ 'teal.800': '#005f5a',
193
+ 'teal.900': '#0b4f4a',
194
+ 'teal.950': '#022f2e',
195
+ 'cyan.50': '#ecfeff',
196
+ 'cyan.100': '#cefafe',
197
+ 'cyan.200': '#a2f4fd',
198
+ 'cyan.300': '#53eafd',
199
+ 'cyan.400': '#00d3f2',
200
+ 'cyan.500': '#00b8db',
201
+ 'cyan.600': '#0092b8',
202
+ 'cyan.700': '#007595',
203
+ 'cyan.800': '#005f78',
204
+ 'cyan.900': '#104e64',
205
+ 'cyan.950': '#053345',
206
+ 'sky.50': '#f0f9ff',
207
+ 'sky.100': '#dff2fe',
208
+ 'sky.200': '#b8e6fe',
209
+ 'sky.300': '#74d4ff',
210
+ 'sky.400': '#00bcff',
211
+ 'sky.500': '#00a6f4',
212
+ 'sky.600': '#0084d1',
213
+ 'sky.700': '#0069a8',
214
+ 'sky.800': '#00598a',
215
+ 'sky.900': '#024a70',
216
+ 'sky.950': '#052f4a',
217
+ 'blue.50': '#eff6ff',
218
+ 'blue.100': '#dbeafe',
219
+ 'blue.200': '#bedbff',
220
+ 'blue.300': '#8ec5ff',
221
+ 'blue.400': '#51a2ff',
222
+ 'blue.500': '#2b7fff',
223
+ 'blue.600': '#155dfc',
224
+ 'blue.700': '#1447e6',
225
+ 'blue.800': '#193cb8',
226
+ 'blue.900': '#1c398e',
227
+ 'blue.950': '#162456',
228
+ 'indigo.50': '#eef2ff',
229
+ 'indigo.100': '#e0e7ff',
230
+ 'indigo.200': '#c6d2ff',
231
+ 'indigo.300': '#a3b3ff',
232
+ 'indigo.400': '#7c86ff',
233
+ 'indigo.500': '#615fff',
234
+ 'indigo.600': '#4f39f6',
235
+ 'indigo.700': '#432dd7',
236
+ 'indigo.800': '#372aac',
237
+ 'indigo.900': '#312c85',
238
+ 'indigo.950': '#1e1a4d',
239
+ 'violet.50': '#f5f3ff',
240
+ 'violet.100': '#ede9fe',
241
+ 'violet.200': '#ddd6ff',
242
+ 'violet.300': '#c4b4ff',
243
+ 'violet.400': '#a684ff',
244
+ 'violet.500': '#8e51ff',
245
+ 'violet.600': '#7f22fe',
246
+ 'violet.700': '#7008e7',
247
+ 'violet.800': '#5d0ec0',
248
+ 'violet.900': '#4d179a',
249
+ 'violet.950': '#2f0d68',
250
+ 'purple.50': '#faf5ff',
251
+ 'purple.100': '#f3e8ff',
252
+ 'purple.200': '#e9d4ff',
253
+ 'purple.300': '#dab2ff',
254
+ 'purple.400': '#c27aff',
255
+ 'purple.500': '#ad46ff',
256
+ 'purple.600': '#9810fa',
257
+ 'purple.700': '#8200db',
258
+ 'purple.800': '#6e11b0',
259
+ 'purple.900': '#59168b',
260
+ 'purple.950': '#3c0366',
261
+ 'fuchsia.50': '#fdf4ff',
262
+ 'fuchsia.100': '#fae8ff',
263
+ 'fuchsia.200': '#f6cfff',
264
+ 'fuchsia.300': '#f4a8ff',
265
+ 'fuchsia.400': '#ed6bff',
266
+ 'fuchsia.500': '#e12afb',
267
+ 'fuchsia.600': '#c800de',
268
+ 'fuchsia.700': '#a800b7',
269
+ 'fuchsia.800': '#8a0194',
270
+ 'fuchsia.900': '#721378',
271
+ 'fuchsia.950': '#4b004f',
272
+ 'pink.50': '#fdf2f8',
273
+ 'pink.100': '#fce7f3',
274
+ 'pink.200': '#fccee8',
275
+ 'pink.300': '#fda5d5',
276
+ 'pink.400': '#fb64b6',
277
+ 'pink.500': '#f6339a',
278
+ 'pink.600': '#e60076',
279
+ 'pink.700': '#c6005c',
280
+ 'pink.800': '#a3004c',
281
+ 'pink.900': '#861043',
282
+ 'pink.950': '#510424',
283
+ 'rose.50': '#fff1f2',
284
+ 'rose.100': '#ffe4e6',
285
+ 'rose.200': '#ffccd3',
286
+ 'rose.300': '#ffa1ad',
287
+ 'rose.400': '#ff637e',
288
+ 'rose.500': '#ff2056',
289
+ 'rose.600': '#ec003f',
290
+ 'rose.700': '#c70036',
291
+ 'rose.800': '#a50036',
292
+ 'rose.900': '#8b0836',
293
+ 'rose.950': '#4d0218',
294
+ };
295
+ /** Border radii, in points (1rem = 16). */
296
+ export const radii = {
297
+ xs: 2,
298
+ sm: 4,
299
+ md: 6,
300
+ lg: 8,
301
+ xl: 12,
302
+ '2xl': 16,
303
+ '3xl': 24,
304
+ '4xl': 32,
305
+ full: 9999,
306
+ };
307
+ /** Spacing scale, in points (1rem = 16). */
308
+ export const spacing = {
309
+ 0: 0,
310
+ 0.5: 2,
311
+ 1: 4,
312
+ 1.5: 6,
313
+ 2: 8,
314
+ 2.5: 10,
315
+ 3: 12,
316
+ 3.5: 14,
317
+ 4: 16,
318
+ 4.5: 18,
319
+ 5: 20,
320
+ 5.5: 22,
321
+ 6: 24,
322
+ 7: 28,
323
+ 8: 32,
324
+ 9: 36,
325
+ 10: 40,
326
+ 11: 44,
327
+ 12: 48,
328
+ 14: 56,
329
+ 16: 64,
330
+ 20: 80,
331
+ 24: 96,
332
+ 28: 112,
333
+ 32: 128,
334
+ 36: 144,
335
+ 40: 160,
336
+ 44: 176,
337
+ 48: 192,
338
+ 52: 208,
339
+ 56: 224,
340
+ 60: 240,
341
+ 64: 256,
342
+ 72: 288,
343
+ 80: 320,
344
+ 96: 384,
345
+ };
346
+ /** Font sizes, in points (1rem = 16). */
347
+ export const fontSizes = {
348
+ '2xs': 8,
349
+ xs: 12,
350
+ sm: 14,
351
+ md: 16,
352
+ lg: 18,
353
+ xl: 20,
354
+ '2xl': 24,
355
+ '3xl': 30,
356
+ '4xl': 36,
357
+ '5xl': 48,
358
+ '6xl': 60,
359
+ '7xl': 72,
360
+ '8xl': 96,
361
+ '9xl': 128,
362
+ };
363
+ /** Font weights. */
364
+ export const fontWeights = {
365
+ thin: '100',
366
+ extralight: '200',
367
+ light: '300',
368
+ normal: '400',
369
+ medium: '500',
370
+ semibold: '600',
371
+ bold: '700',
372
+ extrabold: '800',
373
+ black: '900',
374
+ };
375
+ /** Line heights, as ratios of `fontSize`. */
376
+ export const lineHeights = {
377
+ none: 1,
378
+ tight: 1.25,
379
+ snug: 1.375,
380
+ normal: 1.5,
381
+ relaxed: 1.625,
382
+ loose: 2,
383
+ };
384
+ /** Letter spacings: em values converted to points at a 16px font size. */
385
+ export const letterSpacings = {
386
+ tighter: -0.8,
387
+ tight: -0.4,
388
+ normal: 0,
389
+ wide: 0.4,
390
+ wider: 0.8,
391
+ widest: 1.6,
392
+ };
393
+ /** Box shadows as single-layer RN shadows. Inset shadows are omitted. */
394
+ export const shadows = {
395
+ '2xs': {
396
+ shadowColor: '#000000',
397
+ shadowOffset: { width: 0, height: 1 },
398
+ shadowOpacity: 0.05,
399
+ shadowRadius: 0,
400
+ elevation: 1,
401
+ },
402
+ xs: {
403
+ shadowColor: '#000000',
404
+ shadowOffset: { width: 0, height: 1 },
405
+ shadowOpacity: 0.05,
406
+ shadowRadius: 1,
407
+ elevation: 1,
408
+ },
409
+ sm: {
410
+ shadowColor: '#000000',
411
+ shadowOffset: { width: 0, height: 1 },
412
+ shadowOpacity: 0.1,
413
+ shadowRadius: 1.5,
414
+ elevation: 2,
415
+ },
416
+ md: {
417
+ shadowColor: '#000000',
418
+ shadowOffset: { width: 0, height: 4 },
419
+ shadowOpacity: 0.1,
420
+ shadowRadius: 3,
421
+ elevation: 4,
422
+ },
423
+ lg: {
424
+ shadowColor: '#000000',
425
+ shadowOffset: { width: 0, height: 10 },
426
+ shadowOpacity: 0.1,
427
+ shadowRadius: 7.5,
428
+ elevation: 8,
429
+ },
430
+ xl: {
431
+ shadowColor: '#000000',
432
+ shadowOffset: { width: 0, height: 20 },
433
+ shadowOpacity: 0.1,
434
+ shadowRadius: 12.5,
435
+ elevation: 12,
436
+ },
437
+ '2xl': {
438
+ shadowColor: '#000000',
439
+ shadowOffset: { width: 0, height: 25 },
440
+ shadowOpacity: 0.25,
441
+ shadowRadius: 25,
442
+ elevation: 16,
443
+ },
444
+ };
package/package.json ADDED
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "@react-native-rethemed/panda-css-tokens",
3
+ "version": "0.1.0",
4
+ "description": "Panda CSS's default theme tokens for React Native, ready for react-native-rethemed.",
5
+ "keywords": [
6
+ "react-native",
7
+ "react-native-rethemed",
8
+ "panda-css",
9
+ "design-tokens"
10
+ ],
11
+ "license": "MIT",
12
+ "author": "manakuro",
13
+ "homepage": "https://github.com/manakuro/react-native-rethemed/tree/main/packages/react-native-rethemed/panda-css#readme",
14
+ "bugs": {
15
+ "url": "https://github.com/manakuro/react-native-rethemed/issues"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/manakuro/react-native-rethemed.git",
20
+ "directory": "packages/react-native-rethemed/panda-css"
21
+ },
22
+ "sideEffects": false,
23
+ "main": "./dist/cjs/index.js",
24
+ "types": "./dist/cjs/index.d.ts",
25
+ "exports": {
26
+ ".": {
27
+ "import": {
28
+ "types": "./dist/esm/index.d.ts",
29
+ "default": "./dist/esm/index.js"
30
+ },
31
+ "require": {
32
+ "types": "./dist/cjs/index.d.ts",
33
+ "default": "./dist/cjs/index.js"
34
+ }
35
+ },
36
+ "./package.json": "./package.json"
37
+ },
38
+ "files": [
39
+ "dist"
40
+ ],
41
+ "publishConfig": {
42
+ "access": "public"
43
+ },
44
+ "dependencies": {
45
+ "@react-native-rethemed/core": "^0.1.0"
46
+ },
47
+ "devDependencies": {
48
+ "@biomejs/biome": "2.5.4",
49
+ "@pandacss/preset-panda": "2.0.0",
50
+ "@react-native-rethemed/cli": "0.1.0",
51
+ "@types/culori": "4.0.1",
52
+ "@types/node": "24.10.4",
53
+ "@types/react": "19.2.17",
54
+ "biome-config": "0.0.0",
55
+ "culori": "4.0.2",
56
+ "jiti": "2.7.0",
57
+ "react": "19.2.3",
58
+ "react-native": "0.86.2",
59
+ "typescript": "6.0.3",
60
+ "vitest": "4.1.10"
61
+ },
62
+ "scripts": {
63
+ "build": "node ../../../scripts/build-package.mjs",
64
+ "generate": "jiti scripts/generate.ts",
65
+ "example:codegen": "react-native-rethemed codegen example/theme.ts --docs example/themed.md",
66
+ "lint": "biome check src scripts example",
67
+ "lint:fix": "biome check --write --unsafe src scripts example",
68
+ "tsc": "tsc --noEmit",
69
+ "test": "vitest",
70
+ "test:ci": "vitest run"
71
+ }
72
+ }