@lotics/cli 0.144.0 → 0.145.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.
Files changed (2) hide show
  1. package/dist/src/cli.js +30 -0
  2. package/package.json +1 -1
package/dist/src/cli.js CHANGED
@@ -46405,6 +46405,36 @@ import { LoticsLocaleProvider, vi } from "@lotics/ui/locale";
46405
46405
  import { mount } from "@lotics/app-sdk";
46406
46406
  import App from "./App";
46407
46407
 
46408
+ // THIS APP LOOKS LIKE LOTICS unless you say otherwise, which is the right
46409
+ // default: the kit's own palette and typeface are what every screen in the
46410
+ // product wears, and an app that sets nothing belongs with them.
46411
+ //
46412
+ // If this app carries someone else's brand \u2014 a customer's typeface, their one
46413
+ // colour \u2014 \`applyLoticsTheme\` is the escape hatch. Call it ONCE, here, before
46414
+ // \`mount\`, so the variables are in place for the first paint:
46415
+ //
46416
+ // import { applyLoticsTheme } from "@lotics/ui/theme";
46417
+ // applyLoticsTheme({ primary: "#0F766E" });
46418
+ //
46419
+ // It is ADDITIVE \u2014 set what you own and every other role keeps the kit's value,
46420
+ // rather than resetting to some second set of defaults:
46421
+ //
46422
+ // accent which of these \u2014 a selected row, an active filter
46423
+ // primary this is on \u2014 the filled button, a checkbox, an active tab's rail
46424
+ // background the raised surface (Card, Drawer, Modal); leave white unless you
46425
+ // deliberately want a toned surface
46426
+ // border hairlines \u2014 a register is mostly these, so a small change here is
46427
+ // felt against the whole screen
46428
+ // bodyFont the typeface for everything (a CSS stack you know RESOLVES, and
46429
+ // that carries Vietnamese diacritics \u2014 a face without them turns
46430
+ // "Th\u1EA9m \u0111\u1ECBnh" into tofu). Declare its @font-face in your own CSS.
46431
+ // displayFont display type only; defaults to bodyFont
46432
+ //
46433
+ // Prefer it over declaring \`--lotics-*\` in your own stylesheet: two of those
46434
+ // values are DERIVED and fail quietly by hand \u2014 the selection wash is the accent
46435
+ // at 7%, and one bodyFont has to reach all three weight rungs or medium and
46436
+ // semibold stay in the kit's face and the screen reads as a font that half-loaded.
46437
+ //
46408
46438
  // PortalHost is the render target for @lotics/ui overlays (Popover, Tooltip,
46409
46439
  // Dialog). Without it, Portal renders nothing \u2014 keep it wrapping the app.
46410
46440
  //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.144.0",
3
+ "version": "0.145.0",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {