|
|
|
|
|
by aftbit
2289 days 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"
|
|
Off to read some of my bookmarklets, quarantine-style rabbit-hole time!