ThemeManager
classin packageklyn.gui.windows.themes
public class ThemeManager:
Central access point for the built-in `klyn.gui.windows` themes.
ThemeManager.setAppearanceMode(ThemeManager.MODE_SYSTEM)
Fields
| Modifier and Type |
Member |
Description |
| public static readonly |
MODE_DARK |
No summary. |
| public static readonly |
MODE_LIGHTMODE_LIGHT as String = "light" |
No summary. |
| public static readonly |
MODE_SYSTEMMODE_SYSTEM as String = "system" |
No summary. |
Methods
| Modifier and Type |
Member |
Description |
| public static |
appearanceMode |
Returns the configured global appearance mode. |
| public static |
effectiveAppearanceMode |
Resolves `system` into `light` or `dark`. |
| public static |
resolveStyle |
Resolves the current style for a widget. |
| public static |
setAppearanceModesetAppearanceMode(mode as String) as Void: |
Sets the global appearance mode used by windows that keep the default. |
| public static |
theme |
Returns the active built-in theme for the requested mode. |