MCPcopy Create free account
hub / github.com/uiwjs/react-codemirror / getForeground

Function getForeground

themes/_scripts/main.mjs:12–12  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

10 return isInclude ? getForeground(data.settings.foreground) : undefined;
11}
12const getForeground = (str) => typeof str === 'string' ? str : null;
13
14function format(data = {}, dark = false) {
15 const { colors = {}, tokenColors = [] } = data || {};

Callers 2

includesFunction · 0.85
formatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…