MCPcopy Index your code
hub / github.com/simstudioai/sim / resolveThemeFont

Function resolveThemeFont

apps/sim/lib/copilot/vfs/document-style.ts:124–127  ·  view source on GitHub ↗
(themeFont: string, themeFonts: { major: string; minor: string })

Source from the content-addressed store, hash-verified

122}
123
124function resolveThemeFont(themeFont: string, themeFonts: { major: string; minor: string }): string {
125 const ref = themeFont.toLowerCase()
126 return ref.includes('major') ? themeFonts.major : themeFonts.minor
127}
128
129function parseFontAttrs(
130 fontAttrsXml: string,

Callers 2

parseFontAttrsFunction · 0.70
parseDocxStylesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected