Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Could you clarify what this means on a monitor? It looks great in photos, but if I have light text on a dark background, I don't want to replace that with dark background, dark text, and a halo between the two.

More broadly, my experience is just that I can accept higher contrasts in dark-on-light than the reverse. TextEdit light is 0 on 255, and I find it slightly harsh in some lighting. TextEdit dark is only 255 on 30, and even that's enough to be consistently annoying. Sublime's ~248 on ~40 is way more usable for me.



I don't claim that this is "perfection" but as an example

  https://jsfiddle.net/c06fkq2a/
Use white for the key-light shadow, and a black for the ambient shadow.


Thanks, interesting! I think I misunderstood the initial comment as somehow back-lighting the inside of a window to highlight text, which confused me.

Now that I see what you mean, this is definitely better - the grey-on-black windowing of the original link is far less clear than backlighting each pane.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: