• #dev 2018-10-29
  • Prev
    Next
  • #indieweb
  • #dev
  • #wordpress
  • #meta
  • #stream
  • #microformats
  • #known
  • #events
#dev ≡
  • ←
  • →
2018-10-29 UTC
# 13:23
petermolnar
re dark mode; I see it' possible to use it with a media query, but I keep wondering how it could be triggered by hand as well. Currently I have a theme switcher which either turns a light-override set of CSS on or off, but if I want to support automatic light/dark mode, I need to figure a way to trigger it with JS as well, if needed. Anyone aware of any solution for it?