Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

How to extend default ValoTheme.SOME_VAR in scss

Sergey Troshin
8 years ago Dec 06, 2014 4:57pm
Joacim Päivärinne
8 years ago Dec 16, 2014 12:11pm

Hello Sergey!

If you inspect the DOM, you'll see that the class of a LABEL_FAILURE styled label contains v-label-failure.

If you want to overwrite it:

.v-label-failure {
  // something...
}

If you want to extend it:

.my-label {
  @extend .v-label-failure;
  // something...
}