{"_id":"@21stgov/commons-tokens","_rev":"7-22aefb7b7867885608e0ab63d5424fc8","name":"@21stgov/commons-tokens","dist-tags":{"latest":"0.6.0"},"versions":{"0.1.0":{"name":"@21stgov/commons-tokens","version":"0.1.0","keywords":["design-tokens","dtcg","css-variables","accessibility","wcag","design-system","government"],"license":"MIT","_id":"@21stgov/commons-tokens@0.1.0","maintainers":[{"name":"sethcottle","email":"sethcottle@gmail.com"}],"homepage":"https://commonsui.com","bugs":{"url":"https://github.com/21stgov/commons/issues"},"dist":{"shasum":"77c0e541e651eecf03efc08eb63345c83d62b677","tarball":"https://registry.npmjs.org/@21stgov/commons-tokens/-/commons-tokens-0.1.0.tgz","fileCount":23,"integrity":"sha512-N1KT5RaBMbdPy3pC+YSLKCrSWUgaDwDsmTP7MMhbkdikz3Xi+cBeNE/4s8QNBbZh79VTPyuSAGhSOSMghkI0xQ==","signatures":[{"sig":"MEYCIQDcF2a5+aY5w2zioJCaicq9AH7tIUG90ADKSOhP45R36AIhAKcc/wu+Evbof0Urk/+8XBEDRf2lI4gNIWMngentKn98","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":80170},"type":"module","_from":"file:21stgov-commons-tokens-0.1.0.tgz","engines":{"node":">=22"},"exports":{"./css/*":"./dist/css/*","./index.css":"./dist/index.css","./tokens.json":"./dist/json/tokens.json","./tailwind.css":"./dist/css/tailwind.css"},"private":false,"scripts":{"test":"pnpm validate:contrast && pnpm validate:tailwind","build":"tsx build.ts","generate":"tsx scripts/generate-palette.ts","validate:contrast":"tsx scripts/validate-contrast.ts","validate:tailwind":"tsx scripts/validate-tailwind.ts"},"_npmUser":{"name":"sethcottle","email":"sethcottle@gmail.com"},"_resolved":"/private/var/folders/cf/wl28lk8s19770tzrdlt63yvw0000gn/T/cdd0c6778b9cede819f7963382eb89e0/21stgov-commons-tokens-0.1.0.tgz","_integrity":"sha512-N1KT5RaBMbdPy3pC+YSLKCrSWUgaDwDsmTP7MMhbkdikz3Xi+cBeNE/4s8QNBbZh79VTPyuSAGhSOSMghkI0xQ==","repository":{"url":"git+https://github.com/21stgov/commons.git","type":"git","directory":"packages/tokens"},"_npmVersion":"11.16.0","description":"Design tokens for Commons, the accessibility-first design system for U.S. local governments. DTCG JSON sources compiled to CSS custom properties with a mathematically guaranteed color-contrast contract.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.0","culori":"^4.0.2","typescript":"^5.9.3","@types/node":"^22.20.1","tailwindcss":"^4.3.2","@types/culori":"^4.0.1","style-dictionary":"^5.5.0"},"_npmOperationalInternal":{"tmp":"tmp/commons-tokens_0.1.0_1783994547237_0.33216377705820843","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@21stgov/commons-tokens","version":"0.2.0","keywords":["design-tokens","dtcg","css-variables","accessibility","wcag","design-system","government"],"license":"MIT","_id":"@21stgov/commons-tokens@0.2.0","maintainers":[{"name":"sethcottle","email":"sethcottle@gmail.com"}],"homepage":"https://commonsui.com","bugs":{"url":"https://github.com/21stGov/commons/issues"},"dist":{"shasum":"0bb654799f6601c81979d7d697a54f7721649b49","tarball":"https://registry.npmjs.org/@21stgov/commons-tokens/-/commons-tokens-0.2.0.tgz","fileCount":23,"integrity":"sha512-i7qb0yLSSvY60q3Oqmzr04jHuissh/gZLQHw0swG3s1D5H5y6uu3m61erljjWmirmJwljVP0TEp3OkHceMnjdQ==","signatures":[{"sig":"MEYCIQD6XeW6nOo5aGDAercq0sWDJ0nECFpq5VUCDgP9sYsGEwIhAJP10YGcQJEIpRyMv9prpIiP/tozohqkXSS0VrMMn8RM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@21stgov%2fcommons-tokens@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":80170},"type":"module","_from":"file:21stgov-commons-tokens-0.2.0.tgz","engines":{"node":">=22"},"exports":{"./css/*":"./dist/css/*","./index.css":"./dist/index.css","./tokens.json":"./dist/json/tokens.json","./tailwind.css":"./dist/css/tailwind.css"},"private":false,"scripts":{"test":"pnpm validate:contrast && pnpm validate:tailwind","build":"tsx build.ts","generate":"tsx scripts/generate-palette.ts","validate:contrast":"tsx scripts/validate-contrast.ts","validate:tailwind":"tsx scripts/validate-tailwind.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a32af99f-406c-4274-a309-5652189a6d72"}},"_resolved":"/tmp/5bc9fa47adcd4ddbe5b26ca63a1a7377/21stgov-commons-tokens-0.2.0.tgz","_integrity":"sha512-i7qb0yLSSvY60q3Oqmzr04jHuissh/gZLQHw0swG3s1D5H5y6uu3m61erljjWmirmJwljVP0TEp3OkHceMnjdQ==","repository":{"url":"git+https://github.com/21stGov/commons.git","type":"git","directory":"packages/tokens"},"_npmVersion":"11.16.0","description":"Design tokens for Commons, the accessibility-first design system for U.S. local governments. DTCG JSON sources compiled to CSS custom properties with a mathematically guaranteed color-contrast contract.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.0","culori":"^4.0.2","typescript":"^5.9.3","@types/node":"^22.20.1","tailwindcss":"^4.3.2","@types/culori":"^4.0.1","style-dictionary":"^5.5.0"},"_npmOperationalInternal":{"tmp":"tmp/commons-tokens_0.2.0_1784010185763_0.33710133977735324","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@21stgov/commons-tokens","version":"0.3.0","keywords":["design-tokens","dtcg","css-variables","accessibility","wcag","design-system","government"],"license":"MIT","_id":"@21stgov/commons-tokens@0.3.0","maintainers":[{"name":"sethcottle","email":"sethcottle@gmail.com"}],"homepage":"https://commonsui.com","bugs":{"url":"https://github.com/21stGov/commons/issues"},"dist":{"shasum":"dfd564592c1709c67a9fbd071f1700a19adb8bd1","tarball":"https://registry.npmjs.org/@21stgov/commons-tokens/-/commons-tokens-0.3.0.tgz","fileCount":23,"integrity":"sha512-HwEO+DUuHCBLq8GFFZgf/aF89NNHpBScVS4u6/tu1rApS18kopoIxz93Fdhjm3Lvg231FB7C6L/RDdvL08xdDQ==","signatures":[{"sig":"MEUCIQCBmE3I+22L7Go4agLUhvn1UkSnXEEZYF6lFEaq9SYhnwIgXZjKwSX60EqVoK9PZYtLaSn99fWfj6HuwqEIDPJgJTM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@21stgov%2fcommons-tokens@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":80170},"type":"module","_from":"file:21stgov-commons-tokens-0.3.0.tgz","engines":{"node":">=22"},"exports":{"./css/*":"./dist/css/*","./index.css":"./dist/index.css","./tokens.json":"./dist/json/tokens.json","./tailwind.css":"./dist/css/tailwind.css"},"private":false,"scripts":{"test":"pnpm validate:contrast && pnpm validate:tailwind","build":"tsx build.ts","generate":"tsx scripts/generate-palette.ts","validate:contrast":"tsx scripts/validate-contrast.ts","validate:tailwind":"tsx scripts/validate-tailwind.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a32af99f-406c-4274-a309-5652189a6d72"}},"_resolved":"/tmp/cc6443a7892834164a2645378c599bd0/21stgov-commons-tokens-0.3.0.tgz","_integrity":"sha512-HwEO+DUuHCBLq8GFFZgf/aF89NNHpBScVS4u6/tu1rApS18kopoIxz93Fdhjm3Lvg231FB7C6L/RDdvL08xdDQ==","repository":{"url":"git+https://github.com/21stGov/commons.git","type":"git","directory":"packages/tokens"},"_npmVersion":"11.16.0","description":"Design tokens for Commons, the accessibility-first design system for U.S. local governments. DTCG JSON sources compiled to CSS custom properties with a mathematically guaranteed color-contrast contract.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.0","culori":"^4.0.2","typescript":"^5.9.3","@types/node":"^22.20.1","tailwindcss":"^4.3.2","@types/culori":"^4.0.1","style-dictionary":"^5.5.0"},"_npmOperationalInternal":{"tmp":"tmp/commons-tokens_0.3.0_1784152219896_0.5473171351587034","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@21stgov/commons-tokens","version":"0.3.1","keywords":["design-tokens","dtcg","css-variables","accessibility","wcag","design-system","government"],"license":"MIT","_id":"@21stgov/commons-tokens@0.3.1","maintainers":[{"name":"sethcottle","email":"sethcottle@gmail.com"}],"homepage":"https://commonsui.com","bugs":{"url":"https://github.com/21stGov/commons/issues"},"dist":{"shasum":"00424d182ee860885c2b5efc19fd5c5420f152df","tarball":"https://registry.npmjs.org/@21stgov/commons-tokens/-/commons-tokens-0.3.1.tgz","fileCount":23,"integrity":"sha512-UpcoYgG+xfzsfdzAwH9r8Hn6nOo9lMHRI32sN4b5p19ATkqSveoVyCn19zezTkqf4AbhA+K4sR6a/DMF5E5dcg==","signatures":[{"sig":"MEUCIAWijqeyPrSQD7XXrjBBV9NTJ0tbUjcDQWoN35aucAqqAiEAmr3y/KhM/geZhDBjZ3vA7ePY/kVf0rPKf/ZlZ4Hwsjs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@21stgov%2fcommons-tokens@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":80170},"type":"module","_from":"file:21stgov-commons-tokens-0.3.1.tgz","engines":{"node":">=22"},"exports":{"./css/*":"./dist/css/*","./index.css":"./dist/index.css","./tokens.json":"./dist/json/tokens.json","./tailwind.css":"./dist/css/tailwind.css"},"private":false,"scripts":{"test":"pnpm validate:contrast && pnpm validate:tailwind","build":"tsx build.ts","generate":"tsx scripts/generate-palette.ts","validate:contrast":"tsx scripts/validate-contrast.ts","validate:tailwind":"tsx scripts/validate-tailwind.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a32af99f-406c-4274-a309-5652189a6d72"}},"_resolved":"/tmp/7c1eb54e0cee651c02fac30c7475f2a9/21stgov-commons-tokens-0.3.1.tgz","_integrity":"sha512-UpcoYgG+xfzsfdzAwH9r8Hn6nOo9lMHRI32sN4b5p19ATkqSveoVyCn19zezTkqf4AbhA+K4sR6a/DMF5E5dcg==","repository":{"url":"git+https://github.com/21stGov/commons.git","type":"git","directory":"packages/tokens"},"_npmVersion":"11.16.0","description":"Design tokens for Commons, the accessibility-first design system for U.S. local governments. DTCG JSON sources compiled to CSS custom properties with a mathematically guaranteed color-contrast contract.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.0","culori":"^4.0.2","typescript":"^5.9.3","@types/node":"^22.20.1","tailwindcss":"^4.3.2","@types/culori":"^4.0.1","style-dictionary":"^5.5.0"},"_npmOperationalInternal":{"tmp":"tmp/commons-tokens_0.3.1_1784157917434_0.7596689672533079","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@21stgov/commons-tokens","version":"0.4.0","keywords":["design-tokens","dtcg","css-variables","accessibility","wcag","design-system","government"],"license":"MIT","_id":"@21stgov/commons-tokens@0.4.0","maintainers":[{"name":"sethcottle","email":"sethcottle@gmail.com"}],"homepage":"https://commonsui.com","bugs":{"url":"https://github.com/21stGov/commons/issues"},"dist":{"shasum":"3b414fe349e601012901dec3883ff5eff221ab1c","tarball":"https://registry.npmjs.org/@21stgov/commons-tokens/-/commons-tokens-0.4.0.tgz","fileCount":23,"integrity":"sha512-le4qhKXBToucW3XpJgdiNYXVvbiVRorFkVAKVmCwcmsOPEKX1Y3zQCT1vlK1J3KrvWbQhSKVhBlMz7S7m6S07w==","signatures":[{"sig":"MEUCIQDXOEBWzaGtoog1ywWK3+n18+bLvg9v8UlOwC+ypBHbfwIgUwQwpySesXXnm0SbQTuW4WhCzRrWg02qWgPP6x9qGm4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@21stgov%2fcommons-tokens@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":80170},"type":"module","_from":"file:21stgov-commons-tokens-0.4.0.tgz","engines":{"node":">=22"},"exports":{"./css/*":"./dist/css/*","./index.css":"./dist/index.css","./tokens.json":"./dist/json/tokens.json","./tailwind.css":"./dist/css/tailwind.css"},"private":false,"scripts":{"test":"pnpm validate:contrast && pnpm validate:tailwind","build":"tsx build.ts","generate":"tsx scripts/generate-palette.ts","validate:contrast":"tsx scripts/validate-contrast.ts","validate:tailwind":"tsx scripts/validate-tailwind.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a32af99f-406c-4274-a309-5652189a6d72"}},"_resolved":"/tmp/498fc006db7fbe016539bc11d3961139/21stgov-commons-tokens-0.4.0.tgz","_integrity":"sha512-le4qhKXBToucW3XpJgdiNYXVvbiVRorFkVAKVmCwcmsOPEKX1Y3zQCT1vlK1J3KrvWbQhSKVhBlMz7S7m6S07w==","repository":{"url":"git+https://github.com/21stGov/commons.git","type":"git","directory":"packages/tokens"},"_npmVersion":"11.16.0","description":"Design tokens for Commons, the accessibility-first design system for U.S. local governments. DTCG JSON sources compiled to CSS custom properties with a mathematically guaranteed color-contrast contract.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.0","culori":"^4.0.2","typescript":"^5.9.3","@types/node":"^22.20.1","tailwindcss":"^4.3.2","@types/culori":"^4.0.1","style-dictionary":"^5.5.0"},"_npmOperationalInternal":{"tmp":"tmp/commons-tokens_0.4.0_1784170191575_0.12699074488275297","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@21stgov/commons-tokens","version":"0.5.0","keywords":["design-tokens","dtcg","css-variables","accessibility","wcag","design-system","government"],"license":"MIT","_id":"@21stgov/commons-tokens@0.5.0","maintainers":[{"name":"sethcottle","email":"sethcottle@gmail.com"}],"homepage":"https://commonsui.com","bugs":{"url":"https://github.com/21stGov/commons/issues"},"dist":{"shasum":"61acfb38042839fe2f09dab0bd0dedb074675934","tarball":"https://registry.npmjs.org/@21stgov/commons-tokens/-/commons-tokens-0.5.0.tgz","fileCount":23,"integrity":"sha512-UA6tr/hNXn9zfa17mYHmoiPDiDXP5WrJ+a5ZoAXVMKbJn/oJas8UwhKqL9IU0sUXHQwrU7DMygCL2ucXAl0DBA==","signatures":[{"sig":"MEUCIQCRi7giNmHklWVolVsdfWsVIcjTFv09W3vd5s+nWIDWbAIgAaxCErZZcEXUYrnPMnPExz0OjR5Eu1hgd+bNH+fncsk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@21stgov%2fcommons-tokens@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":80170},"type":"module","_from":"file:21stgov-commons-tokens-0.5.0.tgz","engines":{"node":">=22"},"exports":{"./css/*":"./dist/css/*","./index.css":"./dist/index.css","./tokens.json":"./dist/json/tokens.json","./tailwind.css":"./dist/css/tailwind.css"},"private":false,"scripts":{"test":"pnpm validate:contrast && pnpm validate:tailwind","build":"tsx build.ts","generate":"tsx scripts/generate-palette.ts","validate:contrast":"tsx scripts/validate-contrast.ts","validate:tailwind":"tsx scripts/validate-tailwind.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a32af99f-406c-4274-a309-5652189a6d72"}},"_resolved":"/tmp/c0c7dcd1d0fe117eccd44c11ee6b4f43/21stgov-commons-tokens-0.5.0.tgz","_integrity":"sha512-UA6tr/hNXn9zfa17mYHmoiPDiDXP5WrJ+a5ZoAXVMKbJn/oJas8UwhKqL9IU0sUXHQwrU7DMygCL2ucXAl0DBA==","repository":{"url":"git+https://github.com/21stGov/commons.git","type":"git","directory":"packages/tokens"},"_npmVersion":"11.16.0","description":"Design tokens for Commons, the accessibility-first design system for U.S. local governments. DTCG JSON sources compiled to CSS custom properties with a mathematically guaranteed color-contrast contract.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.0","culori":"^4.0.2","typescript":"^5.9.3","@types/node":"^22.20.1","tailwindcss":"^4.3.2","@types/culori":"^4.0.1","style-dictionary":"^5.5.0"},"_npmOperationalInternal":{"tmp":"tmp/commons-tokens_0.5.0_1784173734293_0.16153664604068418","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@21stgov/commons-tokens","version":"0.6.0","description":"Design tokens for Commons, the accessibility-first design system for U.S. local governments. DTCG JSON sources compiled to CSS custom properties with a mathematically guaranteed color-contrast contract.","type":"module","license":"MIT","private":false,"homepage":"https://commonsui.com","repository":{"type":"git","url":"git+https://github.com/21stGov/commons.git","directory":"packages/tokens"},"publishConfig":{"access":"public"},"engines":{"node":">=22"},"keywords":["design-tokens","dtcg","css-variables","accessibility","wcag","design-system","government"],"sideEffects":["*.css"],"exports":{"./css/*":"./dist/css/*","./index.css":"./dist/index.css","./tailwind.css":"./dist/css/tailwind.css","./tokens.json":"./dist/json/tokens.json"},"devDependencies":{"@types/culori":"^4.0.1","@types/node":"^22.20.1","culori":"^4.0.2","style-dictionary":"^5.5.0","tailwindcss":"^4.3.2","tsx":"^4.23.0","typescript":"^5.9.3"},"scripts":{"generate":"tsx scripts/generate-palette.ts","build":"tsx build.ts","validate:contrast":"tsx scripts/validate-contrast.ts","validate:tailwind":"tsx scripts/validate-tailwind.ts","test":"pnpm validate:contrast && pnpm validate:tailwind"},"_id":"@21stgov/commons-tokens@0.6.0","bugs":{"url":"https://github.com/21stGov/commons/issues"},"_integrity":"sha512-4yXFza/NZ0ksvXbNKmYnUSMqWVBrWufCQwLntGS5kUvi9M2jHHNc7PPprzGohyyCdm80RQQ0GX9lAe6hJ6hcfA==","_resolved":"/tmp/118261881f97e3f9854b9a8e48f84b7e/21stgov-commons-tokens-0.6.0.tgz","_from":"file:21stgov-commons-tokens-0.6.0.tgz","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-4yXFza/NZ0ksvXbNKmYnUSMqWVBrWufCQwLntGS5kUvi9M2jHHNc7PPprzGohyyCdm80RQQ0GX9lAe6hJ6hcfA==","shasum":"ab530d0646aa626d3aa013a5e499d27f3605d088","tarball":"https://registry.npmjs.org/@21stgov/commons-tokens/-/commons-tokens-0.6.0.tgz","fileCount":23,"unpackedSize":80170,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@21stgov%2fcommons-tokens@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCxrKBt7A5AkZLNTeSOw2O6Sk2yednPbGQFmb2hQb+ZGgIgQUfhIrARa825/kPHZ+wFUC07tEzag+nRTNqvDxpjwX0="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a32af99f-406c-4274-a309-5652189a6d72"}},"directories":{},"maintainers":[{"name":"sethcottle","email":"sethcottle@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/commons-tokens_0.6.0_1784255083373_0.12381805639284815"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-14T02:02:27.123Z","modified":"2026-07-17T02:24:43.816Z","0.1.0":"2026-07-14T02:02:27.452Z","0.2.0":"2026-07-14T06:23:05.949Z","0.3.0":"2026-07-15T21:50:20.041Z","0.3.1":"2026-07-15T23:25:17.583Z","0.4.0":"2026-07-16T02:49:51.748Z","0.5.0":"2026-07-16T03:48:54.430Z","0.6.0":"2026-07-17T02:24:43.508Z"},"bugs":{"url":"https://github.com/21stGov/commons/issues"},"license":"MIT","homepage":"https://commonsui.com","keywords":["design-tokens","dtcg","css-variables","accessibility","wcag","design-system","government"],"repository":{"type":"git","url":"git+https://github.com/21stGov/commons.git","directory":"packages/tokens"},"description":"Design tokens for Commons, the accessibility-first design system for U.S. local governments. DTCG JSON sources compiled to CSS custom properties with a mathematically guaranteed color-contrast contract.","maintainers":[{"name":"sethcottle","email":"sethcottle@gmail.com"}],"readme":"# @21stgov/commons-tokens\n\nDesign tokens for **Commons**, the accessibility-first design system for U.S. local governments. DTCG JSON sources → Style Dictionary → CSS custom properties (`--cui-*`) + resolved JSON.\n\n## The grade contract (the whole point)\n\nEvery color is named `{family}.{grade}` (families: gray, blue, indigo, cyan, green, gold, orange, red, violet; grades 5–90). Each grade is pinned to a fixed WCAG relative-luminance target that is **identical across families**, so grade arithmetic predicts contrast for **any** two colors, even across families:\n\n| Grade delta | Guaranteed contrast | WCAG use |\n| ----------- | ------------------- | -------- |\n| ≥ 40 | ≥ 3:1 | Large text, UI components, focus indicators (AA) |\n| ≥ 50 | ≥ 4.5:1 | Normal text (AA) |\n| ≥ 70 | ≥ 7:1 | Normal text (AAA / high-contrast theme) |\n\nGrade 50 additionally clears 4.5:1 against both pure white and pure black. The generator (`scripts/generate-palette.ts`) binary-searches OKLCH lightness to hit each grade's luminance target in the shipped hex values, and `pnpm validate:contrast` re-derives WCAG math independently and re-checks every pair (1,700+ checks) from the **built** output. If it exits 0, the contract holds — pick colors by arithmetic, not by eyeballing.\n\n## Usage\n\n```css\n@import '@21stgov/commons-tokens/index.css';\n```\n\nThemes: `:root`/`[data-theme='light']` is the default; `[data-theme='dark']` and `[data-theme='high-contrast']` remap the same semantic variables (`--cui-text-default`, `--cui-bg-default`, `--cui-focus-ring`, …), with `prefers-color-scheme` / `prefers-contrast` fallbacks for visitors who never chose a theme.\n\n## Tailwind v4\n\n`@import '@21stgov/commons-tokens/tailwind.css';` (after `tailwindcss` and `index.css`) — an `@theme inline` bridge mapping every semantic variable to shadcn-style tokens (`bg-background`, `text-foreground`, `bg-primary`, `ring-ring`, state trios like `bg-error`/`text-error-foreground`/`border-error-border`) plus the full primitive palette, spacing, type, radius, shadow, and easing scales, all as `var(--cui-*)` references so runtime `data-theme` switching keeps working.\nTailwind's stock color palette is reset (`--color-*: initial`) so only contract-checked Commons colors exist, and the build fails if a semantic variable ever drifts out of the bridge (`pnpm validate:tailwind` compile-checks the shipped file).\n\n## Scripts\n\n- `pnpm generate` — regenerate `src/tokens/color.primitives.tokens.json` (deterministic; the result is committed source — run this only when the generator changes, then commit the diff)\n- `pnpm build` — compile the committed token sources to `dist/`\n- `pnpm validate:contrast` (= `pnpm test`) — independent WCAG audit of `dist/`\n","readmeFilename":"README.md"}