Dark/light mode is fine and all, however be wary of accessibility. Note that the US actually even publishes it's own CSS/JS framework similar to bootstrap. I believe (but I am not positive) it is here: https://designsystem.digital.gov/
I don't claim it to be perfect, but the last time I had the opportunity to use it, it put other UI/UX frameworks to shame.
Back when I still did web stuff, at one point I had made a special accessibility stylesheet one could set for the university. Nothing crazy, just bigger fonts, higher contrast, and some of the guidelines at the time were going for "light text on dark backgrounds," so I implemented that as well. Got rid of a lot of the little crufty visual design elements the designers (who were not me but set thhe rules) that look pretty but end up being kind of irritating. Couldn't get anyone to go for it. Just a nice click for "accessibility mode," you know?
I've talked about this on HN ad nauseum but it was so frustrating to have this issue ignored. I am in a different field now and try not to let my employers know that I can do web stuff because, but if I ever got back into it, I think I would have to have some kind of employment contract section covering YES WE ARE GOING TO DO THIS I DON'T CARE IF IT TAKES MORE TIME with some kind of slideshow presentation everyone would have to endure each year titled "Your Audience Isn't Just Teens with Gigabit Connections Who Have the Visual Capacity to Discern Dust Particles Drifting By."
Whats really nice is it's not just theory, but a ready to deploy system. You don't have to adopt it 100%, but you can drop it into your environment and then tweak it to meet your needs, rather than having to start from scratch.
Dark/light mode is fine and all, however be wary of accessibility. Note that the US actually even publishes it's own CSS/JS framework similar to bootstrap. I believe (but I am not positive) it is here: https://designsystem.digital.gov/
I don't claim it to be perfect, but the last time I had the opportunity to use it, it put other UI/UX frameworks to shame.