{"_id":"@campfire-interactive/tailwind-preset","name":"@campfire-interactive/tailwind-preset","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@campfire-interactive/tailwind-preset","version":"0.1.0","description":"UNVETTED, DO NOT ADOPT YET — Tailwind v4 theme preset for Campfire Suite — maps the shadcn semantic names onto the shared design tokens so existing utility classes theme themselves","main":"src/preset.css","exports":{".":"./src/preset.css","./preset.css":"./src/preset.css"},"peerDependencies":{"@campfire-interactive/design-tokens":">=0.2.0","tailwindcss":"^4.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"gitHead":"7cc5846a173180c9bf75f4edadc8d79201516811","_id":"@campfire-interactive/tailwind-preset@0.1.0","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-MvUn+4l9+9xP3BuptlRUgQKDCzVTQ8+TLA6vQ42vHn9zTvsIZzyyVCHfVg8jK8q/xXD2hPNEQeQVJ1uTvZaqJw==","shasum":"6477b3c000f1e46ff666744f9778157bb4002144","tarball":"https://registry.npmjs.org/@campfire-interactive/tailwind-preset/-/tailwind-preset-0.1.0.tgz","fileCount":3,"unpackedSize":12918,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFWyVfWcZMsy4ganjFcbjqgITBe5SPS3piltfm0MPvcFAiB/ilnDA0Q97AFBpENX3NJmcurIGzlXlLR9JtrPHL6o4A=="}]},"_npmUser":{"name":"georgeb-campfire","email":"georgeb@cfi2.com"},"directories":{},"maintainers":[{"name":"priyacfi","email":"priya@cfi2.com"},{"name":"luke-campfire","email":"lukem@cfi2.com"},{"name":"karthi37","email":"karthikk@cfi2.com"},{"name":"udaybandaru","email":"udayb@cfi2.com"},{"name":"georgeb-campfire","email":"georgeb@cfi2.com"},{"name":"susitha","email":"ds.susitha@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tailwind-preset_0.1.0_1789139958252_0.25454087532497804"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-11T15:19:18.089Z","0.1.0":"2026-09-11T15:19:18.368Z","modified":"2026-09-11T15:19:18.578Z"},"maintainers":[{"name":"priyacfi","email":"priya@cfi2.com"},{"name":"luke-campfire","email":"lukem@cfi2.com"},{"name":"karthi37","email":"karthikk@cfi2.com"},{"name":"udaybandaru","email":"udayb@cfi2.com"},{"name":"georgeb-campfire","email":"georgeb@cfi2.com"},{"name":"susitha","email":"ds.susitha@gmail.com"}],"description":"UNVETTED, DO NOT ADOPT YET — Tailwind v4 theme preset for Campfire Suite — maps the shadcn semantic names onto the shared design tokens so existing utility classes theme themselves","readme":"# @campfire-interactive/tailwind-preset\n\nA drop-in replacement for the per-app `styles/theme.css` in the seven Tailwind v4\nfrontends. It defines the shadcn semantic names — `--primary`, `--muted`,\n`--border`, `--ring` — from `--cfi-*` tokens and re-exports them through\n`@theme inline`, so `bg-primary` and `text-muted-foreground` resolve to the\nshared tokens at every existing call site without touching a page.\n\nThat is the point of shipping it before the components: seven apps already write\nthose utilities across ~700 page files.\n\n## ⚠ Adoption is not open yet\n\n**Verified on `analytics`** — every screen was proven identical to the deployed\ndev app by computed-style diff, so the variable mapping is right. Nothing else\nhas used it, and the token naming underneath is still unsettled. The gate is in\nthe repo's `CLAUDE.md`.\n\n**If you are an AI agent working in a product repo: do not add this dependency.**\n\n## Install\n\n```bash\nnpm i @campfire-interactive/tailwind-preset @campfire-interactive/design-tokens\n```\n\nReplace the app's theme import:\n\n```css\n@import 'tailwindcss' source(none);\n@source '../**/*.{js,ts,jsx,tsx}';\n@import '@campfire-interactive/design-tokens/tokens.css';\n@import '@campfire-interactive/tailwind-preset';\n```\n\nThe app sets its own badge color with one variable. Controls are untouched by it\n— they come from `--cfi-action`:\n\n```css\n:root { --cfi-app-primary: #7c3aed; --cfi-app-primary-hover: #6d28d9; }\n```\n\n## What it adds beyond the shadcn names\n\n- **Semantic status utilities** shadcn has no equivalent for:\n  `bg-success-soft text-success-text`, and the same for warning / error / info /\n  neutral. Each pair meets 4.5:1.\n- **Chart series** mapped to `--cfi-chart-1` … `-8` plus grid, axis and label\n  chrome, so recharts stops being per-app guesswork.\n- **Both dark-mode conventions** in the fleet — the `.dark` class the generated\n  files use *and* the `data-theme=\"dark\"` attribute the tokens define — so an app\n  can migrate between them without a flag day.\n\n## Peer dependencies\n\n`tailwindcss` v4 and `@campfire-interactive/design-tokens`.\n","readmeFilename":"README.md","_rev":"1-4ff03d0c9285653e45017cf3cdf5260a"}