KssTheme
classin packageklyn.gui.windows.themes
public class 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 |
No summary. |
| public property |
sourcePath |
No summary. |
Constructors
| Modifier and Type |
Member |
Description |
| public |
KssTheme |
No summary. |
Methods
| Modifier and Type |
Member |
Description |
| public static |
load |
Loads a theme from a `. |
| public |
resolve |
Resolves the effective style for a widget. |