class BBS::Theme

A Theme maps the style ROLES (such as :window_border or :button_focused) to ANSI SGR sequences. Widgets fetch styles through Widget#style.

The presets are data, a Hash each in PRESETS:

:synchronet

white and yellow on blue windows over a black screen, after Synchronet

:nortoncommander

cyan and blue panels, after Norton Commander

:dosnavigator

black on light grey with cyan bars, after DOS Navigator

:neumanntronics

teal and amber on black in 256 colours

:mono

no colour, only bold, dim, underline and reverse, for terminals without colour

::fetch builds one; derive a variant with merge:

BBS::Theme.fetch(:synchronet).merge(window_bg: "\e[41m")