load Theme From Resource
Loads a theme configuration from a platform-specific resource path.
Return
A ThemeConfig object representing the loaded theme configuration.
Parameters
resource Path
The path to the resource containing the JSON theme configuration.
Throws
If the JSON file contains invalid color hex strings.