Hi Armin,

Armin Besirovic wrote on Sun, Jun 02, 2019 at 02:29:30PM +0200:

> In the latest updates to openbsd.org there's a new theme added for
> users of dark themes via the prefers-color-scheme CSS directive.

Note that i have also temporarily deployed a simplified version of
that scheme on man.openbsd.org even though the changes to mandoc.css
are not committed yet and there are still several known issues with
it (OpenBSD logo, search box background, tooltip colors, ...); but
man.openbsd.org is less complex than the main website, so it may
be easier for testing, finding, and describing issues.

> Visited links appear in purple which has extremely poor contrast

That seems like a worthwhile observation.

> An easy solution would be to update the CSS with something like:
> 
> :visited {
>     color: #F6BAFF;
> }
> 
> inside the prefers-color-scheme.

I deployed that on man.openbsd.org such that people can see the effect.

Oh, and by the way, since there are many boastful articles on the
web on how great Firefox 67 is for supporting prefers-color-scheme,
but since i failed to find any user-level documentation on how to
actually enable it: tj@ told me that users who want the dark color
scheme have to go to about:config and manually add (right click on
"Preference name", then select "New > Integer") a new integer
configuration key "ui.systemUsesDarkTheme" with the value "1"; when
you want to talk about obscure, hostile user interfaces and inexistent
documentation, Mozilla provides flabbergasting examples...

Yours,
  Ingo

Reply via email to