Monday, September 5, 2022

Show HN: HN dark mode in 2 lines of code https://ift.tt/x4QVhuH

Show HN: HN dark mode in 2 lines of code Paste this in the developer tools console of your browser document.documentElement.style.filter = "invert()" document.documentElement.style.background = '#fff' Edit: you can also create a bookmark with the code below in the URL field javascript: (() => { document.documentElement.style.filter = "invert()";document.documentElement.style.background = '#fff' })(); Then just click on the bookmark for instant dark mode September 5, 2022 at 06:51AM

No comments:

Post a Comment

Show HN: Gridland: make terminal apps that also run in the browser https://ift.tt/5OaA6dy

Show HN: Gridland: make terminal apps that also run in the browser Hi everyone, Gridland is a runtime + ShadCN UI registry that makes it pos...