NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Dark mode on netbsd.org



Hello,

I'd just like to raise a minor concern about adding dark mode to the site. I notice that on both the front page and the wiki, some images and other elements appear as they do in light mode; for images (such as icons), this shows only the square outlines. For things like notes on the wiki, the entire note appears to be white, making it impossible to read without highlighting. The icons should be made transparent, and you should also check the wiki for other graphics to adapt to the light/dark switch.

Best,
Lee



Sent with Proton Mail secure email.

On Tuesday, November 24th, 2026 at 11:07 PM, Rob Whitlock <rwhitlock22%gmail.com@localhost> wrote:

> > On Nov 24, 2026, at 3:33 AM, Rob Whitlock <rwhitlock22%gmail.com@localhost> wrote:
> >
> > I'm not sure what the intentions of the color design for the light version of the web site were, but it seemed to me that the link color was meant to be a shade of orange, matching the color scheme in the logo. On a dark background however, this color looks like a solid red. I think it looked more orange to me in the light version of the web site because the abundance of white from the background brightened up the red and made it look orangeish. However this does not apply with the dark background. Depending on the color design intent, it might be better if the color were changed a bit more orange. On the other hand, it might have been intended to be red all along, in which case perhaps no color change would be called for.
> 
> The commit message for htdocs/global.css r1.106 explains:
> 
>   Switch "netbsd orange" color to an orange color suggested by colorsafe.
>   Link color was too low contrast from the white background.
> 
> The diff has (among other things)
> 
>    a:link {
>   -  color: #fd6720;
>   +  color: #d43900;
>      text-decoration: none;
>    }
> 
> so it was a pretty solid orange, matching the logo. I suggest we use that for the dark mode. I did a little experimenting and here's what I'd probably use:
> 
>   a:link {
>     color: #fd6720;
>   }
>   a:visited {
>     color: #BB8888;
>   }
>   .more a, .more li a {
>     color: #fd6720;
>   }
> 
> Of course, there would have to be some other CSS color changes to match, like the reddish colors in the navigation column.


Home | Main Index | Thread Index | Old Index