MCPcopy Index your code
hub / github.com/darkreader/darkreader / wrapBgColorVariableName

Function wrapBgColorVariableName

src/inject/dynamic-theme/variables.ts:728–730  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

726}
727
728function wrapBgColorVariableName(name: string) {
729 return `--darkreader-bg${name}`;
730}
731
732function wrapTextColorVariableName(name: string) {
733 return `--darkreader-text${name}`;

Callers 4

getDeclarationsMethod · 0.85
modifyMethod · 0.85
putRootVarsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected