{"_id":"@allfitone/tokens","_rev":"5-9c7d6ad7a611b5a3b66da6bade750527","name":"@allfitone/tokens","dist-tags":{"next":"0.1.0","latest":"0.2.0"},"versions":{"0.1.0":{"name":"@allfitone/tokens","version":"0.1.0","license":"UNLICENSED","_id":"@allfitone/tokens@0.1.0","maintainers":[{"name":"nicpenaloza","email":"nicolasgambact@gmail.com"}],"homepage":"https://github.com/dinnartec/allfitone-design-system#readme","bugs":{"url":"https://github.com/dinnartec/allfitone-design-system/issues"},"dist":{"shasum":"ca11cdad3c49c4c90670c19956cdd59ae8e725ef","tarball":"https://registry.npmjs.org/@allfitone/tokens/-/tokens-0.1.0.tgz","fileCount":56,"integrity":"sha512-uJnIHpGU+CJ6gJjOjDop1x/bhiwffHxhy+4JH6xvzv+hq51WnebIRp+58+HQAC357aNXBQnM3ti/+iJf4de2FQ==","signatures":[{"sig":"MEQCIEK6sfhLtax5zz4qJGk+j9DYDS8bV8o9sGKsn1HRXuziAiAWflxjWmloYLR5TixtajSU3GFB2N+651ZmXUKfQ6XGVQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":118869},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./css":"./dist/tokens.css","./tokens.json":"./dist/tokens.json"},"gitHead":"4dbec03784040c69ec3b0d9c38210793384e67ee","scripts":{"build":"tsc -p tsconfig.json && node scripts/build.mjs","check":"npm run build && node scripts/validate.mjs","prepack":"npm run check"},"_npmUser":{"name":"nicpenaloza","email":"nicolasgambact@gmail.com"},"repository":{"url":"git+https://github.com/dinnartec/allfitone-design-system.git","type":"git","directory":"packages/tokens"},"_npmVersion":"11.11.0","description":"Cross-platform design tokens for the Allfit One ecosystem.","directories":{},"sideEffects":["./dist/tokens.css"],"_nodeVersion":"24.14.1","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tokens_0.1.0_1784937590652_0.9730362188433173","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@allfitone/tokens","version":"0.2.0","license":"UNLICENSED","_id":"@allfitone/tokens@0.2.0","maintainers":[{"name":"walbert-rn","email":"walbertonarvaez@gmail.com"},{"name":"klavijor","email":"klavijorangel@gmail.com"},{"name":"nicpenaloza","email":"nicolasgambact@gmail.com"}],"homepage":"https://github.com/dinnartec/allfitone-design-system#readme","bugs":{"url":"https://github.com/dinnartec/allfitone-design-system/issues"},"dist":{"shasum":"d7ee5215ada8f97438c6047d5bcba997c21a9921","tarball":"https://registry.npmjs.org/@allfitone/tokens/-/tokens-0.2.0.tgz","fileCount":52,"integrity":"sha512-IjGL90nTsPirBBoJHSbwoeL60xCSLo0j7ILOhStDZg9Xe4QKmeV/ECMWZIwCRXOumJwPzJdvyUCZhQ8ywuILGw==","signatures":[{"sig":"MEYCIQCZ9L8ptjA1pVX9LqKVkt9yfy+qZ0upL8ZKRgankY0C3gIhALy78FwHSDJMlMHhugVisvlY2Jhn7qFzjJZsHtmNjIsx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":117587},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./css":"./dist/tokens.css","./tokens.json":"./dist/tokens.json"},"gitHead":"03702d07143614fb2bd9d520dc8bd7d82768c397","scripts":{"build":"tsc -p tsconfig.json && node scripts/build.mjs","check":"npm run build && node scripts/validate.mjs","prepack":"npm run check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9f82853d-4840-4e60-bc89-de1e35393924"}},"repository":{"url":"git+https://github.com/dinnartec/allfitone-design-system.git","type":"git","directory":"packages/tokens"},"_npmVersion":"11.11.0","description":"Cross-platform design tokens for the Allfit One ecosystem.","directories":{},"sideEffects":["./dist/tokens.css"],"_nodeVersion":"24.18.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tokens_0.2.0_1786296571152_0.00846900460048916","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-07-24T23:59:50.318Z","modified":"2026-08-16T17:39:19.643Z","0.1.0":"2026-07-24T23:59:50.783Z","0.2.0":"2026-08-09T17:29:31.294Z"},"bugs":{"url":"https://github.com/dinnartec/allfitone-design-system/issues"},"license":"UNLICENSED","homepage":"https://github.com/dinnartec/allfitone-design-system#readme","repository":{"url":"git+https://github.com/dinnartec/allfitone-design-system.git","type":"git","directory":"packages/tokens"},"description":"Cross-platform design tokens for the Allfit One ecosystem.","maintainers":[{"email":"walbertonarvaez@gmail.com","name":"walbert-rn"},{"email":"klavijorangel@gmail.com","name":"klavijor"},{"email":"jimmyrozo29@gmail.com","name":"jrozo97"},{"email":"nicolasgambact@gmail.com","name":"nicpenaloza"}],"readme":"# `@allfitone/tokens`\n\nCross-platform design tokens for Next.js/React and React Native.\n\n## Units\n\n- spacing, radius, font size, and shadow geometry use density-independent numeric pixels;\n- duration uses milliseconds;\n- line height and letter spacing use unitless ratios;\n- colors use six- or eight-digit hexadecimal values for web and React Native compatibility;\n- shadows are structured arrays so each platform can adapt them without parsing CSS.\n\n## TypeScript\n\n```ts\nimport {\n  color,\n  semanticRadius,\n  spacing,\n  semanticColor,\n  typography,\n} from \"@allfitone/tokens\";\n\nconst nativeCard = {\n  backgroundColor: semanticColor.dark.background.surface,\n  borderRadius: semanticRadius.card,\n  padding: spacing[4],\n};\n```\n\n## CSS\n\n```ts\nimport \"@allfitone/tokens/css\";\n```\n\nDark is the default theme. Add `data-afo-theme=\"light\"` to a containing element to switch semantic variables.\n\n```css\n.card {\n  color: var(--afo-color-text-primary);\n  background: var(--afo-color-background-surface);\n  border-radius: var(--afo-radius-card);\n  box-shadow: var(--afo-shadow-card);\n}\n```\n\n## Typography\n\nThe package defines family names and metrics but does not bundle font files. Each product must load:\n\n- Barlow Condensed: display and athletic editorial roles;\n- Manrope: body, control, label, and data roles.\n\n## Motion\n\nMotion communicates continuity and response. It must not become ambient decoration. Use `semanticMotion` instead of choosing primitive durations directly, and honor reduced-motion preferences.\n","readmeFilename":"README.md"}