{"_id":"@desynth/style-tokens","_rev":"9-3b2abf4f1810c2e935e9c8fb56375da9","name":"@desynth/style-tokens","dist-tags":{"latest":"14.9.26-alpha.1"},"versions":{"1.28.26-alpha.1":{"name":"@desynth/style-tokens","version":"1.28.26-alpha.1","keywords":["style-dictionary"],"author":{"name":"@desynth"},"license":"ISC","_id":"@desynth/style-tokens@1.28.26-alpha.1","maintainers":[{"name":"xh01r9m","email":"desynth-pos-dev01-test@desynth.dev"}],"homepage":"https://github.com/desynth/desynth-style-tokens#readme","bugs":{"url":"https://github.com/desynth/desynth-style-tokens/issues"},"dist":{"shasum":"885a1b50043313a54afcaf47035cab2b207a50b2","tarball":"https://registry.npmjs.org/@desynth/style-tokens/-/style-tokens-1.28.26-alpha.1.tgz","fileCount":10,"integrity":"sha512-CXxgR0qCx+Wy00zU0hDeI6WVGHA0/pV+EyBsQNU3SCN/0n2HRKWM79Fsq7pr8jMpgJWsXNBapKT/yBRZyLQGig==","signatures":[{"sig":"MEYCIQDFUMIxCnbRtIJj3TDxZOMpOcX+8bBAWjby5S2WXtmLTAIhAODMbcF+0C67nygCyjSICA3lQVY6vgKoJ1nW03OPQgh8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15661},"main":"./dist/index.js","gitHead":"0a0b380662adb4d9c1603f35e67146e89fad186a","scripts":{"build":"rm -rfv ./dist && tsc","generate":"npm run build && npm run generate:desynth-design-tokens && cp ./package.json ./dist/","generate:desynth-design-tokens":"node dist/index.js"},"_npmUser":{"name":"xh01r9m","email":"desynth-pos-dev01-test@desynth.dev"},"repository":{"url":"https://https://github.com/desynth/desynth-style-tokens","type":"git"},"_npmVersion":"10.2.3","description":"This is the desynth utility library for style-dictionary tokenized theme","directories":{},"_nodeVersion":"20.9.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"fs-extra":"^11.2.0","typescript":"^5.3.3","@types/lodash":"^4.14.202","@types/fs-extra":"^11.0.4","style-dictionary":"^3.9.2","style-dictionary-utils":"^2.0.7"},"_npmOperationalInternal":{"tmp":"tmp/style-tokens_1.28.26-alpha.1_1769712577382_0.9234599727629704","host":"s3://npm-registry-packages-npm-production"}},"1.29.26-alpha.1":{"name":"@desynth/style-tokens","version":"1.29.26-alpha.1","keywords":["style-dictionary"],"author":{"name":"@desynth"},"license":"ISC","_id":"@desynth/style-tokens@1.29.26-alpha.1","maintainers":[{"name":"xh01r9m","email":"desynth-pos-dev01-test@desynth.dev"}],"homepage":"https://github.com/desynth/desynth-style-tokens#readme","bugs":{"url":"https://github.com/desynth/desynth-style-tokens/issues"},"dist":{"shasum":"d3eb791207db69cd591f5ad95f90d5f9b1944fdb","tarball":"https://registry.npmjs.org/@desynth/style-tokens/-/style-tokens-1.29.26-alpha.1.tgz","fileCount":17,"integrity":"sha512-x1G5eZbPHUHE+QVqnyzDOlyH6fzIcdl51aezcxJb2TfkEn/tGw5giLItgnrzCOCneAZDnj49NE4SNRoRaHSTMw==","signatures":[{"sig":"MEUCIQCUEJedOils+wk3x1ROd377gdMH3hiJQQFMV99l4BCBggIgbZlmkmhmHQRJ6bCDDczzmTd4qGhO9O4V4dxOG4DG0l0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60198},"main":"./dist/index.js","gitHead":"0a0b380662adb4d9c1603f35e67146e89fad186a","scripts":{"build":"rm -rfv ./dist && tsc","generate":"npm run build && npm run generate:desynth-design-tokens && cp ./package.json ./dist/","generate:desynth-design-tokens":"node dist/index.js"},"_npmUser":{"name":"xh01r9m","email":"desynth-pos-dev01-test@desynth.dev"},"repository":{"url":"https://https://github.com/desynth/desynth-style-tokens","type":"git"},"_npmVersion":"10.2.3","description":"This is the desynth utility library for style-dictionary tokenized theme","directories":{},"_nodeVersion":"20.9.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"fs-extra":"^11.2.0","typescript":"^5.3.3","@types/lodash":"^4.14.202","@types/fs-extra":"^11.0.4","style-dictionary":"^3.9.2","style-dictionary-utils":"^2.0.7"},"_npmOperationalInternal":{"tmp":"tmp/style-tokens_1.29.26-alpha.1_1769739844355_0.1787381303316775","host":"s3://npm-registry-packages-npm-production"}},"13.9.26-alpha.1":{"name":"@desynth/style-tokens","version":"13.9.26-alpha.1","keywords":["style-dictionary"],"author":{"name":"@desynth"},"license":"ISC","_id":"@desynth/style-tokens@13.9.26-alpha.1","maintainers":[{"name":"xh01r9m","email":"desynth-pos-dev01-test@desynth.dev"}],"homepage":"https://github.com/desynth/desynth-style-tokens#readme","bugs":{"url":"https://github.com/desynth/desynth-style-tokens/issues"},"dist":{"shasum":"6811a986f0136de1239b86a6a48a05d222d06ad9","tarball":"https://registry.npmjs.org/@desynth/style-tokens/-/style-tokens-13.9.26-alpha.1.tgz","fileCount":17,"integrity":"sha512-j2UpDbFmTDtoCV9Abcr+SYhlOl+fm6K3s2jGtsEfxdgd145+sXaIBv/AfKlbwNFoZ1Eed+LoR/uubIBxDxhcGw==","signatures":[{"sig":"MEQCIB9k+UKUWE1/+KB43bSPCvzI+92hUCsQCAWKWbCfiU4QAiBCx/VaGcOlQevKxruD44rj6oICsfdS73Tf5UDuHgmPsg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGuW1x/gUmWrx3irXxivh9L7r14zOhfsvSkMqQv37QAwAiAwnUual4acl31DNkxYLi7P2KYq73HTvgo5gD/FGCi24w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62468},"main":"./dist/index.js","gitHead":"7694a049d9b7690078ba6a053ab69784ab717b1f","scripts":{"build":"rm -rfv ./dist && tsc","generate":"npm run build && npm run generate:desynth-design-tokens && cp ./package.json ./dist/","generate:desynth-design-tokens":"node dist/index.js"},"_npmUser":{"name":"xh01r9m","email":"desynth-pos-dev01-test@desynth.dev"},"repository":{"url":"https://https://github.com/desynth/desynth-style-tokens","type":"git"},"_npmVersion":"10.8.2","description":"This is the desynth utility library for style-dictionary tokenized theme","directories":{},"_nodeVersion":"18.20.8","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"fs-extra":"^11.2.0","typescript":"^5.3.3","@types/lodash":"^4.14.202","@types/fs-extra":"^11.0.4","style-dictionary":"^3.9.2","style-dictionary-utils":"^2.0.7"},"_npmOperationalInternal":{"tmp":"tmp/style-tokens_13.9.26-alpha.1_1789363025883_0.5767715823998261","host":"s3://npm-registry-packages-npm-production"}},"14.9.26-alpha.1":{"_id":"@desynth/style-tokens@14.9.26-alpha.1","bugs":{"url":"https://github.com/desynth/desynth-style-tokens/issues"},"dist":{"shasum":"0755ac11eba849951b6faa5d175fcb4a1a91b32b","tarball":"https://registry.npmjs.org/@desynth/style-tokens/-/style-tokens-14.9.26-alpha.1.tgz","fileCount":17,"integrity":"sha512-IdeWX/yy3ZcAiNSfuD852hhL2HVXIHvqpB3ePhwnFRrABRdhYRmf8JtsDodbPmoi3OX+2BVGKEM/yEggmSeyZQ==","signatures":[{"sig":"MEUCIQCpKeCaQdXMS1VsdJ9lfi52SyNtWBC4H87vni4ntvD6qQIgGbfXaHr4cpBBsNKbgrovcIza4RyjuENIipVDu+eSjFA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEgZ+wzz05edgoqA9/N5iQuoWWLAhDumwUl92vbjtV+7AiBZVd4mpC6kCjvYyV2mgOHDyAMjaAHybS6r4t13lZolgQ=="}],"unpackedSize":67060},"main":"./dist/index.js","name":"@desynth/style-tokens","author":{"name":"@desynth"},"gitHead":"53257cc2e5f98ee95800009b42fa2bf4fb751f7c","license":"ISC","scripts":{"build":"rm -rfv ./dist && tsc","generate":"npm run build && npm run generate:desynth-design-tokens && cp ./package.json ./dist/","generate:desynth-design-tokens":"node dist/index.js"},"version":"14.9.26-alpha.1","_npmUser":{"name":"xh01r9m","email":"desynth-pos-dev01-test@desynth.dev"},"homepage":"https://github.com/desynth/desynth-style-tokens#readme","keywords":["style-dictionary"],"repository":{"url":"https://https://github.com/desynth/desynth-style-tokens","type":"git"},"_npmVersion":"10.8.2","description":"This is the desynth utility library for style-dictionary tokenized theme","directories":{},"maintainers":[{"name":"xh01r9m","email":"desynth-pos-dev01-test@desynth.dev"}],"_nodeVersion":"18.20.8","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"fs-extra":"^11.2.0","typescript":"^5.3.3","@types/lodash":"^4.14.202","@types/fs-extra":"^11.0.4","style-dictionary":"^3.9.2","style-dictionary-utils":"^2.0.7"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/style-tokens_14.9.26-alpha.1_1789421727041_0.6769391606290005"}}},"time":{"created":"2026-01-29T18:49:37.297Z","modified":"2026-09-14T21:35:27.388Z","1.0.0":"2024-07-05T04:40:28.698Z","24.5.7-alpha.1":"2024-07-05T06:29:13.935Z","24.7.6-alpha.1":"2024-07-05T07:06:52.102Z","1.28.26-alpha.1":"2026-01-29T18:49:37.524Z","1.29.26-alpha.1":"2026-01-30T02:24:04.509Z","13.9.26-alpha.1":"2026-09-14T05:17:05.964Z","14.9.26-alpha.1":"2026-09-14T21:35:27.186Z"},"bugs":{"url":"https://github.com/desynth/desynth-style-tokens/issues"},"author":{"name":"@desynth"},"license":"ISC","homepage":"https://github.com/desynth/desynth-style-tokens#readme","keywords":["style-dictionary"],"repository":{"url":"https://https://github.com/desynth/desynth-style-tokens","type":"git"},"description":"This is the desynth utility library for style-dictionary tokenized theme","maintainers":[{"name":"xh01r9m","email":"desynth-pos-dev01-test@desynth.dev"}],"readme":"# desynth-style-tokens\n\nDesign tokens de Desynth generados con [Style Dictionary](https://styledictionary.com/).\nFuente de verdad del theming (light / dark / high-contrast / neutral) que\nconsumen `@desynth/web-components` y las apps (admin dashboard, web).\n\n## Build\n\n```bash\nnpm run generate   # tsc + genera dist/ (CSS vars + tokens.json + assets)\n```\n\nSalida en `dist/`:\n\n| Archivo | Contenido |\n|---|---|\n| `assets/css/variables.css` | Tokens modo light (`:root`) |\n| `assets/css/variables-dark.css` | Overrides `[data-mode=\"dark\"]` |\n| `assets/css/variables-hc.css` / `variables-hc-dark.css` | Alto contraste |\n| `assets/css/variables-all.css` | Todo combinado (lo que consumen las apps) |\n| `tokens.json` | Tokens planos para consumo JS |\n\n## Estructura de tokens\n\n```\ntokens/\n  core/color/       rampas (green, blue, amber, navy, neutral...) + semanticos\n  core/font/        familia, sizes, weights, spacing\n  core/size/        radius de borde, padding\n  core/asset/       assets svg\n  components/       typography styles, neutral theme bridge (--app-*)\n```\n\n## Convenciones\n\n- **Un solo accent por tema.** Light: amber (brand primary) + navy (secondary).\n  Dark: teal. `--color-brand-primary-base` es EL accent.\n- **Sin negros/blancos puros** en superficies/texto: `neutral.1000` es off-black\n  `#0a0a0d`; el pop en dark es off-white (`#f4f4f6`), nunca `#fff`.\n- **`darkValue` / `hcValue` / `hcDarkValue`** por token: el formatter\n  `cssDark`/`cssHc*` en `src/app.ts` genera los archivos por modo.\n- **Tema neutral** (`data-theme=\"neutral\"`): bridge `--app-*` para el app\n  multi-tenant black/white. Opt-in por componente vía `var(--app-*, fallback)`.\n\n## Verificación de la cadena\n\n1. `npm run generate` en este repo.\n2. `bash sync-desynth.sh` en `desynth-admin-dashboard` (copia\n   `variables-all.css` → `public/styles/tokens.css`).\n3. En el app: el bundle debe contener `[data-mode=\"dark\"]` y la rampa\n   `--color-background-primary` de ambos modos.","readmeFilename":"README.md"}