3 ms·
Does anybody know how to grayscale all web pages in browser, and then add my custom syntax highlighting for code and links. It is not possible to change colors
by Quagga 9y ago
Does anybody know how to grayscale all web pages in browser, and then add my custom syntax highlighting for code and links.
It is not possible to change colors after applying CSS grayscale filter.
- gnicholas 9y agoI tried doing this also, but couldn't find a way to make it work easily. Since my use case was slightly different (wanted to de-saturate everything except the body text on websites), I used a semi-transparent layer instead of grayscale. You can see what the result looks like in my Chrome extension [1]—it's the Focus Mode feature, which is still in beta and off by default. 1: https://chrome.google.com/webstore/detail/beeline-reader/ifjafammaookpiajfbedmacfldaiamgg?hl=en https://chrome.google.com/webstore/detail/beeline-reader/ifj...