title: Change to dark theme using JavaScript
body: <p>I have a <code>prefers-color-scheme: dark</code> set on my main.css file.<br />
  How would I make my website to move from light to dark theme (and vice versa) each time the user clicks an specific element?</p>
  <p>I already added a &quot;click&quot; listener that triggers a function, but what should I put inside of said function?</p>