loadThemeFromResource

Loads a theme configuration from a platform-specific resource path.

Return

A ThemeConfig object representing the loaded theme configuration.

Parameters

resourcePath

The path to the resource containing the JSON theme configuration.

Throws

If the JSON file contains invalid color hex strings.