Lynx/Packages/Terminal Zero
@sigx/terminal-zero · Preview

Terminal Zero#

The headless, design-system-neutral foundation of the terminal stack: the token contract, the theme engine (resolveColor, setTheme), shared glyphs, layout primitives (Box, Row, Col, Text, …) and the prompts engine. No fixed look — skins build on it.

v0.6.2 MIT

The @sigx/terminal umbrella re-exports this package, so most apps never install it directly. @sigx/terminal-ui — the SigX-tui skin — is built entirely on its tokens; install it on its own when you're authoring a custom design system:

Terminal
pnpm add @sigx/terminal-zero

What lives here#

  • The token contract & theme engine — components ask for semantic tokens (accent, fg, line, success, …) that resolve against the active theme at render time; skins register concrete themes on top. See Theming.
  • Layout primitives — the flexbox-style Box / Row / Col / Text building blocks every terminal component composes. See Layout & styling.
  • The prompts engine — the headless half of the prompt kit; @sigx/terminal-ui themes it.

Next steps#

See where it sits in the stack in Architecture, or jump to the API reference.