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

Method createCustomTheme

packages/bridge-contract/src/bridge.ts:276–276  ·  view source on GitHub ↗

Scaffold a new theme folder from a starter palette. Resolves to the new * slug, or null on failure / when unsupported (web).

(input: { name?: string })

Source from the content-addressed store, hash-verified

274 /** Scaffold a new theme folder from a starter palette. Resolves to the new
275 * slug, or null on failure / when unsupported (web). */
276 createCustomTheme(input: { name?: string }): Promise<string | null>
277 /** Subscribe to changes in the themes directory (file added/edited/removed). */
278 onCustomThemesChange(cb: (next: CustomTheme[]) => void): () => void
279 /** CSS overrides from `~/.config/zennotes/overrides/*.css`. Empty on web. */

Callers 2

createThemeFunction · 0.80
buildCommandsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected