@jsvision/core / monochromeTheme
Variable: monochromeTheme
constmonochromeTheme:Theme
Defined in: color/presets.ts:66
A color-free theme that distinguishes state by text attribute (reverse / bold / dim / underline) rather than hue — the readable choice on a monochrome terminal, and a working demonstration of the ThemeRole attrs axis.
Every role uses only black, white, or gray; focused/selected surfaces reuse their normal color and add reverse, so nothing depends on color depth.
Example
ts
import { monochromeTheme } from '@jsvision/core';
monochromeTheme.listFocused.attrs; // reverse — focus shown without color