title: Changing color of Discord widget based on preferred system color scheme
body: <p>I’m trying to do something like this:</p>
  
  <p>
  
  <pre><code>if preferred color scheme : dark {
     &lt;iframe src="https://discordapp.com/widget?id=123&amp;theme=dark" width="350" height="500" allowtransparency="true" frameborder="0"&gt;&lt;/iframe&gt;
  } else {
     &lt;iframe src="https://discordapp.com/widget?id=123&amp;theme=light" width="350" height="500" allowtransparency="true" frameborder="0"&gt;&lt;/iframe&gt;
  }
  </code></pre>
  
  <p>But I'm not sure how to do so in JavaScript. Any thoughts?</p>