Earlier quoted context omitted.
I was also a bit confused as to why the title was "DarkMode Made Easy", especially since your example just showed adjusting CSS variables. I would assume anyone who's working with CSS variables, also knows about media queries, so it's far easier to just do it all in CSS. Where I could see this being useful is that you have a callback that you can use, so when dark mode is enabled, you can make some other adjustments…
You'll have a callback on the next version. I plan a lot of tweaks and features that can hardly be done only in CSS, moreover the plan is to give devs an easy way to do dark-modes. I understand the divergences and critics but want to try things as a student. I thanks you a lot for your review.
Show HN: Darken – Darkmode Made Easy
41–50 of 61 posts
Re: Show HN: Darken – Darkmode Made Easy
#42Just a random note, I recently switched VSCode to a white background and loving it! I guess, I'm over dark mode everything. For me it seems to help focus better to code on white background.
Re: Show HN: Darken – Darkmode Made Easy
#43It allows you to build dark mode optimized email, and when you preview the email in dark mode, the whole app changes to dark mode.
Because of this we use a manual toggle instead of prefers-color-scheme.
We picked the colors carefully and changed things like shadows borders etc to make the interface look great in dark mode. Although a solution like OPs could be a quick and dirty way to get a basic dark mode implemented, you'll never get your site or app looking quite as good as getting a designer to look at it.
Re: Show HN: Darken – Darkmode Made Easy
#44[0] https://kitemaker.co [1] https://blog.superhuman.com/how-to-design-delightful-dark-th...
Re: Show HN: Darken – Darkmode Made Easy
#45OK, 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/tu…
he doesn't invert colours.
Re: Show HN: Darken – Darkmode Made Easy
#46why are people so obsessed with dark mode?
Re: Show HN: Darken – Darkmode Made Easy
#47Re: Show HN: Darken – Darkmode Made Easy
#48I never change the mode of a website. I have rarely done so and it seems to me an absurd cost for nothing. If the site is well designed in light colors it shouldn't be a problem. If the site is badly designed then it would be normal to offer such a possibility. An operating system is different: you are 24 hours looking at it, it is normal to have display preferences but a website? The average number of visits to site…
Re: Show HN: Darken – Darkmode Made Easy
#49why are people so obsessed with dark mode?
They don't like to be blinded by their white-background screens while using them in the dark.
Re: Show HN: Darken – Darkmode Made Easy
#50Just a random note, I recently switched VSCode to a white background and loving it! I guess, I'm over dark mode everything. For me it seems to help focus better to code on white background.
We evolved to detect predators in greenery. I use a light green theme. in Visual Studio Code settings.json edit those line : "workbench.colorTheme": "Default Light+","workbench.colorCustomizations": { "editor.background": "#e0ffec", },
Do you spot bugs more easily in the greenery?