• MonkderDritte@feddit.de
    link
    fedilink
    English
    arrow-up
    25
    arrow-down
    1
    ·
    edit-2
    4 months ago

    But why the buttons? Just use

    media (prefers-color-scheme: dark) {}
    

    done. The js-solution doesn’t seem to auto-adapt for me.

    • FooBarrington@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      Because, even though I use dark mode system-wide, I sometimes want to use websites in light mode. Until browsers implement a per-site toggle for the preferred color scheme, websites should offer one instead.