MCPcopy Create free account
hub / github.com/anomalyco/opencode / stack

Function stack

packages/app/src/context/settings.tsx:76–80  ·  view source on GitHub ↗
(font: string | undefined, base: string)

Source from the content-addressed store, hash-verified

74}
75
76function stack(font: string | undefined, base: string) {
77 const value = font?.trim() ?? ""
78 if (!value) return base
79 return `${family(value)}, ${base}`
80}
81
82export function monoInput(font: string | undefined) {
83 return input(font)

Callers 3

monoFontFamilyFunction · 0.70
sansFontFamilyFunction · 0.70
terminalFontFamilyFunction · 0.70

Calls 1

familyFunction · 0.85

Tested by

no test coverage detected