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) -> intfamily
family(string key, string fallback) -> stringfirstHitInt
firstHitInt(string key, int fallback) -> inthas
has(string key) -> boolmetric
metric(string key, int fallback) -> intsetInt
setInt(string leafKey, int v) -> ThemesetString
setString(string leafKey, string v) -> ThemesetTheme
setTheme(Theme other) -> voidstyle
style(string key) -> Style