title: How to change the text colour of a materialize input field within local home.scss file
body: <p>Framework: react on rails
  CSS: Materialize</p>
  
  <p>So I'm using materialize's defualt css package and importing it as:</p>
  
  <pre><code>  &lt;!--Import Google Icon Font--&gt;
    &lt;link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"&gt;
    &lt;!-- Compiled and minified CSS --&gt;
    &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.0/css/materialize.min.css"&gt;
  </code></pre>
  
  <p>With scripts at the bottom of the <code>&lt;body&gt;</code>:</p>
  
  <pre><code>  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.0/js/materialize.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.0/moment.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Here are the elements I'm looking to target:</p>
  
  <pre><code>&lt;div className="input-field"&gt;
    &lt;textarea ref="ideaTextArea" className="materialize-textarea" /&gt;
    &lt;label&gt;Trading Ideas: with TradeDesk&lt;/label&gt;
    &lt;button type="submit" className="btn right blue"&gt;Share&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This is the CSS I'm adding to target the element I want to change app/assets/stylesheets directory under home.scss:</p>
  
  <pre><code>.input-field textarea:focus + label {
    color: #2196f3;
  }
  
  .row .input-field textarea:focus {
    border-bottom: 1px solid #2196f3;
    box-shadow: 0 1px 0 0 #2196f3;
  }
  </code></pre>
  
  <p>However, this is still rendering the default materialize turqoiuse colour:</p>
  
  <p><a href="https://i.stack.imgur.com/9Hwsn.png" rel="nofollow noreferrer">render</a></p>
  
  <p>Would anyone know how to change the input-field text colour to #2196f3? Is my CSS attenmpt correct? How would I store materialize locally, would that be a much easier way of achieving the css changes I want?</p>