KssTheme
classin packageklyn.gui.windows.themes
public class KssTheme:
KssTheme
Small CSS-like theme used by `klyn.gui.windows`. Supported selectors are widget types, optional `.className` suffixes and the pseudo states `:hover`, `:focus`, `:pressed` and `:disabled`.
theme = KssTheme.load(FilePath(Path.klynHome, "lib", "klyn", "gui", "windows", "themes", "light.kss"))
Properties
Modifier and Type Member Description
public property name
name as String
No summary.
public property sourcePath
sourcePath as String
No summary.
Constructors
Modifier and Type Member Description
public KssTheme
KssTheme(name as String = "", sourcePath as String = ""):
No summary.
Methods
Modifier and Type Member Description
public static load
load(path as Object) as KssTheme:
Loads a theme from a `.
public resolve
resolve(widget as Widget) as ThemeStyle:
Resolves the effective style for a widget.