Closed philwebb closed 7 months ago
matchMedia('(prefers-color-scheme: dark)') is used in a few of the templates but it returns a MediaQueryList so we should add an additional ?.matches to actually check the result.
matchMedia('(prefers-color-scheme: dark)')
MediaQueryList
?.matches
I will update PR #206 with a fix.
matchMedia('(prefers-color-scheme: dark)')
is used in a few of the templates but it returns aMediaQueryList
so we should add an additional?.matches
to actually check the result.I will update PR #206 with a fix.