find Bundled By Id
Finds a bundled theme descriptor by its stable id, or returns null if not found.
val descriptor = HighlightTheme.findBundledById(savedThemeId)
val theme = descriptor?.create() ?: HighlightTheme.tomorrow()Content copied to clipboard
Return
The matching HighlightThemeDescriptor, or null if unrecognized.
Parameters
id
The stable theme identifier to look up (e.g. "tomorrow", "dracula").