MCPcopy Create free account
hub / github.com/formkit/formkit / localGeneratedTheme

Function localGeneratedTheme

packages/cli/src/theme.ts:587–594  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

585}
586
587async function localGeneratedTheme(): Promise<[string, string] | undefined> {
588 const path = determineFilePath('formkit.theme')
589 if (path) {
590 const code = await readFile(path, 'utf-8')
591 return [code, path]
592 }
593 return undefined
594}
595
596async function localTheme(
597 themeName: string

Callers 1

buildThemeFunction · 0.85

Calls 1

determineFilePathFunction · 0.85

Tested by

no test coverage detected