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

You get light grey? The headings are #101828 and body text #364153 on #0a0a0a for me.




Light mode text: oklch(37.3% .034 259.733)

Dark mode text: oklch(87.2% .01 258.338)

Background in both modes: oklch(14.5% 0 0)

See here: https://jsfiddle.net/kmtwf4g3/

I think the fuckup of the website author is that the background is black instead of white in light mode. Otherwise the text colors would be fine as they are. Probably vibe coded and never tested in light mode.


Not vibe-coded! I just didn't realize that the `prose` mode with Tailwind changes the default text colour set on other pages.

Lesson learned!




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

Search: