public static setThemeFromFile(mode as String, path as Object) as Void:
Loads a KSS file and installs it for the requested mode or theme name.
Use this at application startup, before creating windows, so layout metrics derived from font and padding declarations are applied from the first layout pass.
ThemeManager.setThemeFromFile("harbor", "themes/harbor.kss")
ThemeManager.setAppearanceMode("harbor")