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

Interface CustomTheme

packages/shared-domain/src/custom-themes.ts:44–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43/** A loaded custom theme: its manifest fields + the raw `theme.css` to inject. */
44export interface CustomTheme {
45 /** Stable id from the folder name, e.g. `soft-paper`. */
46 slug: string
47 name: string
48 author?: string
49 version?: string
50 description?: string
51 modes: CustomThemeModes
52 /** Raw `theme.css` text, injected verbatim when this theme is active. */
53 css: string
54 preview?: { light?: string; dark?: string }
55 /** Set when the folder couldn't be used; surfaced in the UI. */
56 error?: string
57}
58
59/**
60 * The semantic palette of the old TOML format. Retained only as the input to

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected