LEVIATHAN v962456e · 962456eee1

dagon

class Theme

since 0.1.0-alpha.1linux

bases
ITheme

Constructors

Dark

Theme::Dark()

FromToml

Theme::FromToml(string tomlText)

HighContrast

Theme::HighContrast()

Light

Theme::Light()

new

new()

Fields

intLeaves_

Map<string, int> intLeaves_

stringLeaves_

Map<string, string> stringLeaves_

Methods

color

color(string key, int fallback) -> int

family

family(string key, string fallback) -> string

firstHitInt

firstHitInt(string key, int fallback) -> int

has

has(string key) -> bool

metric

metric(string key, int fallback) -> int

setInt

setInt(string leafKey, int v) -> Theme

setString

setString(string leafKey, string v) -> Theme

setTheme

setTheme(Theme other) -> void

style

style(string key) -> Style