@odla-ai/brand 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -58,10 +58,12 @@ const persona = createBrandPersona({
58
58
  const run = await runAgent(inference, persona, { input: userMessage });
59
59
  ```
60
60
 
61
- Compile anywhere worker, script, or browser:
61
+ Compile anywhere, including a host that wants only the zero-dependency token
62
+ engine. The `./tokens` subpath does not load the agent, routes, or brand-book
63
+ schema:
62
64
 
63
65
  ```ts
64
- import { compileBrandTokens, renderTokensCss } from "@odla-ai/brand";
66
+ import { compileBrandTokens, renderTokensCss } from "@odla-ai/brand/tokens";
65
67
 
66
68
  const { light, dark, warnings } = compileBrandTokens({ swatches });
67
69
  const css = renderTokensCss(light, { dark }); // :root / [data-theme="dark"] / media guard