MCPcopy
hub / github.com/darkreader/darkreader / getSVGFilterMatrixValue

Function getSVGFilterMatrixValue

src/generators/svg-filter.ts:39–41  ·  view source on GitHub ↗
(config: Theme)

Source from the content-addressed store, hash-verified

37}
38
39export function getSVGFilterMatrixValue(config: Theme): string {
40 return toSVGMatrix(createFilterMatrix(config));
41}
42
43export function getSVGReverseFilterMatrixValue(): string {
44 return toSVGMatrix(Matrix.invertNHue());

Callers 3

getFilteredImageURLFunction · 0.90
ExtensionClass · 0.90

Calls 2

createFilterMatrixFunction · 0.90
toSVGMatrixFunction · 0.85

Tested by

no test coverage detected