MCPcopy
hub / github.com/darkreader/darkreader / wrapBgImgVariableName

Function wrapBgImgVariableName

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

Source from the content-addressed store, hash-verified

738}
739
740function wrapBgImgVariableName(name: string) {
741 return `--darkreader-bgimg${name}`;
742}
743
744function isVariable(property: string) {
745 return property.startsWith('--');

Callers 2

getDeclarationsMethod · 0.85
modifyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected