title: How can I use css for Vaadin 7 components?
body: <p>I've set the styleName for my component, but it doesn't appear to have any effect:</p>
  
  <pre><code>Label  label=new Label("this is test");
  label.setStyleName("mytheme");
  </code></pre>
  
  <p>My CSS:</p>
  
  <pre><code>@import "../reindeer/styles.css";
  
  .test{
      color: cornflowerblue;
  }
  
  
  .mytheme {
      font-family: 'Cabin Sketch';
      font-size: 24px;
      font-weight: bold;
      padding-top: 10px;
      padding-left: 10px;
      line-height: 30px;
  }
  
  .v-label {
      background: cyan;
  }
  </code></pre>
  
  <p>My directory in intellij IDE: <code>web/VAADIN/themes/mytheme</code></p>
  
  <p>I've already seen <a href="https://stackoverflow.com/questions/14274816/how-can-i-use-css-for-vaadin-components">this question</a>, but the solution doesn't work for me.</p>