Of all places, HN should be dark mode by default, without any of us using a plugin or specific browser. I don't want my eyes to burn when I'm browsing HN at night on my phone. Anyone?
NOOOO! Why not a check box in the profile page? There is already a place for changing the colors. Can we please not add any javascript? The server remembers my topbar color. It can remember a boolean flag too.
Comments (445) 93 threads
Show all comments
Showing thread 14 of 93
const getAttributes = () => {
};const changeStyles = (targetElement) => {
};style = document.createElement("style");
(function main() { const { ...attributes } = getAttributes(); changeStyles(attributes.head); })();