{"_id":"@dangerousthings/tokens","_rev":"5-9601656e2936845271746c9583ce31dc","name":"@dangerousthings/tokens","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.0":{"name":"@dangerousthings/tokens","version":"0.1.0","license":"MIT","_id":"@dangerousthings/tokens@0.1.0","maintainers":[{"name":"dangerous_tac0s","email":"ops@dangerousthings.com"}],"dist":{"shasum":"6b0c9e9cf3f6d323756ba2b7a7b5bdcc1228e031","tarball":"https://registry.npmjs.org/@dangerousthings/tokens/-/tokens-0.1.0.tgz","fileCount":28,"integrity":"sha512-+SH37ru5ihNsDneg7LW+nL2H/N5qmUCVHFbJTim7mOsNp/pO+IUjh4N9eKl+CRTocxGbxFH4ZnqszVgV1GJFyw==","signatures":[{"sig":"MEUCIGrvx3tKiM/ArOxVKgqwrKD6W1J0IMEgJlIR4CNi1IwYAiEA40PKhOLyAd8PKAkzJqIZkc5ChHzQ/WNNP7pZlvOMhII=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34879},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./css/*":"./dist/css/*","./brands/*":{"types":"./dist/brands/*.d.ts","import":"./dist/brands/*.js"}},"scripts":{"build":"tsc && node dist/scripts/generate-css.js","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"dangerous_tac0s","email":"ops@dangerousthings.com"},"_npmVersion":"10.8.2","description":"Canonical design tokens for the Dangerous Things design system","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.0","@types/node":"^25.3.3"},"_npmOperationalInternal":{"tmp":"tmp/tokens_0.1.0_1772582882467_0.14169785487138742","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@dangerousthings/tokens","version":"0.2.0","license":"MIT","_id":"@dangerousthings/tokens@0.2.0","maintainers":[{"name":"dangerous_tac0s","email":"ops@dangerousthings.com"}],"dist":{"shasum":"488d6de8761699d797f0385c663cd8df202ac951","tarball":"https://registry.npmjs.org/@dangerousthings/tokens/-/tokens-0.2.0.tgz","fileCount":28,"integrity":"sha512-aQ3fc2cSpdGyY/eigKB1CFKfWXkkxqsnW6md2/31iOHCP1ZzyKO5dgIjlrlhjEMjIBLFw/uMvnO0zx6zzAItqg==","signatures":[{"sig":"MEUCIQCC2qXB2wpVadS9il2r7gqermVYhk6w7PMu6n3QwDUjdQIgJbrulAT1ZW8pCMBCM7iyoETYfUaX1kfdmpsJK7hHGfs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34879},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./css/*":"./dist/css/*","./brands/*":{"types":"./dist/brands/*.d.ts","import":"./dist/brands/*.js"}},"gitHead":"ab29707b50c80f4f47cbe85966fa408b52fb3d78","scripts":{"build":"tsc && node dist/scripts/generate-css.js","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"dangerous_tac0s","email":"ops@dangerousthings.com"},"_npmVersion":"10.9.4","description":"Canonical design tokens for the Dangerous Things design system","directories":{},"_nodeVersion":"22.22.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.0","@types/node":"^25.3.3"},"_npmOperationalInternal":{"tmp":"tmp/tokens_0.2.0_1772598054196_0.9593577726290243","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@dangerousthings/tokens","version":"0.2.1","license":"MIT","_id":"@dangerousthings/tokens@0.2.1","maintainers":[{"name":"dangerous_tac0s","email":"ops@dangerousthings.com"}],"dist":{"shasum":"9026641560103debf00a6d1f4a320b291e5b22e2","tarball":"https://registry.npmjs.org/@dangerousthings/tokens/-/tokens-0.2.1.tgz","fileCount":30,"integrity":"sha512-+OoIxkKmuobblHWVWqPjDC2TcGa4GAPY4GhjfWgixGtgd8JR+TrsOiKYIA6DQfstbV86v1tuPAdk+n/gyIJD5Q==","signatures":[{"sig":"MEUCIES18NS+eLQIsvkCfAo+Ax5pVfjIcVEWw2m+A3I/VWZrAiEAivNaCQ6I2DTRtTdz2STNA1lW1GA7Lp41YsAJuhyQvgo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38191},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./css/*":"./dist/css/*","./brands/*":{"types":"./dist/brands/*.d.ts","import":"./dist/brands/*.js"}},"gitHead":"ca55f5a497e378a5d20be6cb71e8bffecec91414","scripts":{"build":"tsc && node dist/scripts/generate-css.js","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"dangerous_tac0s","email":"ops@dangerousthings.com"},"_npmVersion":"10.9.4","description":"Canonical design tokens for the Dangerous Things design system","directories":{},"_nodeVersion":"22.22.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.0","@types/node":"^25.3.3"},"_npmOperationalInternal":{"tmp":"tmp/tokens_0.2.1_1772599119489_0.9069949067095282","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@dangerousthings/tokens","version":"0.3.0","keywords":["dangerousthings","design-system","design-tokens","css-custom-properties","theming"],"author":{"name":"Dangerous Things","email":"info@dangerousthings.com"},"license":"MIT","_id":"@dangerousthings/tokens@0.3.0","maintainers":[{"name":"dangerous_tac0s","email":"ops@dangerousthings.com"}],"homepage":"https://github.com/dangerous-tac0s/dt-design-system#readme","bugs":{"url":"https://github.com/dangerous-tac0s/dt-design-system/issues"},"dist":{"shasum":"525857d61fb95e1e44155451749b66f0671bcdf1","tarball":"https://registry.npmjs.org/@dangerousthings/tokens/-/tokens-0.3.0.tgz","fileCount":25,"integrity":"sha512-tc38YJJVdnshZ+URtt1gklGi9cdKv2HpTKQiNpjmwx34qGcdCtcJhv9dGoxVn1cM/hDL0+cBXJqdI10QtDf4cQ==","signatures":[{"sig":"MEUCIQDlM3xJZ1wuVlO+L30FkTVNkObwJD7+P7P/SQJoq+y/HwIgZ6pxAMg5CegufYgaAyBOaZrzT8upsTMiZpkZxxmEQ+Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38803},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./css/*":"./dist/css/*","./brands/*":{"types":"./dist/brands/*.d.ts","import":"./dist/brands/*.js"}},"gitHead":"a7fa6fba84991be42cb171ebc7b523517966625f","scripts":{"build":"tsc && node dist/scripts/generate-css.js","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"dangerous_tac0s","email":"ops@dangerousthings.com"},"repository":{"url":"git+https://github.com/dangerous-tac0s/dt-design-system.git","type":"git","directory":"packages/tokens"},"_npmVersion":"10.9.4","description":"Canonical design tokens for the Dangerous Things design system","directories":{},"_nodeVersion":"22.22.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.0","@types/node":"^25.3.3"},"_npmOperationalInternal":{"tmp":"tmp/tokens_0.3.0_1772910306357_0.245388134106159","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@dangerousthings/tokens","version":"0.4.0","description":"Canonical design tokens for the Dangerous Things design system","license":"MIT","author":{"name":"Dangerous Things","email":"info@dangerousthings.com"},"repository":{"type":"git","url":"https://git.dngr.us/DangerousThings/dt-design-system.git","directory":"packages/tokens"},"homepage":"https://git.dngr.us/DangerousThings/dt-design-system#readme","keywords":["dangerousthings","design-system","design-tokens","css-custom-properties","theming"],"engines":{"node":">=18.0.0"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./brands/*":{"types":"./dist/brands/*.d.ts","import":"./dist/brands/*.js"},"./css/*":"./dist/css/*"},"main":"dist/index.js","types":"dist/index.d.ts","publishConfig":{"access":"public"},"scripts":{"build":"tsc && node dist/scripts/generate-css.js && node dist/scripts/cb-check.js","cb-check":"node dist/scripts/cb-check.js","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"devDependencies":{"@types/node":"^25.3.3","typescript":"^5.7.0"},"_id":"@dangerousthings/tokens@0.4.0","gitHead":"ed1d3c060be1235e75b77b480d8c8294e5bf7a45","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Ts78mll3kGUtU80QCMdA5zHgPAjogYnuckizHaK2sFz72ZjFyfsLEJpzCe682mlRZZYiRIZtnp04beOTa3ILNg==","shasum":"6c244bec0346783d0e5fdc42eb86161c50d42211","tarball":"https://registry.npmjs.org/@dangerousthings/tokens/-/tokens-0.4.0.tgz","fileCount":38,"unpackedSize":72467,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDua4IG6PJdt1QaU1pEMjVpHw+MLBlHpCde+W4F4xoFHAIhAOHfZEliCw30W0pufdCjxTVe0v3s7Mzvb+mB783h1Y4p"}]},"_npmUser":{"name":"dangerous_tac0s","email":"ops@dangerousthings.com"},"directories":{},"maintainers":[{"name":"dangerous_tac0s","email":"ops@dangerousthings.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tokens_0.4.0_1789305695238_0.34428613754157844"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-04T00:08:02.346Z","modified":"2026-09-13T13:21:35.523Z","0.1.0":"2026-03-04T00:08:02.604Z","0.2.0":"2026-03-04T04:20:54.351Z","0.2.1":"2026-03-04T04:38:39.626Z","0.3.0":"2026-03-07T19:05:06.506Z","0.4.0":"2026-09-13T13:21:35.371Z"},"author":{"name":"Dangerous Things","email":"info@dangerousthings.com"},"license":"MIT","homepage":"https://git.dngr.us/DangerousThings/dt-design-system#readme","keywords":["dangerousthings","design-system","design-tokens","css-custom-properties","theming"],"repository":{"type":"git","url":"https://git.dngr.us/DangerousThings/dt-design-system.git","directory":"packages/tokens"},"description":"Canonical design tokens for the Dangerous Things design system","maintainers":[{"name":"dangerous_tac0s","email":"ops@dangerousthings.com"}],"readme":"# @dangerousthings/tokens\n\nCanonical design tokens for the Dangerous Things design system — colors, typography, and shape values defined in TypeScript and exported as CSS custom properties.\n\n## Install\n\n```bash\nnpm install @dangerousthings/tokens\n```\n\n## Brands\n\nTwo brand themes are included:\n\n| Brand | Description |\n|-------|-------------|\n| **dt** | Neon cyberpunk — Tektur font, beveled corners, cyan/yellow/magenta palette |\n| **classic** | Dark navy with magenta accents, standard border radius |\n\nEach brand provides dark and light mode values.\n\n## Usage\n\n### TypeScript / JavaScript\n\n```ts\nimport { dt } from \"@dangerousthings/tokens/brands/dt\";\n\nconsole.log(dt.color.dark.primary);  // \"#00ffff\"\nconsole.log(dt.typography.heading);  // \"Tektur Variable\"\nconsole.log(dt.shape.bevelMd);       // \"2rem\"\n```\n\nImport all brands at once:\n\n```ts\nimport { brands } from \"@dangerousthings/tokens\";\n\nObject.keys(brands); // [\"dt\", \"classic\"]\n```\n\n### Types\n\n```ts\nimport type { BrandTokens, ColorTokens, ThemeBrand } from \"@dangerousthings/tokens\";\n```\n\n### CSS Custom Properties\n\nGenerated CSS files are available per brand:\n\n```css\n@import \"@dangerousthings/tokens/css/dt.css\";\n```\n\nThis provides custom properties like `--color-primary`, `--color-primary-rgb`, `--font-heading`, `--bevel-md`, etc.\n\n## Exports\n\n| Path | Description |\n|------|-------------|\n| `@dangerousthings/tokens` | All brands, theme definitions, and types |\n| `@dangerousthings/tokens/brands/dt` | DT brand tokens |\n| `@dangerousthings/tokens/brands/classic` | Classic brand tokens |\n| `@dangerousthings/tokens/css/dt.css` | DT CSS custom properties |\n| `@dangerousthings/tokens/css/classic.css` | Classic CSS custom properties |\n\n## Token Categories\n\n- **Color** — background, surface, text, brand primary/secondary/accent, semantic (success, warning, error, info)\n- **Typography** — heading, body, and mono font families\n- **Shape** — bevel sizes (sm/md/lg) and border radius (sm/md/lg)\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}