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. Variables can be declared in :root with CSS-compatible custom property names and consumed with var(--name, fallback). Supported declarations include the main CSS names color, background, font-family, font-size, margin and padding, plus Klyn-specific aliases such as accent-color, corner-radius and border-width.
theme = KssTheme.load(FilePath(Path.klynHome, "lib", "klyn", "gui", "windows", "themes", "light.kss"))
| Modifier and Type | Member | Description |
|---|---|---|
| public property | namename as String |
No summary. |
| public property | sourcePathsourcePath as String |
No summary. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | KssTheme | No summary. |