title: Change css in Ionic 4
body: <p>I’m having problems with the migration of styles from Ionic 3 to Ionic 4, in one of my views I have the background configured in one color, and in a form I have 3 ion-items, the first problem I have is that I modify the item- inner to have no borders and does not work and the second is the ion-toggle takes the background color of my view by default and if I change it, it takes the value as correct checked</p>
  
  <p>Html: </p>
  
  <pre><code>&lt;ion-header&gt;
  
  &lt;/ion-header&gt;
  
  &lt;ion-content no-bounce&gt;
  &lt;div class="wrapper"&gt;
      &lt;div class="logo" padding-horizontal&gt;
      &lt;ion-row class="img"&gt;
          &lt;img src="assets/imgs/logo.png" alt="Movistar"&gt;
      &lt;/ion-row&gt;
      &lt;ion-row class="click"&gt;
          Click!
      &lt;/ion-row&gt;
      &lt;/div&gt;
      &lt;form novalidate padding-horizontal margin-top&gt;
      &lt;ion-list padding-horizontal&gt;
          &lt;ion-item class="custom-item"&gt;
          &lt;ion-label fixed&gt;Usuario&lt;/ion-label&gt;
          &lt;ion-input type="text" name="username" class="invalid" required&gt;&lt;/ion-input&gt;
          &lt;/ion-item&gt;
          &lt;!--&lt;ion-label padding-horizontal color="danger"&gt;&amp;#10060; Campo requerido&lt;/ion-label&gt;--&gt;
  
          &lt;ion-item class="custom-item" margin-top&gt;
          &lt;ion-label fixed&gt;Contraseña&lt;/ion-label&gt;
          &lt;ion-icon slot="end" name="eye-off"&gt;&lt;/ion-icon&gt;
          &lt;ion-input type="password"&gt;&lt;/ion-input&gt;
          &lt;/ion-item&gt;
          &lt;!--&lt;ion-label padding-horizontal  color="danger"&gt;&amp;#10060; Campo requerido&lt;/ion-label&gt;--&gt;
  
          &lt;ion-item id="remember"&gt;
          &lt;ion-label&gt;Recordar credenciales?&lt;/ion-label&gt;
          &lt;ion-toggle color="success"&gt;&lt;/ion-toggle&gt;
          &lt;/ion-item&gt;
  
          &lt;div&gt;
          &lt;ion-button type="submit" expand="block" class="button-ingresar"&gt;Ingresar&lt;/ion-button&gt;
          &lt;/div&gt;
      &lt;/ion-list&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  &lt;/ion-content&gt;
  </code></pre>
  
  <p>Css: </p>
  
  <pre><code>.toolbar-background {
      border: none !important;
  }
  
  .logo {
  
      .img {
          display: block;
          max-width: 500px;
          max-height: 98px;
          width: auto;
          height: auto;
          width: 100%;
          padding: 0px var(--padding);
  
          img {
              margin-top: 50px;
              display: block;
              max-width: 100%;
              height: auto;
          }
      }
  
      .click {
          display: inline-block;
          font-family: 'Custom';
          color: white;
          font-size: 2.5rem;
          width: 100%;
          text-align: right;
          padding: 0px var(--padding);
          line-height: 4rem;
      }
  }
  
  form {
      .password-eye {
          position: relative;
          cursor: pointer;
      }
  
      #remember {
          background-color: transparent;
          color: white;
          margin-top: 8px;
          margin-bottom: 8px;
  
          .item-inner {
              border: none !important;
          }
      }
  
      ion-item {
          border: none !important;
      }
  
      .custom-item {
          color: white;
          border-radius: var(--border-radius);
          background-color: var(--custom-primary-contrast);
          border: none !important;
  
          .item-inner {
              border: none !important;
          }
      }
  
      .button {
          margin: 0;
      }
  }
  
  ion-content {
      --ion-background-color: var(--custom-primary);
  }
  
  .button-ingresar {
      --background: var(--custom-secondary) !important;
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/qTS2F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qTS2F.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/lHrHu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lHrHu.png" alt="enter image description here"></a></p>