LEVIATHAN v962456e · 962456eee1

moby

class Theme

since 0.1.0-alpha.1linux

bases
ITheme

Constructors

Dark

Theme::Dark()

Default

Theme::Default()

FromToml

Theme::FromToml(string tomlText)

HighContrast

Theme::HighContrast()

Light

Theme::Light()

new

new()

Fields

attrsCol_

Array<int> attrsCol_

bgCodes_

Array<int> bgCodes_

fgCodes_

Array<int> fgCodes_

keyIndex_

Map<string, int> keyIndex_

Methods

has

has(string key) -> bool

keys

keys() -> Array<string>

set

set(string key, Style s) -> Theme

setTheme

setTheme(Theme other) -> void

snapshotAttrs

snapshotAttrs() -> Array<int>

snapshotBg

snapshotBg() -> Array<int>

snapshotFg

snapshotFg() -> Array<int>

snapshotIndex

snapshotIndex() -> Map<string, int>

style

style(string key) -> Style