docc2html icon indicating copy to clipboard operation
docc2html copied to clipboard

Add support for variants (light & dark mode)

Open helje5 opened this issue 3 years ago • 1 comments

I think this can also be done using just plain CSS (switching the site on light or dark mode).

A small JS button to let the user switch shouldn't be hard either?

helje5 avatar Jul 02 '21 13:07 helje5

FWIW there's also a media query that reads from OS settings: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

That could be a replacement for a button, or at least a default value for said button.

Tyler-Keith-Thompson avatar Aug 11 '21 20:08 Tyler-Keith-Thompson