@yaakdoc/theme-terminal
v0.1.0
Published
Terminal - a monospace yaakdoc theme with a shell prompt, a file-tree sidebar and a tmux-style status line.
Maintainers
Readme
@yaakdoc/theme-terminal
Terminal is a monospace yaakdoc theme for CLI-first APIs: a shell prompt for the current page, the navigation as a file tree, tmux-style panes for examples and responses, and a status line with the navigation tabs, the environment and the color mode. / opens search, and [ and ] go to the previous and next page.
It's built with Tailwind CSS v4 and Radix UI, and uses JetBrains Mono, bundled locally, so there are no external requests. See it live.
Usage
npm i -D @yaakdoc/theme-terminal{
"theme": "terminal",
"themeOptions": {
"palette": "green",
"cursor": true,
"sidebarWidth": "19rem",
"navOpenDepth": 2
}
}| Option | Default | Description |
| --- | --- | --- |
| palette | "green" | Phosphor color: "green", "amber" or "mono". A branding.colors.primary takes precedence. |
| cursor | true | Show a blinking cursor after the prompt. |
| sidebarWidth | "19rem" | Any CSS length. |
| navOpenDepth | 2 | Folder levels expanded in the navigation by default. Folders containing the current page or section always open. |
See the Terminal docs for more, and Ejecting to change anything.
