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

Function modifyColor

src/inject/dynamic-theme/modify-colors.ts:92–94  ·  view source on GitHub ↗
(rgb: RGBA, theme: Theme)

Source from the content-addressed store, hash-verified

90}
91
92export function modifyColor(rgb: RGBA, theme: Theme): string {
93 return modifyColorWithCache(rgb, theme, noopHSL);
94}
95
96function modifyAndRegisterColor(
97 type: 'background' | 'text' | 'border',

Callers

nothing calls this directly

Calls 1

modifyColorWithCacheFunction · 0.85

Tested by

no test coverage detected