title: How to change Stripe styles in dark mode?
body: <p>I have to change the color of the stripe input for dark mode. But I couldn't find an option for this. Is there any way? The example below explains the my case.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var stripe = Stripe('pk_test_6pRNASCoBOKtIshFeQd4XMUh');
  var elements = stripe.elements();
  
  var card = elements.create('card', {
    style: {
      base: {
        iconColor: '#666EE8',
        color: 'green', // I want to make this yellow in dark mode
        lineHeight: '40px',
        fontWeight: 300,
        fontFamily: '"Helvetica Neue", Helvetica, sans-serif',
        fontSize: '15px',
  
        '::placeholder': {
          color: '#CFD7E0',
        },
      },
    }
  });
  card.mount('#card-element');
  
  document.querySelector(".toggle-dark-mode").onclick = function(){
    document.body.classList.toggle("dark-mode");
  }</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>* {
    font-family: "Helvetica Neue", Helvetica;
    font-size: 15px;
    font-variant: normal;
    padding: 0;
    margin: 0;
  }
  
  html {
    height: 100%;
  }
  
  body {
    background: #E6EBF1;
    align-items: center;
    min-height: 100%;
    display: flex;
    width: 100%;
  }
  
  form {
    width: 480px;
    margin: 20px auto;
  }
  
  .group {
    background: white;
    border-radius: 4px;
    margin-bottom: 20px;
  }
  
  label {
    position: relative;
    color: #8898AA;
    font-weight: 300;
    height: 40px;
    line-height: 40px;
    margin-left: 20px;
    display: block;
  }
  
  .group label:not(:last-child) {
    border-bottom: 1px solid #F0F5FA;
  }
  
  label&gt;span {
    width: 20%;
    text-align: right;
    float: left;
  }
  
  .field {
    background: transparent;
    font-weight: 300;
    border: 0;
    color: #31325F;
    outline: none;
    padding-right: 10px;
    padding-left: 10px;
    cursor: text;
    width: 70%;
    height: 40px;
    float: right;
  }
  
  .field::-webkit-input-placeholder {
    color: #CFD7E0;
  }
  
  .field::-moz-placeholder {
    color: #CFD7E0;
  }
  
  .field:-ms-input-placeholder {
    color: #CFD7E0;
  }
  
  .btn {
    float: left;
    display: block;
    background: #666EE8;
    color: white;
    border-radius: 4px;
    border: 0;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 400;
    width: 100%;
    height: 40px;
    line-height: 38px;
    outline: none;
  }
  
  .btn:focus {
    background: #555ABF;
  }
  
  .btn:active {
    background: #43458B;
  }
  
  .outcome {
    float: left;
    width: 100%;
    padding-top: 8px;
    min-height: 24px;
    text-align: center;
  }
  
  .success,
  .error {
    display: none;
    font-size: 13px;
  }
  
  .success.visible,
  .error.visible {
    display: inline;
  }
  
  .error {
    color: #E4584C;
  }
  
  .success {
    color: #666EE8;
  }
  
  .success .token {
    font-weight: 500;
    font-size: 13px;
  }
  
  .toggle-dark-mode {
    position:fixed;
    left:20px;
    top:20px;
  }
  
  .dark-mode {
    background: #444;
  }
  
  .dark-mode .group {
    background: #666;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://js.stripe.com/v3/"&gt;&lt;/script&gt;
  &lt;button class="toggle-dark-mode"&gt;Toggle Dark Mode&lt;/button&gt;
  &lt;form&gt;
    &lt;div class="group"&gt;
      &lt;label&gt;
        &lt;span&gt;Name&lt;/span&gt;
        &lt;input name="cardholder-name" class="field" placeholder="Jane Doe" /&gt;
      &lt;/label&gt;
      &lt;label&gt;
        &lt;span&gt;Phone&lt;/span&gt;
        &lt;input class="field" placeholder="(123) 456-7890" type="tel" /&gt;
      &lt;/label&gt;
    &lt;/div&gt;
    &lt;div class="group"&gt;
      &lt;label&gt;
        &lt;span&gt;Card&lt;/span&gt;
        &lt;div id="card-element" class="field"&gt;&lt;/div&gt;
      &lt;/label&gt;
    &lt;/div&gt;
    &lt;button class="btn" type="submit"&gt;Pay $25&lt;/button&gt;
    &lt;div class="outcome"&gt;
      &lt;div class="error"&gt;&lt;/div&gt;
      &lt;div class="success"&gt;
        Success! Your Stripe token is &lt;span class="token"&gt;&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>