• @droning_in_my_ears
    link
    0
    edit-2
    8 months ago

    You can style both dark mode and light mode with CSS but the question is how will you toggle between them? A button? Then you need JavaScript

    • @Zak
      link
      58 months ago

      The user can toggle their operating system’s setting. During development, the developer can do it in their browser’s dev tools.