3 ms·
I can't believe stuff like this is still difficult. In the late 00s I wrote a frontend for a very popular open-source web project that many here would have enc
by globular-toast 3y ago
I can't believe stuff like this is still difficult.
In the late 00s I wrote a frontend for a very popular open-source web project that many here would have encountered. Unlike many web projects these days, it is considered de rigueur for each instance to implement its own stylesheet. Most instances will also allow each user to select their own stylesheet.
This is trivial because the frontend was written HTML first. The HTML contains absolutely no hint at how the style should be. The navigation is just the navigation, the content is the content etc. The nav could be at the top, bottom, side, whatever you can come up. And people did all of them.
And, of course, some of those stylesheets were dark mode.
Print stylesheets were also common, which would hide all the web nav stuff when printing the document.
How did all the layers of crap added since then seem to forget this and make this quite simple concept difficult? You can't tell me it's difficult to build two stylesheets, one dark, one light, and have them both as options. And what about other accessibility options? Low contrast? High contrast? It's not just about dark and light...