MCPcopy Create free account
hub / github.com/dailydotdev/apps / themeMap

Function themeMap

packages/shared/tailwind/buttonTheme.ts:93–99  ·  view source on GitHub ↗
(keys: string[], theme: 'd' | 'l')

Source from the content-addressed store, hash-verified

91 });
92
93 const themeMap = (keys: string[], theme: 'd' | 'l'): StyleMap =>
94 Object.fromEntries(
95 keys.map((key) => [
96 `${varPrefix}-${key}`,
97 `var(${sourcePrefix}-${theme}-${key})`,
98 ]),
99 );
100
101 const themes: Record<string, NestedRule> = {};
102 groups.forEach((group) => {

Callers 1

buttonThemeStylesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected