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) -> boolkeys
keys() -> Array<string>set
setTheme
setTheme(Theme other) -> voidsnapshotAttrs
snapshotAttrs() -> Array<int>snapshotBg
snapshotBg() -> Array<int>snapshotFg
snapshotFg() -> Array<int>snapshotIndex
snapshotIndex() -> Map<string, int>style
style(string key) -> Style