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

Function tryModifyTextColor

src/inject/dynamic-theme/variables.ts:846–848  ·  view source on GitHub ↗
(color: string, theme: Theme)

Source from the content-addressed store, hash-verified

844}
845
846function tryModifyTextColor(color: string, theme: Theme) {
847 return handleRawColorValue(color, theme, modifyForegroundColor);
848}
849
850function tryModifyBorderColor(color: string, theme: Theme) {
851 return handleRawColorValue(color, theme, modifyBorderColor);

Callers 2

putRootVarsMethod · 0.85

Calls 1

handleRawColorValueFunction · 0.85

Tested by

no test coverage detected