Class ValoTheme

java.lang.Object
com.vaadin.classic.v8.ui.ValoTheme

public class ValoTheme extends Object
Legacy version of ValoTheme to facilitate migration

Additional style names which can be used with the Valo theme.

Author:
Vaadin Ltd
  • Field Details

    • LABEL_H1

      public static final String LABEL_H1
      Header style for main application headings. Can be combined with any other Label style.
      See Also:
    • LABEL_H2

      public static final String LABEL_H2
      Header style for different sections in the application. Can be combined with any other Label style.
      See Also:
    • LABEL_H3

      public static final String LABEL_H3
      Header style for different sub-sections in the application. Can be combined with any other Label style.
      See Also:
    • LABEL_H4

      public static final String LABEL_H4
      Header style for different sub-sections in the application. Can be combined with any other Label style.
      See Also:
    • LABEL_NO_MARGIN

      public static final String LABEL_NO_MARGIN
      A utility style that can be combined with the LABEL_H1, LABEL_H2, LABEL_H3 and LABEL_H4 styles to remove the default margins from the header.
      See Also:
    • LABEL_TINY

      public static final String LABEL_TINY
      Tiny font size. Suitable for additional/supplementary UI text. Can be combined with any other Label style.
      See Also:
    • LABEL_SMALL

      public static final String LABEL_SMALL
      Small font size. Suitable for additional/supplementary UI text. Can be combined with any other Label style.
      See Also:
    • LABEL_LARGE

      public static final String LABEL_LARGE
      Large font size. Suitable for important/prominent UI text. Can be combined with any other Label style.
      See Also:
    • LABEL_HUGE

      public static final String LABEL_HUGE
      Huge font size. Suitable for important/prominent UI text. Can be combined with any other Label style.
      See Also:
    • LABEL_LIGHT

      public static final String LABEL_LIGHT
      Lighter font weight. Suitable for additional/supplementary UI text. Can be combined with any other Label style.
      See Also:
    • LABEL_BOLD

      public static final String LABEL_BOLD
      Bolder font weight. Suitable for important/prominent UI text. Can be combined with any other Label style.
      See Also:
    • LABEL_COLORED

      public static final String LABEL_COLORED
      Colored text. Can be combined with any other Label style.
      See Also:
    • LABEL_SUCCESS

      public static final String LABEL_SUCCESS
      Success badge style. Adds a border around the label and an icon next to the text. Suitable for UI notifications that need to in the direct context of some component. Can be combined with any other Label style.
      See Also:
    • LABEL_FAILURE

      public static final String LABEL_FAILURE
      Failure badge style. Adds a border around the label and an icon next to the text. Suitable for UI notifications that need to in the direct context of some component. Can be combined with any other Label style.
      See Also:
    • LABEL_SPINNER

      public static final String LABEL_SPINNER
      Spinner style. Add this style name to an empty Label to create a spinner.

      Example

       Label spinner = new Label();
       spinner.addStyleName(ValoTheme.LABEL_SPINNER);
       
      See Also:
    • PANEL_BORDERLESS

      public static final String PANEL_BORDERLESS
      Remove borders and the background color of the panel. Can be combined with any other Panel style.
      See Also:
    • PANEL_SCROLL_INDICATOR

      public static final String PANEL_SCROLL_INDICATOR
      Show a divider between the panel caption and content when the content area is scrolled. Suitable with the PANEL_BORDERLESS style. Can be combined with any other Panel style.
      See Also:
    • PANEL_WELL

      public static final String PANEL_WELL
      Inset panel style. Can be combined with any other Panel style.
      See Also:
  • Constructor Details

    • ValoTheme

      public ValoTheme()