Barebones icon indicating copy to clipboard operation
Barebones copied to clipboard

Apply prefers-color-scheme media query to :root instead of :html.

Open fncnt opened this issue 7 years ago • 0 comments

This fixes the dark mode. Previously, prefers-color-scheme wouldn't be applied globally on a website that uses barebones.css.

I tested this on Firefox 67. See also CSS Custom Properties for details.

fncnt avatar May 25 '19 09:05 fncnt