• @[email protected]
    link
    fedilink
    0
    edit-2
    6 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

    • @[email protected]
      link
      fedilink
      56 months ago

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