Xssmaze::UI
Presentation tokens for everything XSSMaze prints to a terminal: colour
detection, the palette, and the brand mark. The palette is lifted straight
from the web UI (Assets::INDEX_CSS) so the CLI and the browser read as the
same product.
Constants
Kemal's own log output (startup notice, unhandled exceptions). Dropping
the ISO timestamp and the kemal: source keeps rare messages readable
instead of making every line look like a stack trace.
The brand mark: the same square unicursal spiral as Assets::FAVICON_SVG,
redrawn on the 7x6 character grid the SVG path already snaps to. The stub
at the top right is the exit; the one in the middle is where you start.
Truecolor when the terminal advertises it, 256-colour otherwise. Both ladders track the dark-theme tokens, which is what a terminal usually is.
Class methods
Honour NO_COLOR (https://no-color.org) and stay plain when the output is
piped into a file or a tool. --no-color flips this off explicitly.
Honour NO_COLOR (https://no-color.org) and stay plain when the output is
piped into a file or a tool. --no-color flips this off explicitly.