loadThemeFromJson

JVM-specific function to load theme from InputStream for backward compatibility.

Return

A ThemeConfig object representing the loaded theme configuration.

Parameters

inputStream

The InputStream containing the theme configuration.

Throws

If the JSON file contains invalid color hex strings.