News for hackers. Stuff that matters.
Re:Show HN: Darken – Darkmode Made Easy by keyle on Thursday January 16, 2020 @08:38PM (#22071068)
OK, but from a designer's perspective, you want to be careful with just inverting colours. The contrast is way too strong here from the demo you offered and the visited link 'purple' is already bleeding on black.

Have a read of an article such as this one, and be smart about colour translation. You might need to calculate contrast or offer a contrast setting as a minimum, and watch for shadows.

https://uxdesign.cc/turn-the-lights-off-designing-the-dark-m...

Side note: I've been really happy with the "Dark Reader" plugin on various browsers. Have a look at it and see how it handles brightness (+/-) and contrast (+/-).

Re:Show HN: Darken – Darkmode Made Easy by Call_in on Thursday January 16, 2020 @08:42PM (#22071091)
This API do not invert colors, it uses CSS variables and classes for more customization. No mix-blend-mode or anything. The demo has been done quickly this afternoon, I'll probably change it for the next version.
Re:Show HN: Darken – Darkmode Made Easy by Tepix on Friday January 17, 2020 @03:03AM (#22072770)
> but from a designer's perspective, you want to be careful with just inverting colours

he doesn't invert colours.