MCPcopy
hub / github.com/darkreader/darkreader / getModifiedFallbackStyle

Function getModifiedFallbackStyle

src/inject/dynamic-theme/modify-css.ts:244–247  ·  view source on GitHub ↗
(theme: Theme, {strict}: {strict: boolean})

Source from the content-addressed store, hash-verified

242}
243
244export function getModifiedFallbackStyle(theme: Theme, {strict}: {strict: boolean}): string {
245 const factory = fallbackFactory || defaultFallbackFactory;
246 return factory(theme, {strict});
247}
248
249type FallbackFactory = (theme: Theme, options: {strict: boolean}) => string;
250

Callers 3

loadingStartFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected