{"_id":"@bttrlabs/tokens","_rev":"7-2895ec02f7aeef1540afe164812ec075","name":"@bttrlabs/tokens","dist-tags":{"latest":"1.3.1"},"versions":{"2.0.0":{"name":"@bttrlabs/tokens","version":"2.0.0","keywords":[],"author":"","license":"MIT","_id":"@bttrlabs/tokens@2.0.0","maintainers":[{"name":"omptl","email":"ompatel.op11@gmail.com"}],"homepage":"https://github.com/omptl/bttr-design-system#readme","bugs":{"url":"https://github.com/omptl/bttr-design-system/issues"},"dist":{"shasum":"36d1b18ea7dd1aee1ed5fb59aa0521cb7fd8953a","tarball":"https://registry.npmjs.org/@bttrlabs/tokens/-/tokens-2.0.0.tgz","fileCount":9,"integrity":"sha512-zNAJnsaeyqcHzuMF0V3qIjf2TKgdgA8bINDP4x70cVB9TaBZFv2iPdBajECz0NouTNU42OwmM7rPWaCx9tR78A==","signatures":[{"sig":"MEUCIQDkvmwaawGdJCATyJvQnQv+qqInSB1v+p6skx0TF99d6QIgESdn618gmbRlvX6JTFZTFmgklMhW9lAt1DWazI4O8/s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79741},"main":"./dist/theme/index.js","_from":"file:bttrlabs-tokens-2.0.0.tgz","types":"./dist/theme/index.d.ts","module":"./dist/theme/index.mjs","prepare":"pnpm build","scripts":{"dev":"pnpm dev:tokens & pnpm dev:theme","lint":"eslint src/","test":"vitest","build":"pnpm clean && pnpm build:tokens && pnpm build:theme","clean":"rimraf dist","dev:theme":"tsup src/theme/index.ts --format esm,cjs --dts --out-dir dist/theme --watch","dev:tokens":"node scripts/build-tokens.js --watch","build:theme":"tsup src/theme/index.ts --format esm,cjs --out-dir dist/theme --tsconfig tsconfig.json","build:tokens":"node scripts/build-tokens.js"},"_npmUser":{"name":"omptl","email":"ompatel.op11@gmail.com"},"_resolved":"/tmp/92e7c2f7e59999e80a6ecde472f3b9ef/bttrlabs-tokens-2.0.0.tgz","_integrity":"sha512-zNAJnsaeyqcHzuMF0V3qIjf2TKgdgA8bINDP4x70cVB9TaBZFv2iPdBajECz0NouTNU42OwmM7rPWaCx9tR78A==","repository":{"url":"git+https://github.com/omptl/bttr-design-system.git","type":"git","directory":"packages/tokens"},"_npmVersion":"10.8.2","description":"Design tokens for the Bttr Design System","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","react":"^18.2.0","eslint":"^8.57.0","rimraf":"^5.0.0","vitest":"^1.5.2","chokidar":"^3.6.0","typescript":"^5.4.5","@types/react":"^18.2.79","style-dictionary":"^3.9.2","@tokens-studio/sd-transforms":"^0.13.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/tokens_2.0.0_1760880578533_0.9762397597847288","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@bttrlabs/tokens","version":"1.0.2","keywords":[],"author":"","license":"MIT","_id":"@bttrlabs/tokens@1.0.2","maintainers":[{"name":"omptl","email":"ompatel.op11@gmail.com"}],"homepage":"https://github.com/omptl/bttr-design-system#readme","bugs":{"url":"https://github.com/omptl/bttr-design-system/issues"},"dist":{"shasum":"f9313ff9b1f695ad9b24f96bf91d2dd61a039b3e","tarball":"https://registry.npmjs.org/@bttrlabs/tokens/-/tokens-1.0.2.tgz","fileCount":10,"integrity":"sha512-mviJtbqWoDyI4kkVXmGUt5/Icx3ypEL5ew2sMGIojks0zE2W8nOIRlZ4fc+0bRaXWetEpLShGVE6pacmaWqDlA==","signatures":[{"sig":"MEYCIQDdGiqs8ewlWjaoYZ8rP9gVFgiP3d3bTl7CWNZIZLhYdgIhAMw7UUJaleYIWKpJVkhI9MRtMjA80C4R2wjtHCCVPhut","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82029},"main":"./dist/theme/index.js","_from":"file:bttrlabs-tokens-1.0.2.tgz","types":"./dist/theme/index.d.ts","module":"./dist/theme/index.mjs","prepare":"pnpm build","scripts":{"dev":"pnpm dev:tokens & pnpm dev:theme","lint":"eslint src/","test":"vitest","build":"pnpm clean && pnpm build:tokens && pnpm build:theme","clean":"rimraf dist","dev:theme":"tsup src/theme/index.ts --format esm,cjs --dts --out-dir dist/theme --watch","dev:tokens":"node scripts/build-tokens.js --watch","build:theme":"tsup src/theme/index.ts --format esm,cjs --out-dir dist/theme --tsconfig tsconfig.json","build:tokens":"node scripts/build-tokens.js"},"_npmUser":{"name":"omptl","email":"ompatel.op11@gmail.com"},"_resolved":"/tmp/b059ca9d557e9723ec4336dd0675096a/bttrlabs-tokens-1.0.2.tgz","_integrity":"sha512-mviJtbqWoDyI4kkVXmGUt5/Icx3ypEL5ew2sMGIojks0zE2W8nOIRlZ4fc+0bRaXWetEpLShGVE6pacmaWqDlA==","repository":{"url":"git+https://github.com/omptl/bttr-design-system.git","type":"git","directory":"packages/tokens"},"_npmVersion":"10.8.2","description":"Design tokens for the Bttr Design System","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","react":"^18.2.0","eslint":"^8.57.0","rimraf":"^5.0.0","vitest":"^1.5.2","chokidar":"^3.6.0","typescript":"^5.4.5","@types/react":"^18.2.79","style-dictionary":"^3.9.2","@tokens-studio/sd-transforms":"^0.13.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/tokens_1.0.2_1760972123304_0.7452304736162254","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@bttrlabs/tokens","version":"1.1.0","keywords":[],"author":"","license":"MIT","_id":"@bttrlabs/tokens@1.1.0","maintainers":[{"name":"omptl","email":"ompatel.op11@gmail.com"}],"homepage":"https://github.com/omptl/bttr-design-system#readme","bugs":{"url":"https://github.com/omptl/bttr-design-system/issues"},"dist":{"shasum":"d4c6b110235d3fd076a9799873e7765f835e789e","tarball":"https://registry.npmjs.org/@bttrlabs/tokens/-/tokens-1.1.0.tgz","fileCount":10,"integrity":"sha512-mm4jN9ZcKR7zbI3DYBAoCggO3fqK5GyXF1au28R92VHRNVyps7jpf1ZrWSC4yWo4P8eUPWs8TjtGiHrQPyH2mg==","signatures":[{"sig":"MEUCIQDiSqXKkAkZpCary+KwiiZAZbc05k345DRnuOd4MHGvxwIgJS+If1owuS5my65X2PnQdc5GQmfc++Q1UqmsAw6LeMs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82363},"main":"./dist/theme/index.js","_from":"file:bttrlabs-tokens-1.1.0.tgz","types":"./dist/theme/index.d.ts","module":"./dist/theme/index.mjs","prepare":"pnpm build","scripts":{"dev":"pnpm dev:tokens & pnpm dev:theme","lint":"eslint src/","test":"vitest","build":"pnpm clean && pnpm build:tokens && pnpm build:theme","clean":"rimraf dist","dev:theme":"tsup src/theme/index.ts --format esm,cjs --dts --out-dir dist/theme --watch","dev:tokens":"node scripts/build-tokens.js --watch","build:theme":"tsup src/theme/index.ts --format esm,cjs --out-dir dist/theme --tsconfig tsconfig.json","build:tokens":"node scripts/build-tokens.js"},"_npmUser":{"name":"omptl","email":"ompatel.op11@gmail.com"},"_resolved":"/tmp/162f5978937bc3e098e596f1bfb70077/bttrlabs-tokens-1.1.0.tgz","_integrity":"sha512-mm4jN9ZcKR7zbI3DYBAoCggO3fqK5GyXF1au28R92VHRNVyps7jpf1ZrWSC4yWo4P8eUPWs8TjtGiHrQPyH2mg==","repository":{"url":"git+https://github.com/omptl/bttr-design-system.git","type":"git","directory":"packages/tokens"},"_npmVersion":"10.8.2","description":"Design tokens for the Bttr Design System","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","react":"^18.2.0","eslint":"^8.57.0","rimraf":"^5.0.0","vitest":"^1.5.2","chokidar":"^3.6.0","typescript":"^5.4.5","@types/react":"^18.2.79","style-dictionary":"^3.9.2","@tokens-studio/sd-transforms":"^0.13.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/tokens_1.1.0_1760982579374_0.33760061074988434","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@bttrlabs/tokens","version":"1.1.1","keywords":[],"author":"","license":"MIT","_id":"@bttrlabs/tokens@1.1.1","maintainers":[{"name":"omptl","email":"ompatel.op11@gmail.com"}],"homepage":"https://github.com/omptl/bttr-design-system#readme","bugs":{"url":"https://github.com/omptl/bttr-design-system/issues"},"dist":{"shasum":"f1963e3bbf5102c2095f4d9dc75b9350d715231e","tarball":"https://registry.npmjs.org/@bttrlabs/tokens/-/tokens-1.1.1.tgz","fileCount":10,"integrity":"sha512-R6pauZcoDWxDdXfafSeWctC6CVV7z9jHh4673IQlfZxxVMO+VtOizPg60lWKqzbj3/jVxAajNn7chr6hJ411Rg==","signatures":[{"sig":"MEUCIQCgm6jh4B+0jWjhi2ALabVWguqtZy3JACC2ClNk8dAXXwIgavklz32r8HXBedRCICRP5m+RtJnjmS2rz3hJLMdIl/M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82347},"main":"./dist/theme/index.js","_from":"file:bttrlabs-tokens-1.1.1.tgz","types":"./dist/theme/index.d.ts","module":"./dist/theme/index.mjs","prepare":"pnpm build","scripts":{"dev":"pnpm dev:tokens & pnpm dev:theme","lint":"eslint src/","test":"vitest","build":"pnpm clean && pnpm build:tokens && pnpm build:theme","clean":"rimraf dist","dev:theme":"tsup src/theme/index.ts --format esm,cjs --dts --out-dir dist/theme --watch","dev:tokens":"node scripts/build-tokens.js --watch","build:theme":"tsup src/theme/index.ts --format esm,cjs --out-dir dist/theme --tsconfig tsconfig.json","build:tokens":"node scripts/build-tokens.js"},"_npmUser":{"name":"omptl","email":"ompatel.op11@gmail.com"},"_resolved":"/tmp/de119ddc413e1a5b9cc4e1ad9d5d5443/bttrlabs-tokens-1.1.1.tgz","_integrity":"sha512-R6pauZcoDWxDdXfafSeWctC6CVV7z9jHh4673IQlfZxxVMO+VtOizPg60lWKqzbj3/jVxAajNn7chr6hJ411Rg==","repository":{"url":"git+https://github.com/omptl/bttr-design-system.git","type":"git","directory":"packages/tokens"},"_npmVersion":"10.8.2","description":"Design tokens for the Bttr Design System","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","react":"^18.2.0","eslint":"^8.57.0","rimraf":"^5.0.0","vitest":"^1.5.2","chokidar":"^3.6.0","typescript":"^5.4.5","@types/react":"^18.2.79","style-dictionary":"^3.9.2","@tokens-studio/sd-transforms":"^0.13.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/tokens_1.1.1_1761149931521_0.902741936816398","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@bttrlabs/tokens","version":"1.2.0","keywords":[],"author":"","license":"MIT","_id":"@bttrlabs/tokens@1.2.0","maintainers":[{"name":"omptl","email":"ompatel.op11@gmail.com"}],"homepage":"https://github.com/omptl/bttr-design-system#readme","bugs":{"url":"https://github.com/omptl/bttr-design-system/issues"},"dist":{"shasum":"209972acbde1047ba46c0c29f628cbbd2abe049d","tarball":"https://registry.npmjs.org/@bttrlabs/tokens/-/tokens-1.2.0.tgz","fileCount":10,"integrity":"sha512-s8Uc/9tOFQNKuvDm7ojuIAAXFU3M62tW1cz3mJxeCoCl4Yy3Gttpm5RLVf+ZUwPZzSj/lQdQ4xIAdAGr2Zx+Zw==","signatures":[{"sig":"MEQCICjQecppXk719oMn8nUG0Ozd5WBDiBxQZjIyCc+6zWPjAiBFytPaR4hGDrL+L8ONAJJzfMd4BgMTRHsIUufaKDxFTQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82347},"main":"./dist/theme/index.js","_from":"file:bttrlabs-tokens-1.2.0.tgz","types":"./dist/theme/index.d.ts","module":"./dist/theme/index.mjs","prepare":"pnpm build","scripts":{"dev":"pnpm dev:tokens & pnpm dev:theme","lint":"eslint src/","test":"vitest","build":"pnpm clean && pnpm build:tokens && pnpm build:theme","clean":"rimraf dist","dev:theme":"tsup src/theme/index.ts --format esm,cjs --dts --out-dir dist/theme --watch","dev:tokens":"node scripts/build-tokens.js --watch","build:theme":"tsup src/theme/index.ts --format esm,cjs --out-dir dist/theme --tsconfig tsconfig.json","build:tokens":"node scripts/build-tokens.js"},"_npmUser":{"name":"omptl","email":"ompatel.op11@gmail.com"},"_resolved":"/tmp/932aecb60bf38eca1c59efdd1b17d283/bttrlabs-tokens-1.2.0.tgz","_integrity":"sha512-s8Uc/9tOFQNKuvDm7ojuIAAXFU3M62tW1cz3mJxeCoCl4Yy3Gttpm5RLVf+ZUwPZzSj/lQdQ4xIAdAGr2Zx+Zw==","repository":{"url":"git+https://github.com/omptl/bttr-design-system.git","type":"git","directory":"packages/tokens"},"_npmVersion":"10.8.2","description":"Design tokens for the Bttr Design System","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","react":"^18.2.0","eslint":"^8.57.0","rimraf":"^5.0.0","vitest":"^1.5.2","chokidar":"^3.6.0","typescript":"^5.4.5","@types/react":"^18.2.79","style-dictionary":"^3.9.2","@tokens-studio/sd-transforms":"^0.13.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/tokens_1.2.0_1761177202031_0.2102051477594271","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@bttrlabs/tokens","version":"1.3.0","keywords":[],"author":"","license":"MIT","_id":"@bttrlabs/tokens@1.3.0","maintainers":[{"name":"omptl","email":"ompatel.op11@gmail.com"}],"homepage":"https://github.com/omptl/bttr-design-system#readme","bugs":{"url":"https://github.com/omptl/bttr-design-system/issues"},"dist":{"shasum":"21aa59c7a2dc66aec0c86bf3a6fa89543d2603cb","tarball":"https://registry.npmjs.org/@bttrlabs/tokens/-/tokens-1.3.0.tgz","fileCount":10,"integrity":"sha512-jeuwZn55766SgSegeJEKXmRGY3cWu6Tlj2L8u7i7nby/fwCGlWAqS9qSPtckL+sI7EseHF8SETb8UVVgICYhnA==","signatures":[{"sig":"MEUCIQDAX3GVfrdtzPXq+CneZ1wykS2L/bkLdUZJnh9L2NjYTgIgfymG86/XBH1hu+8MxxJMm4Fb6iUz5NUG8ujwv1AwuEY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82013},"main":"./dist/theme/index.js","_from":"file:bttrlabs-tokens-1.3.0.tgz","types":"./dist/theme/index.d.ts","module":"./dist/theme/index.mjs","prepare":"pnpm build","scripts":{"dev":"pnpm dev:tokens & pnpm dev:theme","lint":"eslint src/","test":"vitest","build":"pnpm clean && pnpm build:tokens && pnpm build:theme","clean":"rimraf dist","dev:theme":"tsup src/theme/index.ts --format esm,cjs --dts --out-dir dist/theme --watch","dev:tokens":"node scripts/build-tokens.js --watch","build:theme":"tsup src/theme/index.ts --format esm,cjs --out-dir dist/theme --tsconfig tsconfig.json","build:tokens":"node scripts/build-tokens.js"},"_npmUser":{"name":"omptl","email":"ompatel.op11@gmail.com"},"_resolved":"/tmp/fde5d50f01949490fc83ee283527a560/bttrlabs-tokens-1.3.0.tgz","_integrity":"sha512-jeuwZn55766SgSegeJEKXmRGY3cWu6Tlj2L8u7i7nby/fwCGlWAqS9qSPtckL+sI7EseHF8SETb8UVVgICYhnA==","repository":{"url":"git+https://github.com/omptl/bttr-design-system.git","type":"git","directory":"packages/tokens"},"_npmVersion":"10.8.2","description":"Design tokens for the Bttr Design System","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","react":"^18.2.0","eslint":"^8.57.0","rimraf":"^5.0.0","vitest":"^1.5.2","chokidar":"^3.6.0","typescript":"^5.4.5","@types/react":"^18.2.79","style-dictionary":"^3.9.2","@tokens-studio/sd-transforms":"^0.13.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/tokens_1.3.0_1761228765707_0.43654472184300097","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@bttrlabs/tokens","version":"1.3.1","description":"Design tokens for the Bttr Design System","main":"./dist/theme/index.js","module":"./dist/theme/index.mjs","types":"./dist/theme/index.d.ts","keywords":[],"author":"","license":"MIT","devDependencies":{"rimraf":"^5.0.0","tsup":"^8.0.2","typescript":"^5.4.5","eslint":"^8.57.0","vitest":"^1.5.2","style-dictionary":"^3.9.2","@tokens-studio/sd-transforms":"^0.13.1","chokidar":"^3.6.0","@types/react":"^18.2.79","react":"^18.2.0"},"peerDependencies":{"react":">=18","react-dom":">=18"},"repository":{"type":"git","url":"git+https://github.com/omptl/bttr-design-system.git","directory":"packages/tokens"},"prepare":"pnpm build","publishConfig":{"access":"public"},"scripts":{"clean":"rimraf dist","build:tokens":"node scripts/build-tokens.js","build:theme":"tsup src/theme/index.ts --format esm,cjs --out-dir dist/theme --tsconfig tsconfig.json","build":"pnpm clean && pnpm build:tokens && pnpm build:theme","dev:tokens":"node scripts/build-tokens.js --watch","dev:theme":"tsup src/theme/index.ts --format esm,cjs --dts --out-dir dist/theme --watch","dev":"pnpm dev:tokens & pnpm dev:theme","lint":"eslint src/","test":"vitest"},"_id":"@bttrlabs/tokens@1.3.1","bugs":{"url":"https://github.com/omptl/bttr-design-system/issues"},"homepage":"https://github.com/omptl/bttr-design-system#readme","_integrity":"sha512-l17des8S4PpR5VyYTlwgFGKqAqIENzwSx71A6cAwBaiH559YPinlIbJNubwVkfygt3ZxjiyuDZ4ynu3KEPp22g==","_resolved":"/tmp/36d86ad2ccd67f3f7cbd74ea9bc8e766/bttrlabs-tokens-1.3.1.tgz","_from":"file:bttrlabs-tokens-1.3.1.tgz","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-l17des8S4PpR5VyYTlwgFGKqAqIENzwSx71A6cAwBaiH559YPinlIbJNubwVkfygt3ZxjiyuDZ4ynu3KEPp22g==","shasum":"9b0f23827cd7cc7c297f8dd01e9fbbe5e2fa9d31","tarball":"https://registry.npmjs.org/@bttrlabs/tokens/-/tokens-1.3.1.tgz","fileCount":10,"unpackedSize":83217,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE+eUxQUkmaADfokwxVC63zbChLy1gK3tNWy+tum1nGJAiEAxHElt2w6xHpGnS2nNPM2vhbU+SbBI7SJH07JjIAAfB4="}]},"_npmUser":{"name":"omptl","email":"ompatel.op11@gmail.com"},"directories":{},"maintainers":[{"name":"omptl","email":"ompatel.op11@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tokens_1.3.1_1761434176359_0.4489466968806042"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-19T13:29:38.443Z","modified":"2025-10-25T23:16:17.130Z","2.0.0":"2025-10-19T13:29:38.733Z","1.0.2":"2025-10-20T14:55:23.516Z","1.1.0":"2025-10-20T17:49:39.570Z","1.1.1":"2025-10-22T16:18:51.709Z","1.2.0":"2025-10-22T23:53:22.222Z","1.3.0":"2025-10-23T14:12:45.913Z","1.3.1":"2025-10-25T23:16:16.595Z"},"bugs":{"url":"https://github.com/omptl/bttr-design-system/issues"},"license":"MIT","homepage":"https://github.com/omptl/bttr-design-system#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/omptl/bttr-design-system.git","directory":"packages/tokens"},"description":"Design tokens for the Bttr Design System","maintainers":[{"name":"omptl","email":"ompatel.op11@gmail.com"}],"readme":"# @bttrlabs/tokens\n\nSemantic design tokens and theming primitives for the bttr design system. The package provides a `ThemeProvider`, ready-to-consume CSS variables, and utilities for synchronising themes across React, Storybook, and vanilla environments.\n\n## Features\n\n- Light and dark themes mapped to accessible colour palettes with WCAG contrast targets.\n- Responsive spacing, typography, radius, and shadow scales exposed as CSS custom properties.\n- Zero-runtime theme switching via `data-theme` attributes with hydration-safe fallbacks.\n- Helper hooks (`useTheme`, `usePrefersReducedMotion`, etc.) for reading and updating the current theme.\n- Type-safe token generation backed by Style Dictionary.\n\n## Installation\n\n```bash\npnpm add @bttrlabs/tokens\n```\n\nUse the provider at the root of your application.\n\n```tsx\nimport { ThemeProvider, useTheme } from '@bttrlabs/tokens';\n\nexport function App() {\n  return (\n    <ThemeProvider>\n      <Dashboard />\n    </ThemeProvider>\n  );\n}\n\nfunction Dashboard() {\n  const { theme, setTheme } = useTheme();\n\n  return (\n    <button onClick={() => setTheme(theme === 'light' ? 'dark' : 'light')}>\n      Toggle theme\n    </button>\n  );\n}\n```\n\n## Token usage\n\nAll tokens are exposed as CSS custom properties under the `--color-*`, `--space-*`, `--font-*`, and `--shadow-*` namespaces. Consume them directly in CSS or through utility libraries such as Tailwind, Vanilla Extract, or Stitches.\n\n```css\n.button {\n  background-color: var(--color-interactive-primary);\n  color: var(--color-text-inverse);\n  padding-inline: var(--space-4);\n  box-shadow: var(--shadow-md);\n}\n```\n\n## Extending themes\n\n- Duplicate `src/theme/default.json` to seed additional brand themes.\n- Run `pnpm build` in the tokens package to regenerate the CSS artifacts.\n- Update `ThemeProvider` to recognise the new theme key and provide switching affordances in Storybook (`apps/storybook/.storybook/preview.tsx`).\n\n## Development\n\n- `pnpm build` compiles tokens through Style Dictionary and emits CSS modules consumed by the UI package.\n- `pnpm watch` runs the generator in watch mode while you iterate on JSON source files.\n- Unit smoke tests live in `packages/tokens/tests` to ensure generated bundles import correctly in Node and ESM environments.\n\n## License\n\nMIT © bttrlabs\n","readmeFilename":"README.md"}