MCPcopy Create free account
hub / github.com/SuboptimalEng/coding-tutorials / createTheme

Function createTheme

_templates/01-basic/src/themes/utils.ts:16–22  ·  view source on GitHub ↗
({ primary, secondary, textBase }: ICreateTheme)

Source from the content-addressed store, hash-verified

14}
15
16export function createTheme({ primary, secondary, textBase }: ICreateTheme) {
17 return {
18 '--theme-primary': primary,
19 '--theme-secondary': secondary,
20 '--theme-text-base': textBase,
21 };
22}

Callers 2

base.tsFile · 0.90
dark.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected