{"_id":"@ceralive/design-tokens","_rev":"2-831f51528233f93c8b5fb5ecd1a3fd2e","name":"@ceralive/design-tokens","dist-tags":{"latest":"2026.6.1"},"versions":{"0.1.0":{"name":"@ceralive/design-tokens","version":"0.1.0","license":"MIT","_id":"@ceralive/design-tokens@0.1.0","maintainers":[{"name":"andrescera","email":"andres.cera@hotmail.com"}],"homepage":"https://github.com/CERALIVE/design-tokens#readme","bugs":{"url":"https://github.com/CERALIVE/design-tokens/issues"},"dist":{"shasum":"d8493c4929565225ffd1755843d3d46a866feaa6","tarball":"https://registry.npmjs.org/@ceralive/design-tokens/-/design-tokens-0.1.0.tgz","fileCount":6,"integrity":"sha512-k7UV5VFuE4jR4ofNkcYruO0wcor7x2l4TBilnC+z3FNH8YrtnHhBToX5W4ddiBE7JQCXFBWne8L3EmkFKsBsPQ==","signatures":[{"sig":"MEQCIBXKzMjPIRzF7BtQ0Uhg64+UWGaotoj8dgEY1QvuDLMgAiAvbvvkUeJNMRY5T8aK84xzOilzJBKbZ8CS0Qw69jHmiw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19357},"main":"src/index.ts","type":"module","types":"src/index.ts","exports":{".":"./src/index.ts","./tokens.css":"./tokens.css"},"gitHead":"228635b7e405ca17801b4788b967b21702764a2f","scripts":{"test":"vitest run","build":"tsc --noEmit"},"_npmUser":{"name":"andrescera","email":"andres.cera@hotmail.com"},"repository":{"url":"git+https://github.com/CERALIVE/design-tokens.git","type":"git"},"_npmVersion":"11.12.1","description":"CeraLive brand tokens (OKLCH) — single source extracted from CeraUI's Ground Control theme; consumed by marketing, docs, web, and CeraUI.","directories":{},"_nodeVersion":"24.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","typescript":"^6.0.3","@types/node":"^25.9.2"},"_npmOperationalInternal":{"tmp":"tmp/design-tokens_0.1.0_1781223293560_0.3307197729364366","host":"s3://npm-registry-packages-npm-production"}},"2026.6.1":{"name":"@ceralive/design-tokens","version":"2026.6.1","description":"CeraLive brand tokens (OKLCH) — single source extracted from CeraUI's Ground Control theme; consumed by marketing, docs, web, and CeraUI.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/CERALIVE/design-tokens.git"},"homepage":"https://github.com/CERALIVE/design-tokens#readme","bugs":{"url":"https://github.com/CERALIVE/design-tokens/issues"},"type":"module","main":"src/index.ts","types":"src/index.ts","exports":{".":"./src/index.ts","./tokens.css":"./tokens.css"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc --noEmit","test":"vitest run"},"devDependencies":{"@types/node":"^25.9.2","typescript":"^6.0.3","vitest":"^4.1.8"},"gitHead":"b3014a0a5044bfff4fa887d0c9f55e708bef5780","_id":"@ceralive/design-tokens@2026.6.1","_nodeVersion":"22.22.3","_npmVersion":"11.17.0","dist":{"integrity":"sha512-u0Ja75p7rcJY9anvU+Ke/0PKLWrK6Y8bNO1RnrbNDuQduiKLXK0bgWnsOIMtuv3mxDgp2Kvshpc7cog20znOzw==","shasum":"d06a91dffe66d81d24382a90ecefc692e5ae0fb1","tarball":"https://registry.npmjs.org/@ceralive/design-tokens/-/design-tokens-2026.6.1.tgz","fileCount":6,"unpackedSize":19360,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ceralive%2fdesign-tokens@2026.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCijYyjHIw0TH0fIVpgfnF5liTh7J8svxJ4R/GBNwKdCwIhAMEg0zOmrqmpA8fAlK6Tmb3vV3+hmSNlvKTTbofwh7EA"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e429c5a8-8168-4d2d-a413-5913b1126057"}},"directories":{},"maintainers":[{"name":"andrescera","email":"andres.cera@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/design-tokens_2026.6.1_1781399623475_0.6305028764350928"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-12T00:14:53.457Z","modified":"2026-06-14T01:13:43.952Z","0.1.0":"2026-06-12T00:14:53.723Z","2026.6.1":"2026-06-14T01:13:43.609Z"},"bugs":{"url":"https://github.com/CERALIVE/design-tokens/issues"},"license":"MIT","homepage":"https://github.com/CERALIVE/design-tokens#readme","repository":{"type":"git","url":"git+https://github.com/CERALIVE/design-tokens.git"},"description":"CeraLive brand tokens (OKLCH) — single source extracted from CeraUI's Ground Control theme; consumed by marketing, docs, web, and CeraUI.","maintainers":[{"name":"andrescera","email":"andres.cera@hotmail.com"}],"readme":"# @ceralive/design-tokens\n\nSingle source of CeraLive brand tokens (OKLCH), extracted from CeraUI's\n\"Ground Control\" theme. Published to npm as `@ceralive/design-tokens` and\nconsumed by the platform (`apps/marketing`, `apps/docs`, `apps/web`) and the\nCeraUI device UI — every consumer depends on a published version, so the\npalette never forks across repos.\n\n## Install\n\n```sh\nnpm i @ceralive/design-tokens\n```\n\n## Use\n\nCSS (canonical artifact):\n\n```css\n@import \"@ceralive/design-tokens/tokens.css\" layer(base);\n```\n\nTooling (OG images, canvas scripts — anywhere without `getComputedStyle`):\n\n```ts\nimport { tokens, linkRamp, cssVar } from \"@ceralive/design-tokens\";\n\ntokens(\"dark\")[\"status-live\"]; // \"oklch(0.86 0.2 128)\"\nlinkRamp(\"dark\"); // 6-step spectral bonded-link ramp\ncssVar(\"primary\"); // \"var(--primary)\"\n```\n\nIn browser code, prefer reading the CSS variables (`getComputedStyle` /\n`var(--token)`) so runtime theming keeps working; the TS map is for tooling.\n\n## Rules\n\n- `tokens.css` is canonical; the TS map mirrors it and\n  `src/tokens.test.ts` fails the build if they drift.\n- The e-ink/mono token set is **not** here on purpose — it is CeraUI-only\n  (reflective device displays).\n- Brand changes happen here first, then flow to consumers; never fork values.\n","readmeFilename":"README.md"}