{"_id":"@ambient-ui/foundation","_rev":"6-2cbc502d1e2b763e1030996ddab74ef1","name":"@ambient-ui/foundation","dist-tags":{"latest":"0.1.13"},"versions":{"0.1.0":{"name":"@ambient-ui/foundation","version":"0.1.0","license":"MIT","_id":"@ambient-ui/foundation@0.1.0","maintainers":[{"name":"lumernidge-design","email":"design@lumenridge.studio"}],"homepage":"https://github.com/Lumenridge/ambientui","bugs":{"url":"https://github.com/Lumenridge/ambientui/issues"},"dist":{"shasum":"3fe1244a2229562a40c64b0fefc3b96c270c49bc","tarball":"https://registry.npmjs.org/@ambient-ui/foundation/-/foundation-0.1.0.tgz","fileCount":17,"integrity":"sha512-25AcUOkseAqB7agst2n6G1Ot7NWZGRaLy702GjvGELczujwtIfwNbK+iyTSbEBZDuCU6vAWWEAXZ9NC5ThrIhA==","signatures":[{"sig":"MEQCIGKXynm4cwFUVt+g7sVQjguwC18NV7lN45nnvKTsok/wAiBeYwDeq8I1HQ6GCGjZzkI2Xdou5Dn9c/EpYDYfC+EGBg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":130130},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./*":{"types":"./dist/*.d.ts","import":"./dist/*.js"},"./tokens":{"types":"./dist/tokens.d.ts","import":"./dist/tokens.js"},"./package.json":"./package.json"},"gitHead":"2c7ec05cd91fa1512bbb431fffbef89a79f6162f","private":false,"scripts":{"lint":"eslint","build":"tsup","format":"prettier --write \"**/*.{ts,tsx}\"","typecheck":"tsc --noEmit"},"_npmUser":{"name":"lumernidge-design","email":"design@lumenridge.studio"},"repository":{"url":"git+https://github.com/Lumenridge/ambientui.git","type":"git","directory":"packages/foundation"},"_npmVersion":"10.9.8","description":"The Foundation engine — the design system's configuration space, compiled to CSS variables at runtime.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","eslint":"^10","globals":"^17","@eslint/js":"^10","typescript":"~6","@types/node":"^24","tailwindcss":"^4","@types/react":"^19","@types/react-dom":"^19","typescript-eslint":"^8","eslint-plugin-react-hooks":"^7.1.1","eslint-plugin-react-refresh":"^0.5.2","esbuild-plugin-preserve-directives":"^0.0.11"},"peerDependencies":{"react":"^19","ambientui":"^0.1.0","react-dom":"^19","@ambient-ui/ui":"^0.1.0"},"peerDependenciesMeta":{"ambientui":{"optional":true},"@ambient-ui/ui":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/foundation_0.1.0_1788683482964_0.41909374337848115","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@ambient-ui/foundation","version":"0.1.3","keywords":["design-system","design-tokens","theme","theming","tailwindcss","shadcn","react","css-variables"],"license":"MIT","_id":"@ambient-ui/foundation@0.1.3","maintainers":[{"name":"lumernidge-design","email":"design@lumenridge.studio"}],"homepage":"https://ambientui.ai","bugs":{"url":"https://github.com/Lumenridge/ambientui/issues"},"dist":{"shasum":"4df69b115ba5cc6d61abcd65978abaccd9b5fac1","tarball":"https://registry.npmjs.org/@ambient-ui/foundation/-/foundation-0.1.3.tgz","fileCount":18,"integrity":"sha512-grJgmGPXvTC7xD0V/9WY/c4iVRt4efDpnwAZj7XrygjGTW5F0hRPNgd1rnUqSavEDLsDZv6fMBqbFkD6IYPZEA==","signatures":[{"sig":"MEUCIEt+C/F2hnTwtgQ7A531yj0lmlW14ykgab9A8ImHoiflAiEA6kLQcI7Ge9EE+fG9c1xNkAbu5pRlKnEkMrWNTsvdYVs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":131768},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./*":{"types":"./dist/*.d.ts","import":"./dist/*.js"},"./tokens":{"types":"./dist/tokens.d.ts","import":"./dist/tokens.js"},"./package.json":"./package.json"},"gitHead":"9d4eb9cc50252164d1963afcaed6f27414d01ba3","private":false,"scripts":{"lint":"eslint","build":"tsup","format":"prettier --write \"**/*.{ts,tsx}\"","typecheck":"tsc --noEmit"},"_npmUser":{"name":"lumernidge-design","email":"design@lumenridge.studio"},"repository":{"url":"git+https://github.com/Lumenridge/ambientui.git","type":"git","directory":"packages/foundation"},"_npmVersion":"10.9.8","description":"The Foundation engine — the design system's configuration space, compiled to CSS variables at runtime.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","eslint":"^10","globals":"^17","@eslint/js":"^10","typescript":"~6","@types/node":"^24","tailwindcss":"^4","@types/react":"^19","@types/react-dom":"^19","typescript-eslint":"^8","eslint-plugin-react-hooks":"^7.1.1","eslint-plugin-react-refresh":"^0.5.2","esbuild-plugin-preserve-directives":"^0.0.11"},"peerDependencies":{"react":"^19","ambientui":"^0.1.3","react-dom":"^19","@ambient-ui/ui":"^0.1.3"},"peerDependenciesMeta":{"ambientui":{"optional":true},"@ambient-ui/ui":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/foundation_0.1.3_1788687572653_0.9138723944362095","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@ambient-ui/foundation","version":"0.1.7","keywords":["design-system","design-tokens","theme","theming","tailwindcss","shadcn","react","css-variables"],"license":"MIT","_id":"@ambient-ui/foundation@0.1.7","maintainers":[{"name":"lumernidge-design","email":"design@lumenridge.studio"}],"homepage":"https://ambientui.ai","bugs":{"url":"https://github.com/Lumenridge/ambientui/issues"},"dist":{"shasum":"1aa6f592b8b06051a4531798ff5054038484aeb7","tarball":"https://registry.npmjs.org/@ambient-ui/foundation/-/foundation-0.1.7.tgz","fileCount":18,"integrity":"sha512-uEg7t61uDjK6xccTXPYyuKF1RbMYx3Wmt1uMb4Go1WJRxh/tl2YMkyQQpAcvvNGrwxcdmAOzMVfXxzKBCvegkg==","signatures":[{"sig":"MEUCIQCU3IVT0MgwWlaIyOwfMQSsM+6IyPJgeEt2xhG2zWFU1wIgCOsfzDLRjTHwb53KyvjWzkvALoFTjpdtzpIDoddTGVk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDi+bLMnXQ7KrXkenYD5OZ0msam/ZLNuFxsXrCMv06+6AiEAhj5ERp6eH+oIdDPOVnTYNyD3IwKaYUR51hAhQabLlkU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133921},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./*":{"types":"./dist/*.d.ts","import":"./dist/*.js"},"./tokens":{"types":"./dist/tokens.d.ts","import":"./dist/tokens.js"},"./package.json":"./package.json"},"gitHead":"01e4d7f636402b48c47d523cdd7d4ef8e281889b","private":false,"scripts":{"lint":"eslint","build":"tsup","format":"prettier --write \"**/*.{ts,tsx}\"","typecheck":"tsc --noEmit"},"_npmUser":{"name":"lumernidge-design","email":"design@lumenridge.studio"},"repository":{"url":"git+https://github.com/Lumenridge/ambientui.git","type":"git","directory":"packages/foundation"},"_npmVersion":"10.9.8","description":"The Foundation engine — the design system's configuration space, compiled to CSS variables at runtime.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","eslint":"^10","globals":"^17","@eslint/js":"^10","typescript":"~6","@types/node":"^24","tailwindcss":"^4","@types/react":"^19","@types/react-dom":"^19","typescript-eslint":"^8","eslint-plugin-react-hooks":"^7.1.1","eslint-plugin-react-refresh":"^0.5.2","esbuild-plugin-preserve-directives":"^0.0.11"},"peerDependencies":{"react":"^19","ambientui":"^0.1.3","react-dom":"^19","@ambient-ui/ui":"^0.1.3"},"peerDependenciesMeta":{"ambientui":{"optional":true},"@ambient-ui/ui":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/foundation_0.1.7_1789144432754_0.3269742690248274","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@ambient-ui/foundation","version":"0.1.8","keywords":["design-system","design-tokens","theme","theming","tailwindcss","shadcn","react","css-variables"],"license":"MIT","_id":"@ambient-ui/foundation@0.1.8","maintainers":[{"name":"lumernidge-design","email":"design@lumenridge.studio"}],"homepage":"https://ambientui.ai","bugs":{"url":"https://github.com/Lumenridge/ambientui/issues"},"dist":{"shasum":"b4a05d6c8b3a459fe07364f0d4666b24f10f88b5","tarball":"https://registry.npmjs.org/@ambient-ui/foundation/-/foundation-0.1.8.tgz","fileCount":18,"integrity":"sha512-qmMaJWPX6tlPsmCj+OMi0Sar0Cun/tNQ3EqGfS8GeFRioPti2SDevt72KQ3uJ9/a8c32bxd33aldJm8hnw9qvQ==","signatures":[{"sig":"MEUCIDge0lyp0SZkR6CSZyzwTgHpoVzTXF6qz8ClTZOtbw1OAiEAl6wcEvTGu5XIriNnEv57ubZrcDqKYT9KJA5dQ0D4yZw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDBWEtOBKUzS0tVHAV+sNe6215hACxYS1wlhaldlWlElwIhAJXY896sqn8e7gJR2AJJ0JYNv2sMeEiuYHoJDSpk4pqa","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":134269},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./*":{"types":"./dist/*.d.ts","import":"./dist/*.js"},"./tokens":{"types":"./dist/tokens.d.ts","import":"./dist/tokens.js"},"./package.json":"./package.json"},"gitHead":"f41f1c99f3a03356e3cb984230b83dee5e800b79","private":false,"scripts":{"lint":"eslint","build":"tsup","format":"prettier --write \"**/*.{ts,tsx}\"","typecheck":"tsc --noEmit"},"_npmUser":{"name":"lumernidge-design","email":"design@lumenridge.studio"},"repository":{"url":"git+https://github.com/Lumenridge/ambientui.git","type":"git","directory":"packages/foundation"},"_npmVersion":"10.9.8","description":"The Foundation engine — the design system's configuration space, compiled to CSS variables at runtime.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","eslint":"^10","globals":"^17","@eslint/js":"^10","typescript":"~6","@types/node":"^24","tailwindcss":"^4","@types/react":"^19","@types/react-dom":"^19","typescript-eslint":"^8","eslint-plugin-react-hooks":"^7.1.1","eslint-plugin-react-refresh":"^0.5.2","esbuild-plugin-preserve-directives":"^0.0.11"},"peerDependencies":{"react":"^19","ambientui":"^0.1.3","react-dom":"^19","@ambient-ui/ui":"^0.1.3"},"peerDependenciesMeta":{"ambientui":{"optional":true},"@ambient-ui/ui":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/foundation_0.1.8_1789144884809_0.935296673232586","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@ambient-ui/foundation","version":"0.1.9","keywords":["design-system","design-tokens","theme","theming","tailwindcss","shadcn","react","css-variables"],"license":"MIT","_id":"@ambient-ui/foundation@0.1.9","maintainers":[{"name":"lumernidge-design","email":"design@lumenridge.studio"}],"homepage":"https://ambientui.ai","bugs":{"url":"https://github.com/Lumenridge/ambientui/issues"},"dist":{"shasum":"8aeccb61f862542857f7e54d343fa94f149e6237","tarball":"https://registry.npmjs.org/@ambient-ui/foundation/-/foundation-0.1.9.tgz","fileCount":18,"integrity":"sha512-GFJEUelLnXoMDQv071q1H8RPV7f5ikHeFwnGo0xYvnKY6pti48kUuN5JMOUBMh2A4B9d9run95n5shWYNfIAGg==","signatures":[{"sig":"MEUCIQDEN04ctF1zkxHeRQ0OS0YE9ls7Dx+3yhtdp+j8SmRSIAIgbxhcbm5QCue8e+C0nHKjR8irA9PDBollKxURUdLCyf0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHlISig/V486bHhuXrSj6JqtdtUsLKHoXP82so0MsOT8AiBpKA0E6xHi2lAHmzUkV5Ava361qSy6x3zrq5OOf5uaPA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":136160},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./*":{"types":"./dist/*.d.ts","import":"./dist/*.js"},"./tokens":{"types":"./dist/tokens.d.ts","import":"./dist/tokens.js"},"./package.json":"./package.json"},"gitHead":"1b418684b5d2959f01ab0db70a0057283cf22a07","private":false,"scripts":{"lint":"eslint","build":"tsup","format":"prettier --write \"**/*.{ts,tsx}\"","typecheck":"tsc --noEmit"},"_npmUser":{"name":"lumernidge-design","email":"design@lumenridge.studio"},"repository":{"url":"git+https://github.com/Lumenridge/ambientui.git","type":"git","directory":"packages/foundation"},"_npmVersion":"10.9.8","description":"The Foundation engine — the design system's configuration space, compiled to CSS variables at runtime.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","eslint":"^10","globals":"^17","@eslint/js":"^10","typescript":"~6","@types/node":"^24","tailwindcss":"^4","@types/react":"^19","@types/react-dom":"^19","typescript-eslint":"^8","eslint-plugin-react-hooks":"^7.1.1","eslint-plugin-react-refresh":"^0.5.2","esbuild-plugin-preserve-directives":"^0.0.11"},"peerDependencies":{"react":"^19","ambientui":"^0.1.3","react-dom":"^19","@ambient-ui/ui":"^0.1.3"},"peerDependenciesMeta":{"ambientui":{"optional":true},"@ambient-ui/ui":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/foundation_0.1.9_1789147919214_0.5435320637646541","host":"s3://npm-registry-packages-npm-production"}},"0.1.13":{"_id":"@ambient-ui/foundation@0.1.13","bugs":{"url":"https://github.com/Lumenridge/ambientui/issues"},"dist":{"shasum":"065f04196307b6541393982e4acbced1f550bf91","tarball":"https://registry.npmjs.org/@ambient-ui/foundation/-/foundation-0.1.13.tgz","fileCount":18,"integrity":"sha512-1uqb71bgP7U8zybqFDvCdxx1Leto+j3gJKwI2pqDEB4ZmXKa+V3jg/3aZeWHnG7v+5AqdNDydnNWx+blJYA+vw==","signatures":[{"sig":"MEQCID+sS4u7GMJWg6LHSg/Qu9y4bPxD9E1BcSaF5tPBK/upAiBxmcBJ2fUu84yLNGyUrv5e4NYMiV0kvgoU6vodzbUY1A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC6Zds5fwoVm8z352dQ71zKluJDfRXrOr402mf6mcpKHAiB1DEMIlHbbOMsOtM5ygTky36rBId1tuH4aLh1NVg4kWg=="}],"unpackedSize":136407},"name":"@ambient-ui/foundation","type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./*":{"types":"./dist/*.d.ts","import":"./dist/*.js"},"./tokens":{"types":"./dist/tokens.d.ts","import":"./dist/tokens.js"},"./package.json":"./package.json"},"gitHead":"21bb46d53473f6ef35c665cf40ccd77ffd2ec246","license":"MIT","private":false,"scripts":{"lint":"eslint","build":"tsup","format":"prettier --write \"**/*.{ts,tsx}\"","typecheck":"tsc --noEmit"},"version":"0.1.13","_npmUser":{"name":"lumernidge-design","email":"design@lumenridge.studio"},"homepage":"https://ambientui.ai","keywords":["design-system","design-tokens","theme","theming","tailwindcss","shadcn","react","css-variables"],"repository":{"url":"git+https://github.com/Lumenridge/ambientui.git","type":"git","directory":"packages/foundation"},"_npmVersion":"10.9.8","description":"The Foundation engine — the design system's configuration space, compiled to CSS variables at runtime.","directories":{},"maintainers":[{"name":"lumernidge-design","email":"design@lumenridge.studio"}],"sideEffects":false,"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","eslint":"^10","globals":"^17","@eslint/js":"^10","typescript":"~6","@types/node":"^24","tailwindcss":"^4","@types/react":"^19","@types/react-dom":"^19","typescript-eslint":"^8","eslint-plugin-react-hooks":"^7.1.1","eslint-plugin-react-refresh":"^0.5.2","esbuild-plugin-preserve-directives":"^0.0.11"},"peerDependencies":{"react":"^19","ambientui":"^0.1.13","react-dom":"^19","@ambient-ui/ui":"^0.1.3"},"peerDependenciesMeta":{"ambientui":{"optional":true},"@ambient-ui/ui":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/foundation_0.1.13_1789158380327_0.37634254671670275"}}},"time":{"created":"2026-09-06T08:31:22.725Z","modified":"2026-09-11T20:26:20.626Z","0.1.0":"2026-09-06T08:31:23.106Z","0.1.3":"2026-09-06T09:39:32.809Z","0.1.7":"2026-09-11T16:33:52.837Z","0.1.8":"2026-09-11T16:41:24.918Z","0.1.9":"2026-09-11T17:31:59.304Z","0.1.13":"2026-09-11T20:26:20.415Z"},"bugs":{"url":"https://github.com/Lumenridge/ambientui/issues"},"license":"MIT","homepage":"https://ambientui.ai","keywords":["design-system","design-tokens","theme","theming","tailwindcss","shadcn","react","css-variables"],"repository":{"url":"git+https://github.com/Lumenridge/ambientui.git","type":"git","directory":"packages/foundation"},"description":"The Foundation engine — the design system's configuration space, compiled to CSS variables at runtime.","maintainers":[{"name":"lumernidge-design","email":"design@lumenridge.studio"}],"readme":"# @ambient-ui/foundation\n\n**A design system as a short menu of values, and the engine that compiles a\nchoice into CSS.**\n\nSomeone shows you a product and says \"make it feel like that\". The usual\nanswer is to adjust components until it looks close. Here you pick from a\nshort menu instead: an accent colour, a grey, a corner radius, a spacing\nstep, a type scale, an icon set, how motion feels. Save, and every\ncomponent on every page redraws, the [ambientui](https://www.npmjs.com/package/ambientui)\nassistant included.\n\nThe menu is short on purpose. If it cannot express something, that is the\nsystem doing its job: an AI working inside it cannot invent a colour,\nbecause there is nowhere to put one.\n\n```bash\nnpm i @ambient-ui/foundation\n```\n\n```tsx\nimport { FoundationProvider } from \"@ambient-ui/foundation\"\n\n<FoundationProvider>{children}</FoundationProvider>\n```\n\nThe provider compiles the saved configuration into one injected style tag\nand persists it on save. The data half is importable on its own with no\nReact at all:\n\n```ts\nimport { compileFoundationCss, DEFAULT_FOUNDATION } from \"@ambient-ui/foundation/tokens\"\n```\n\n`compileFoundationCss(config)` returns the whole theme as text. Inject it at\nruntime or render it into your globals at build time; the provider is one\nway to use it, not the only one.\n\nExplore every dimension live at [ambientui.ai/ds](https://ambientui.ai/ds).\nPrefer source you own? `npx shadcn add https://registry.ambientui.ai/r/foundation.json`\n- that route also lands `styles/foundation.css`, the bridge that routes\nTailwind's radius, transition and color utilities through the Foundation's\nvariables; import it in your globals after the Tailwind import, as shipped,\nnever rebuilt by hand.\n\nMIT (c) Lumenridge\n","readmeFilename":"README.md"}