Documentation ¶
Overview ¶
package theme provides utilities for customizing the styling of termshark.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
Load will set the package-level theme object to a viper object representing the toml file either (a) read from disk, or failing that (b) built-in to termshark. Disk themes are preferred and take precedence.
func MakeColorSafe ¶
MakeColorSafe extends gowid's MakeColorSafe function, preferring to interpret its string argument as a toml file config key lookup first; if this fails, then fall back to gowid.MakeColorSafe, which will then read colors as urwid color names, #-prefixed hex digits, grayscales, etc.
Types ¶
Click to show internal directories.
Click to hide internal directories.