{"_id":"@crafts69guy/hue-theme-tokens","_rev":"2-95edc2b8e2c543d81ebbafbf83bd5072","name":"@crafts69guy/hue-theme-tokens","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@crafts69guy/hue-theme-tokens","version":"0.1.0","license":"MIT","_id":"@crafts69guy/hue-theme-tokens@0.1.0","maintainers":[{"name":"crafts69guy","email":"crafts69guy@gmail.com"}],"homepage":"https://github.com/crafts69guy/hue-theme#readme","bugs":{"url":"https://github.com/crafts69guy/hue-theme/issues"},"dist":{"shasum":"99cee5ed4bd988389710cc38bc93dede24746071","tarball":"https://registry.npmjs.org/@crafts69guy/hue-theme-tokens/-/hue-theme-tokens-0.1.0.tgz","fileCount":7,"integrity":"sha512-P4EAmFFfqPCuEQqbif90znSc8NwWkOZY/2p080K/GMUnCYYYqYB3IyqzQzFXYI1U73bf+bHnHeFPBk9fmVgUIg==","signatures":[{"sig":"MEYCIQDvk7jfdSei1d/Bv+dqOYFEeHGgjDJFq0Sh5GenzE/WqQIhALbNJ40YrZYUL7ofpvteHColkFSzv/+mqpV4BkyfqHWB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25542},"type":"module","exports":{".":{"types":"./generated/themes.d.ts","import":"./generated/themes.js","default":"./generated/themes.js"},"./themes.css":"./generated/themes.css","./themes.json":"./generated/themes.json"},"gitHead":"9e20b1ce869e7e54211a570e64c1ecb44dd40fb7","scripts":{"build":"bun scripts/build.ts","check":"bun scripts/build.ts --check && tsc --noEmit","prepack":"bun run build && bun run check","typecheck":"tsc --noEmit"},"_npmUser":{"name":"crafts69guy","email":"crafts69guy@gmail.com"},"repository":{"url":"git+https://github.com/crafts69guy/hue-theme.git","type":"git","directory":"packages/tokens"},"_npmVersion":"11.19.0","description":"Portable Huế-inspired semantic design tokens for web and application themes.","directories":{},"_nodeVersion":"22.16.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/hue-theme-tokens_0.1.0_1788500590948_0.8919934813649772","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"_id":"@crafts69guy/hue-theme-tokens@0.2.0","bugs":{"url":"https://github.com/crafts69guy/hue-theme/issues"},"dist":{"shasum":"2420dbff08d1f01c7c065cfd176d77c4c476550f","tarball":"https://registry.npmjs.org/@crafts69guy/hue-theme-tokens/-/hue-theme-tokens-0.2.0.tgz","fileCount":7,"integrity":"sha512-BQNOVS/RImCId+JmcD65RvDNhoAl9r1FAVI8b7h4bRgyNIZ4HT4oPr8GwDvG2knG+SBMS57EW3o39azsySFuRg==","signatures":[{"sig":"MEUCIQC4xnps+IaGu2+dNDzlKND8IcVOnFTqEvwXaRFvYPADHwIgQcc1HfwKnjsuWD+H1kLN/EMgfe2MNDNNQfcuh3lpstA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD0N3MNNiiVZumA1iWxNmHJEy1RR42431pNhz7MtCkJxwIgTwAoCAORzBoyTEPjml0pAMh4fal4eZCFtiPDm4SrZ/Q="}],"unpackedSize":25542},"name":"@crafts69guy/hue-theme-tokens","type":"module","exports":{".":{"types":"./generated/themes.d.ts","import":"./generated/themes.js","default":"./generated/themes.js"},"./themes.css":"./generated/themes.css","./themes.json":"./generated/themes.json"},"gitHead":"d1b3c4ee3d7a34e9178b03a49a924008ae4d49a6","license":"MIT","scripts":{"build":"bun scripts/build.ts","check":"bun scripts/build.ts --check && tsc --noEmit","prepack":"bun run build && bun run check","typecheck":"tsc --noEmit"},"version":"0.2.0","_npmUser":{"name":"crafts69guy","email":"crafts69guy@gmail.com"},"homepage":"https://github.com/crafts69guy/hue-theme#readme","repository":{"url":"git+https://github.com/crafts69guy/hue-theme.git","type":"git","directory":"packages/tokens"},"_npmVersion":"12.0.2","description":"Portable Huế-inspired semantic design tokens for web and application themes.","directories":{},"maintainers":[{"name":"crafts69guy","email":"crafts69guy@gmail.com"}],"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14","typescript":"^5.8.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hue-theme-tokens_0.2.0_1790911004722_0.570683969813907"}}},"time":{"created":"2026-09-04T05:43:10.723Z","modified":"2026-10-02T03:16:44.959Z","0.1.0":"2026-09-04T05:43:11.066Z","0.2.0":"2026-10-02T03:16:44.807Z"},"bugs":{"url":"https://github.com/crafts69guy/hue-theme/issues"},"license":"MIT","homepage":"https://github.com/crafts69guy/hue-theme#readme","repository":{"url":"git+https://github.com/crafts69guy/hue-theme.git","type":"git","directory":"packages/tokens"},"description":"Portable Huế-inspired semantic design tokens for web and application themes.","maintainers":[{"name":"crafts69guy","email":"crafts69guy@gmail.com"}],"readme":"# @crafts69guy/hue-theme-tokens\n\nThe core of the Hue Theme system: source design tokens plus the build that\nresolves and validates them into portable artifacts.\n\n## Layers\n\n1. **Primitive** — authored colors with cultural metadata, per mood, in\n   `src/themes/{mua,huong,cung}.json` (DTCG format).\n2. **Semantic** — stable roles (`surface.canvas`, `status.notice`,\n   `syntax.keyword`, …) declared once in `src/contract.ts`, with a `closed`/open\n   flag per family.\n3. **Adapters** — map semantic roles onto a host API without mutating source\n   data (see `src/adapters/`).\n\n## Build\n\n```fish\nbun run build   # resolve tokens, validate against the contract, write generated/\nbun run check   # build --check (no writes) + tsc --noEmit\n```\n\n`bun run build` validates every mood against the contract and WCAG AA contrast,\nthen writes `generated/themes.{json,ts,css}` and every adapter's output: the Yaak\nplugin (`packages/yaak-plugin`), the Neovim/LazyVim plugin\n(`packages/nvim-plugin`), the tmux TPM plugin (`packages/tmux-plugin`), the\nGhostty, bat, lazygit, and delta theme files (`packages/terminal-themes`), the\nFish/Tide theme files (`packages/fish-themes`), the herdr and tuicr fragments\n(`packages/herdr-plugin`), and the unified Inkdrop v6 packages\n(`packages/hue-*-theme`), plus ChatGPT/Codex share strings\n(`packages/codex-themes`). Generated artifacts must not be edited by hand.\n\nThe root `bun run ci` starts with `biome ci .`; run `bun run format` from the\nrepo root after rebuilding generated artifacts so formatter and import-order\ndrift does not block CI before tests run.\n\n## Exports\n\n- `.` → compiled `generated/themes.js` with `themes.d.ts` declarations\n  (`themeBundle`, `getTheme`, `SemanticToken` and per-family token unions such\n  as `STATUS_TOKENS` / `StatusToken`).\n- `./themes.css`, `./themes.json` → the generated CSS variables and flat data.\n","readmeFilename":"README.md"}