Hacker News new | past | comments | ask | show | jobs | submit login

I would propose something like this to start with:

https://demo.sentido-labs.com/proposal/discoverdev/

That's just a .dark class in the body tag:

    <body class="dark" onload="document.querySelector('.dark-switch > input').onchange()">
...a switch at the top right:

    <label class="dark-switch"><input type="checkbox" checked onchange="document.body.classList[this.checked?'add':'remove']('dark')"/> dark</label>
...and a bit of CSS:

https://demo.sentido-labs.com/proposal/discoverdev/dark.css

I also find the yellow-on-white links in your Twitter theme difficult to read.




Oh wow! super cool :) Thank you for putting in the work for the demo! Really appreciate it.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: