(themeId: string)
| 224 | |
| 225 | /** Whether a theme id refers to a custom theme. */ |
| 226 | export function isCustomThemeId(themeId: string): boolean { |
| 227 | return CUSTOM_ID_RE.test(themeId) |
| 228 | } |
| 229 | |
| 230 | /** Whether a theme provides the given mode (single-mode themes pin their one). */ |
| 231 | export function customThemeSupportsMode( |
no outgoing calls
no test coverage detected