klyn.gui.windows.themes.SessionTheme.setAppearance
method
public static setAppearance(mode as String, accent as String = "", highContrast as Boolean = false) as Void
Description

Publishes session colors and refreshes local subscribers synchronously. Other GUI processes observe the complete publication within their next tick. No account, network or display operation is performed.

Throws
  • IOException on publication failure; ValueException on invalid values.
Example

SessionTheme.setAppearance("dark", "#7256D8", false)