{"_id":"@agent-j/style","name":"@agent-j/style","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.3":{"name":"@agent-j/style","version":"0.0.3","license":"MIT","style":"./src/tokens.css","exports":{"./tokens.css":"./src/tokens.css","./tailwind-preset":"./tailwind-preset.cjs","./package.json":"./package.json"},"sideEffects":["**/*.css"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/jorisgp/agent-j-utils.git"},"bugs":{"url":"https://github.com/jorisgp/agent-j-utils/issues"},"homepage":"https://github.com/jorisgp/agent-j-utils","gitHead":"341c9cb73416ad3d41c285eb53b4c3236653e0a8","_id":"@agent-j/style@0.0.3","description":"Shared design tokens for Agent J. This framework-independent package contains the existing light and dark color and shadow tokens, plus a Tailwind CSS 3 preset for brand colors, font families, shadows, and border radius.","_nodeVersion":"24.20.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-Lwhm3KMDN3uX+MALg+WjpE9hdSNpcUZzPmSY3AtPuF3cPT1yfTTp0faykFHtI3OIA1HnIjMP8zAumQxAWa1RNQ==","shasum":"0d571478f70ff11b73d618f5e371a855409a3678","tarball":"https://registry.npmjs.org/@agent-j/style/-/style-0.0.3.tgz","fileCount":4,"unpackedSize":4786,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agent-j%2fstyle@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDqKWEVAmBsAcJs4ChMJ8nqVnwX3Vjjnig13VMO96MsKAIgPY7LxYN4X+Emt8lxc668eAiXjdPC3F1TfT8LWoPV3Ws="}]},"_npmUser":{"name":"agentj-nl","email":"jgpieters@hotmail.com"},"directories":{},"maintainers":[{"name":"agentj-nl","email":"jgpieters@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/style_0.0.3_1788701702949_0.4219734437613807"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-06T13:35:02.839Z","0.0.3":"2026-09-06T13:35:03.088Z","modified":"2026-09-06T13:35:03.537Z"},"maintainers":[{"name":"agentj-nl","email":"jgpieters@hotmail.com"}],"description":"Shared design tokens for Agent J. This framework-independent package contains the existing light and dark color and shadow tokens, plus a Tailwind CSS 3 preset for brand colors, font families, shadows, and border radius.","homepage":"https://github.com/jorisgp/agent-j-utils","repository":{"type":"git","url":"git+https://github.com/jorisgp/agent-j-utils.git"},"bugs":{"url":"https://github.com/jorisgp/agent-j-utils/issues"},"license":"MIT","readme":"# agent-j-style\n\nShared design tokens for Agent J. This framework-independent package contains the existing light and dark color and shadow tokens, plus a Tailwind CSS 3 preset for brand colors, font families, shadows, and border radius.\n\n## CSS tokens\n\nImport once in your global stylesheet:\n\n```css\n@import '@agent-j/style/tokens.css';\n```\n\n```css\n.card {\n  color: var(--agentj-color-text);\n  background: var(--agentj-color-surface);\n  border: 1px solid var(--agentj-color-border);\n  box-shadow: var(--agentj-shadow-sm);\n}\n```\n\nTokens default to light mode, follow `prefers-color-scheme: dark`, and support a `.dark` ancestor for explicit dark mode. Override custom properties after the import to customize a theme. The stylesheet contains no reset or font downloads.\n\n## Tailwind\n\n```js\nmodule.exports = {\n  presets: [require('@agent-j/style/tailwind-preset')],\n  content: ['./src/**/*.{html,ts}'],\n};\n```\n\nThe preset preserves `brand-50` through `brand-900`, `font-sans`, `font-serif`, `shadow-agentj-sm`, `shadow-agentj-md`, and `rounded-agentj`. Load Open Sans and Playfair Display in the consuming application. Tailwind shadows retain their existing values, which differ from the theme-aware CSS shadows.\n\n## Build\n\n```sh\npnpm nx build agent-j-style\nnpm pack ./dist/libs/agent-j-style\n```\n\nEdit `src/tokens.css` for theme tokens and `tailwind-preset.cjs` for Tailwind foundations. The application uses the source stylesheet and the root Tailwind configuration consumes this preset directly.\n","readmeFilename":"README.md","_rev":"1-597e3006c7d574ef90246e00ed5c946b"}