(config: Theme, url: string, isTopFrame: boolean, fixes: string, index: SiteFixesIndex)
| 44 | } |
| 45 | |
| 46 | export default function createCSSFilterStyleSheet(config: Theme, url: string, isTopFrame: boolean, fixes: string, index: SiteFixesIndex): string { |
| 47 | const filterValue = getCSSFilterValue(config)!; |
| 48 | const reverseFilterValue = 'invert(100%) hue-rotate(180deg)'; |
| 49 | return cssFilterStyleSheetTemplate('html', filterValue, reverseFilterValue, config, url, isTopFrame, fixes, index); |
| 50 | } |
| 51 | |
| 52 | export function cssFilterStyleSheetTemplate(filterRoot: string, filterValue: string, reverseFilterValue: string, config: Theme, url: string, isTopFrame: boolean, fixes: string, index: SiteFixesIndex): string { |
| 53 | const fix = getInversionFixesFor(url, fixes, index); |
nothing calls this directly
no test coverage detected