{"_id":"@agentica-ds/tokens","_rev":"6-37a8cc01df0cb11d33af7993a1b66174","name":"@agentica-ds/tokens","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0":{"name":"@agentica-ds/tokens","version":"0.1.0","license":"MIT","_id":"@agentica-ds/tokens@0.1.0","maintainers":[{"name":"gnegreiros","email":"gnegreiros@proton.me"}],"dist":{"shasum":"d4a3c5b35c041c03dab0589ca07d0d2721e11270","tarball":"https://registry.npmjs.org/@agentica-ds/tokens/-/tokens-0.1.0.tgz","fileCount":13,"integrity":"sha512-3dYkzO0lYr8yLH1YZ79yUa0dAw3WKqGUgPkdoawU2AjG0NuAKK69fKHzBeEGG7vXBwvN9tW89IRdlNAPIYOMAA==","signatures":[{"sig":"MEYCIQCV6S/EkRu/L4EtcOoETxdeEoFzJkXhtf8/1Je14m0WEgIhAIcB0mXISpaBQcFfkWLLEbF1RwyVBTtGUyiU2223SZFK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":310976},"type":"module","exports":{"./js":"./js/tokens.js","./css":"./css/all.css","./css/dark":"./css/dark.css","./tailwind":"./tailwind/tokens.js","./css/semantic":"./css/semantic.css","./package.json":"./package.json","./css/components":"./css/components.css","./css/primitives":"./css/primitives.css"},"gitHead":"a962c1eab01b0ea43ac5274ba518c51e4e5c4605","scripts":{"build":"node build.js"},"_npmUser":{"name":"gnegreiros","email":"gnegreiros@proton.me"},"_npmVersion":"11.6.1","description":"Agentica design tokens — compiled CSS custom properties, JS ES6 exports, and Tailwind config extension, plus the raw three-layer DTCG JSON source.","directories":{},"_nodeVersion":"22.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tokens_0.1.0_1784296020260_0.591359878013221","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@agentica-ds/tokens","version":"0.1.1","license":"MIT","_id":"@agentica-ds/tokens@0.1.1","maintainers":[{"name":"gnegreiros","email":"gnegreiros@proton.me"}],"dist":{"shasum":"2d948feec0fd19571841afb6793be75057e9346c","tarball":"https://registry.npmjs.org/@agentica-ds/tokens/-/tokens-0.1.1.tgz","fileCount":14,"integrity":"sha512-4UtwZXKQON9rzK8xXwjOdp6TsZzb6WtKCDOEdJZE1uE+CsrP3fr+lnzGCIglCPJqn6g9+/BLga1fDMrZRm+8nA==","signatures":[{"sig":"MEUCIH2gSuAH8sQZx9JiIibHnyy7Lw5Do+zhujiOnPBYOy9mAiEAzlkCdoOPQPTySqFAXSeNJkgyvsv8Mqpvg7lXUMx4tiE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":313415},"type":"module","exports":{"./js":"./js/tokens.js","./css":"./css/all.css","./css/dark":"./css/dark.css","./tailwind":"./tailwind/tokens.js","./css/semantic":"./css/semantic.css","./package.json":"./package.json","./css/components":"./css/components.css","./css/primitives":"./css/primitives.css"},"gitHead":"93911cd9361e066dfcdb95bf0d09b9608ea78f52","scripts":{"build":"node build.js"},"_npmUser":{"name":"gnegreiros","email":"gnegreiros@proton.me"},"_npmVersion":"11.6.1","description":"Agentica design tokens — compiled CSS custom properties, JS ES6 exports, and Tailwind config extension, plus the raw three-layer DTCG JSON source.","directories":{},"_nodeVersion":"22.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tokens_0.1.1_1784298586207_0.31372260638138805","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@agentica-ds/tokens","version":"0.1.2","license":"MIT","_id":"@agentica-ds/tokens@0.1.2","maintainers":[{"name":"gnegreiros","email":"gnegreiros@proton.me"}],"homepage":"https://agentica.design","bugs":{"url":"https://github.com/gnegreiros-ux/agentic-design-system/issues"},"dist":{"shasum":"24e9b90272087344ee043512f3a57adfe87d6d1f","tarball":"https://registry.npmjs.org/@agentica-ds/tokens/-/tokens-0.1.2.tgz","fileCount":14,"integrity":"sha512-7DsaOUtYZk4Macr8U+BTu7SQQyQGDj8zGu4iwjFJkROhHh3me0HHAYCbobWu0L2N0RhKVmv9zBadLFGRb35myA==","signatures":[{"sig":"MEUCIEyGS+3v6DThiHIdVmX7A8ophCNDJSiPooeDWKs1p5loAiEAq1R87nR9rVYW8zOLBB6ocJZ7GofpAhPHDouMJEwontk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentica-ds%2ftokens@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":313702},"type":"module","exports":{"./js":"./js/tokens.js","./css":"./css/all.css","./css/dark":"./css/dark.css","./tailwind":"./tailwind/tokens.js","./css/semantic":"./css/semantic.css","./package.json":"./package.json","./css/components":"./css/components.css","./css/primitives":"./css/primitives.css"},"gitHead":"ce99de44b2bc6aa350a3d7367ebb86458990cfb5","scripts":{"build":"node build.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d6aeeb9f-4f2c-4441-bc8c-0522d7de5d91"}},"repository":{"url":"git+https://github.com/gnegreiros-ux/agentic-design-system.git","type":"git","directory":"packages/tokens"},"_npmVersion":"11.18.0","description":"Agentica design tokens — compiled CSS custom properties, JS ES6 exports, and Tailwind config extension, plus the raw three-layer DTCG JSON source.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tokens_0.1.2_1784305367194_0.8897458747299181","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@agentica-ds/tokens","version":"0.1.3","keywords":["design-tokens","design-system","css-custom-properties","dtcg","tailwind","agentica"],"license":"MIT","_id":"@agentica-ds/tokens@0.1.3","maintainers":[{"name":"gnegreiros","email":"gnegreiros@proton.me"}],"homepage":"https://agentica.design","bugs":{"url":"https://github.com/gnegreiros-ux/agentic-design-system/issues"},"dist":{"shasum":"dd057f1af5e3ce4e8fb6839d82c47a6bea5d9341","tarball":"https://registry.npmjs.org/@agentica-ds/tokens/-/tokens-0.1.3.tgz","fileCount":14,"integrity":"sha512-V/3lf6MWvDkN5sXYv2g/kvxqj9DZduUBw32pWXNJOwK/zhDdZSe8secH/aAZfzu7sZ0MWfJi3lpqlPKmxTQ+/A==","signatures":[{"sig":"MEUCIFdjMhPo9jOLC5xFOQZLooFwfkY06qjEvboqeXNSOLOQAiEA/yNiaoHwkmGrjsuS2MLbKc57ayCvS3qvvxdlWCl+GC4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentica-ds%2ftokens@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":313837},"type":"module","exports":{"./js":"./js/tokens.js","./css":"./css/all.css","./css/dark":"./css/dark.css","./tailwind":"./tailwind/tokens.js","./css/semantic":"./css/semantic.css","./package.json":"./package.json","./css/components":"./css/components.css","./css/primitives":"./css/primitives.css"},"gitHead":"226af34f86d5f3f4f31e9e9d92fcdf920ec59d21","scripts":{"build":"node build.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d6aeeb9f-4f2c-4441-bc8c-0522d7de5d91"}},"repository":{"url":"git+https://github.com/gnegreiros-ux/agentic-design-system.git","type":"git","directory":"packages/tokens"},"_npmVersion":"11.18.0","description":"Agentica design tokens — compiled CSS custom properties, JS ES6 exports, and Tailwind config extension, plus the raw three-layer DTCG JSON source.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tokens_0.1.3_1784305833277_0.5692358077461244","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@agentica-ds/tokens","version":"1.0.0","keywords":["design-tokens","design-system","css-custom-properties","dtcg","tailwind","agentica"],"license":"Apache-2.0","_id":"@agentica-ds/tokens@1.0.0","maintainers":[{"name":"gnegreiros","email":"gnegreiros@proton.me"}],"homepage":"https://agentica.design","bugs":{"url":"https://github.com/gnegreiros-ux/agentica-design-system/issues"},"dist":{"shasum":"a5852d9f7a51b36f2876a046961d867a58b79d2f","tarball":"https://registry.npmjs.org/@agentica-ds/tokens/-/tokens-1.0.0.tgz","fileCount":15,"integrity":"sha512-HxdpsmNAArDQojCooKzTVDViszD46Y6DcGq6J6br9JVVoFrr5dgqYJia0Yxi6wYx94fUTkfXDKn1Tl2sjudLgA==","signatures":[{"sig":"MEQCIAHbU9ozEPy2NKrEi8L58ErGlQZ3j2v15G9+zZIfn/APAiBUC8Udj0cLk+Ya8kiBJmJWUnh+TxQJs2Vx66BbrxrhKw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":354997},"type":"module","exports":{"./js":"./js/tokens.js","./css":"./css/all.css","./css/dark":"./css/dark.css","./tailwind":"./tailwind/tokens.js","./css/semantic":"./css/semantic.css","./package.json":"./package.json","./css/components":"./css/components.css","./css/primitives":"./css/primitives.css"},"gitHead":"d7be740bd3756f426a1acb29285498f0062b4c88","scripts":{"build":"node build.js"},"_npmUser":{"name":"gnegreiros","email":"gnegreiros@proton.me"},"repository":{"url":"git+https://github.com/gnegreiros-ux/agentica-design-system.git","type":"git","directory":"packages/tokens"},"_npmVersion":"11.6.1","description":"Agentica design tokens — compiled CSS custom properties, JS ES6 exports, and Tailwind config extension, plus the raw three-layer DTCG JSON source.","directories":{},"_nodeVersion":"22.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tokens_1.0.0_1789230201906_0.7657484269106078","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"_id":"@agentica-ds/tokens@1.1.0","bugs":{"url":"https://github.com/gnegreiros-ux/agentica-design-system/issues"},"dist":{"shasum":"78a11239d4f2b103351ac7627deb8aaeb8036836","tarball":"https://registry.npmjs.org/@agentica-ds/tokens/-/tokens-1.1.0.tgz","fileCount":15,"integrity":"sha512-LcHuOHQEvDRVWHmqUI1F0MkGEiMmWlyrgQJgrKU/73usUg10hW7BYq1HtSmG6cNhKRIDZ0qWtDrzfFgsqCYxOA==","signatures":[{"sig":"MEQCIB0qlkSGLUCWqQJ9mxvxEFMH7qxAYNuaKRp/GrSDYiqJAiAxTujmcRYCT6/irF1w5kSvmQWPxnK97rdMhr/SnZG69w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD8tk5oy7XXLEI7J2y8gIEO5xoSK93G89UDB6Swlm7DKQIhAO59FiIv8f6+9DjPQYXDFdWdF+l4lwLI5RPu3YehGkIG"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agentica-ds%2ftokens@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":357115},"name":"@agentica-ds/tokens","type":"module","exports":{"./js":"./js/tokens.js","./css":"./css/all.css","./css/dark":"./css/dark.css","./tailwind":"./tailwind/tokens.js","./css/semantic":"./css/semantic.css","./package.json":"./package.json","./css/components":"./css/components.css","./css/primitives":"./css/primitives.css"},"gitHead":"43b11f0ba37c0efd2673bbe237733fd4e6c29abb","license":"Apache-2.0","scripts":{"build":"node build.js"},"version":"1.1.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"190713b5-1b5e-4416-b45c-5d25289cd687"}},"homepage":"https://agentica.design","keywords":["design-tokens","design-system","css-custom-properties","dtcg","tailwind","agentica"],"repository":{"url":"git+https://github.com/gnegreiros-ux/agentica-design-system.git","type":"git","directory":"packages/tokens"},"_npmVersion":"11.21.0","description":"Agentica design tokens — compiled CSS custom properties, JS ES6 exports, and Tailwind config extension, plus the raw three-layer DTCG JSON source.","directories":{},"maintainers":[{"name":"gnegreiros","email":"gnegreiros@proton.me"}],"_nodeVersion":"22.23.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tokens_1.1.0_1790966677905_0.4396977778383515"}}},"time":{"created":"2026-07-17T13:47:00.062Z","modified":"2026-10-02T18:44:38.360Z","0.1.0":"2026-07-17T13:47:00.453Z","0.1.1":"2026-07-17T14:29:46.357Z","0.1.2":"2026-07-17T16:22:47.316Z","0.1.3":"2026-07-17T16:30:33.445Z","1.0.0":"2026-09-12T16:23:22.051Z","1.1.0":"2026-10-02T18:44:38.011Z"},"bugs":{"url":"https://github.com/gnegreiros-ux/agentica-design-system/issues"},"license":"Apache-2.0","homepage":"https://agentica.design","keywords":["design-tokens","design-system","css-custom-properties","dtcg","tailwind","agentica"],"repository":{"url":"git+https://github.com/gnegreiros-ux/agentica-design-system.git","type":"git","directory":"packages/tokens"},"description":"Agentica design tokens — compiled CSS custom properties, JS ES6 exports, and Tailwind config extension, plus the raw three-layer DTCG JSON source.","maintainers":[{"name":"gnegreiros","email":"gnegreiros@proton.me"}],"readme":"# @agentica-ds/tokens\n\nAgentica's design tokens — compiled CSS custom properties, JS ES6 exports, and a\nTailwind config extension, plus the raw three-layer DTCG JSON source\n(primitive → semantic → component).\n\nArchitecture decided in [ADR-072](https://github.com/gnegreiros-ux/agentica-design-system/blob/main/decisions/ADR-072-npm-package-architecture.md)\n(npm scope corrected in [ADR-073](https://github.com/gnegreiros-ux/agentica-design-system/blob/main/decisions/ADR-073-npm-scope-correction.md)).\n\n## Install\n\n```bash\nnpm install @agentica-ds/tokens\n```\n\n## Usage\n\n### CSS custom properties\n\n```html\n<link rel=\"stylesheet\" href=\"node_modules/@agentica-ds/tokens/css/all.css\">\n<link rel=\"stylesheet\" href=\"node_modules/@agentica-ds/tokens/css/dark.css\">\n```\n\n`all.css` defines every primitive, semantic, and component-level token as a\n`--agtc-*` custom property. `dark.css` layers dark-mode overrides under\n`[data-theme=\"dark\"]` — load it after `all.css`.\n\nIndividual layers are also available if you only need a subset:\n\n```html\n<link rel=\"stylesheet\" href=\"node_modules/@agentica-ds/tokens/css/primitives.css\">\n<link rel=\"stylesheet\" href=\"node_modules/@agentica-ds/tokens/css/semantic.css\">\n<link rel=\"stylesheet\" href=\"node_modules/@agentica-ds/tokens/css/components.css\">\n```\n\n### JavaScript (ESM)\n\n```js\nimport { SemanticColorActionPrimary } from '@agentica-ds/tokens/js';\n```\n\n### Tailwind CSS\n\n```js\n// tailwind.config.js\nimport agtc from '@agentica-ds/tokens/tailwind';\n\nexport default { theme: { extend: agtc } };\n```\n\nRequires `@agentica-ds/tokens/css` to be loaded for the underlying `var()`\nreferences to resolve.\n\n### Raw token source\n\nThe raw DTCG JSON (`primitives.json`, `semantic.json`, `semantic.dark.json`,\n`component.json`) ships under `tokens/` for internal tooling (Tokens Studio sync,\naudit scripts). It is **not** the primary interface for consuming teams — use the\ncompiled CSS/JS/Tailwind exports above instead.\n\n## Token levels\n\n| Level | Role |\n|-------|------|\n| Primitive | Raw values (colors, spacing, radii, font sizes) |\n| Semantic | Business intent (`color.action.primary`, `space.control.padding`) |\n| Component | Institutional contracts per component |\n\n`@agentica-ds/components` is not a dependency of this package — components consume\nthese CSS custom properties by DOM inheritance, not by JS import. Load\n`@agentica-ds/tokens/css` before mounting `agtc-*` components.\n\n## License\n\nApache License 2.0\n","readmeFilename":"README.md"}