{"_id":"@ramoslabs/tokens","name":"@ramoslabs/tokens","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ramoslabs/tokens","version":"0.1.0","description":"RamosLabs design tokens. DTCG JSON is the source; CSS variables, typed values, and a flat JSON map are generated.","license":"MIT","author":{"name":"RAMOS SOLUTIONS S.A.S.","url":"https://ramoslabs.com"},"homepage":"https://ramoslabs.com","repository":{"type":"git","url":"git+https://github.com/SrRamos/ramoslabs-ds.git","directory":"packages/tokens"},"keywords":["design-tokens","design-system","css-variables","dtcg","ramoslabs"],"type":"module","sideEffects":["**/*.css"],"main":"./dist/tokens.js","types":"./dist/tokens.d.ts","exports":{".":{"types":"./dist/tokens.d.ts","import":"./dist/tokens.js"},"./css":"./dist/tokens.css","./json":"./dist/tokens.json"},"publishConfig":{"access":"public"},"scripts":{"build":"style-dictionary build --config style-dictionary.config.mjs","clean":"rm -rf dist","prepack":"style-dictionary build --config style-dictionary.config.mjs"},"devDependencies":{"style-dictionary":"^5.5.0"},"_id":"@ramoslabs/tokens@0.1.0","gitHead":"9faeadc0dc31e8c6d4e5f0e2e8f417f0a67f0fbd","bugs":{"url":"https://github.com/SrRamos/ramoslabs-ds/issues"},"_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-QTCDv3A6+15CrDOwokhjwz1weZOwHBFPivGHVAtSeGyhNFVEZmosais2eAKtwbQpAEe1u8OPQzcvIFSh3m33Gg==","shasum":"d1ae79e73503a3da0f35c2d60837425a19336498","tarball":"https://registry.npmjs.org/@ramoslabs/tokens/-/tokens-0.1.0.tgz","fileCount":7,"unpackedSize":38535,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICwKYasL0nPjStDNJGQ+EnO9Ti/PdKWym6+eCU10rH3IAiEAh9GqPH+zkiWVlu2oZbJ/CW3T8KCuI+0bHHqyrZtkrbc="}]},"_npmUser":{"name":"srramos","email":"edwardramosp@gmail.com"},"directories":{},"maintainers":[{"name":"srramos","email":"edwardramosp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tokens_0.1.0_1783554545346_0.8919947245974715"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-08T23:49:05.229Z","0.1.0":"2026-07-08T23:49:05.535Z","modified":"2026-07-08T23:49:05.871Z"},"maintainers":[{"name":"srramos","email":"edwardramosp@gmail.com"}],"description":"RamosLabs design tokens. DTCG JSON is the source; CSS variables, typed values, and a flat JSON map are generated.","homepage":"https://ramoslabs.com","keywords":["design-tokens","design-system","css-variables","dtcg","ramoslabs"],"repository":{"type":"git","url":"git+https://github.com/SrRamos/ramoslabs-ds.git","directory":"packages/tokens"},"author":{"name":"RAMOS SOLUTIONS S.A.S.","url":"https://ramoslabs.com"},"bugs":{"url":"https://github.com/SrRamos/ramoslabs-ds/issues"},"license":"MIT","readme":"# @ramoslabs/tokens\n\nDesign tokens for the [RamosLabs Design System](https://ramoslabs.com). A mono-indigo,\ntoken-first system: color, spacing, typography, radius, shadow, and motion are defined once\nas DTCG JSON and compiled to CSS variables, typed values, and a flat JSON map.\n\n## Install\n\n```bash\nnpm install @ramoslabs/tokens   # or bun / pnpm / yarn\n```\n\n## Use\n\nImport the CSS variables once at your app entry, then reference them everywhere:\n\n```css\n@import '@ramoslabs/tokens/css';\n\n.card {\n  padding: var(--space-4);\n  color: var(--color-slate-900);\n  background: var(--color-white);\n  border-radius: var(--radius-lg);\n  box-shadow: var(--shadow-md);\n}\n```\n\nTyped values for TypeScript:\n\n```ts\nimport { colorPrimary } from '@ramoslabs/tokens'\n```\n\nThe flat token map (name to resolved value) is available at `@ramoslabs/tokens/json`.\n\n## The one rule\n\nNever hardcode a color, spacing, typography, radius, shadow, or motion value. Always read the\ntoken. Indigo 600 (`#4f46e5`) is the single action accent; violet is a decorative accent only.\n\n## Entry points\n\n- `@ramoslabs/tokens` typed values (ES module + declarations).\n- `@ramoslabs/tokens/css` the CSS custom properties.\n- `@ramoslabs/tokens/json` the flat DTCG token map as JSON.\n\n## License\n\nMIT. (c) 2026 RAMOS SOLUTIONS S.A.S. See [LICENSE](./LICENSE).\n","readmeFilename":"README.md","_rev":"1-74b5a8ed912488164d8abc7ba22d7bc2"}