3 ms·
Super lazy night mode, paste this in your console: var strokeTable = { "#000000": "#AEAEAE", "#F5F5F5": "#252525", "#FAFAFA": "#2A2A2A",
by aftbit 7y ago
Super lazy night mode, paste this in your console:
var strokeTable = {
"#000000": "#AEAEAE",
"#F5F5F5": "#252525",
"#FAFAFA": "#2A2A2A",
}
Object.entries(strokeTable).forEach(([o, n])=>Array.from(document.querySelectorAll(`[stroke="${o}"]`)).forEach((e)=>e.style.stroke = n))
Object.entries(strokeTable).forEach(([o, n])=>Array.from(document.querySelectorAll(`[fill="${o}"]`)).forEach((e)=>e.style.fill = n))
document.body.style.backgroundColor = "#050505"
document.getElementById("test").style.backgroundColor = "#050505"
- severine 7y agoNot only is it very beautiful, but you made me use the browser console for the first time in my life and it feels great! Thank you. Off to read some of my bookmarklets, quarantine-style rabbit-hole time!