MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / isCustomThemeId

Function isCustomThemeId

packages/shared-domain/src/custom-themes.ts:226–228  ·  view source on GitHub ↗
(themeId: string)

Source from the content-addressed store, hash-verified

224
225/** Whether a theme id refers to a custom theme. */
226export 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). */
231export function customThemeSupportsMode(

Callers 6

normalizePrefsFunction · 0.90
applyCustomThemesFunction · 0.90
applyFunction · 0.90
applyExportThemeFunction · 0.90
loadFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected