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

Function downloadTheme

packages/cli/src/createApp.ts:413–420  ·  view source on GitHub ↗
(appName: string, ts: boolean)

Source from the content-addressed store, hash-verified

411}
412
413async function downloadTheme(appName: string, ts: boolean) {
414 process.chdir(resolve(cwd(), `./${appName}`))
415 await buildTheme({
416 theme: 'regenesis',
417 format: ts ? 'ts' : 'mjs',
418 })
419 process.chdir(resolve(cwd(), `../`))
420}
421
422/**
423 * Sets up the Vite config with Tailwind CSS 4.

Callers 1

createAppFunction · 0.85

Calls 1

buildThemeFunction · 0.90

Tested by

no test coverage detected