Enum Class LumoProps

java.lang.Object
java.lang.Enum<LumoProps>
org.vaadin.firitin.util.style.LumoProps
All Implemented Interfaces:
Serializable, Comparable<LumoProps>, Constable

public enum LumoProps extends Enum<LumoProps>
Enumeration of Lumo CSS properties with handy helper methods to define them in a component scope or globally and to use the property as css variable.

Consider this class still to be in experimental phase.

  • Enum Constant Details

    • BASE_COLOR

      public static final LumoProps BASE_COLOR
    • CONTRAST_5PCT

      public static final LumoProps CONTRAST_5PCT
    • CONTRAST_10PCT

      public static final LumoProps CONTRAST_10PCT
    • CONTRAST_20PCT

      public static final LumoProps CONTRAST_20PCT
    • CONTRAST_30PCT

      public static final LumoProps CONTRAST_30PCT
    • CONTRAST_40PCT

      public static final LumoProps CONTRAST_40PCT
    • CONTRAST_50PCT

      public static final LumoProps CONTRAST_50PCT
    • CONTRAST_60PCT

      public static final LumoProps CONTRAST_60PCT
    • CONTRAST_70PCT

      public static final LumoProps CONTRAST_70PCT
    • CONTRAST_80PCT

      public static final LumoProps CONTRAST_80PCT
    • CONTRAST_90PCT

      public static final LumoProps CONTRAST_90PCT
    • CONTRAST

      public static final LumoProps CONTRAST
    • PRIMARY_COLOR

      public static final LumoProps PRIMARY_COLOR
    • HEADER_TEXT_COLOR

      public static final LumoProps HEADER_TEXT_COLOR
    • BODY_TEXT_COLOR

      public static final LumoProps BODY_TEXT_COLOR
    • SECONDARY_TEXT_COLOR

      public static final LumoProps SECONDARY_TEXT_COLOR
    • TERTIARY_TEXT_COLOR

      public static final LumoProps TERTIARY_TEXT_COLOR
    • DISABLED_TEXT_COLOR

      public static final LumoProps DISABLED_TEXT_COLOR
    • PRIMARY_COLOR_10PCT

      public static final LumoProps PRIMARY_COLOR_10PCT
    • PRIMARY_COLOR_50PCT

      public static final LumoProps PRIMARY_COLOR_50PCT
    • PRIMARY_TEXT_COLOR

      public static final LumoProps PRIMARY_TEXT_COLOR
    • PRIMARY_CONTRAST_COLOR

      public static final LumoProps PRIMARY_CONTRAST_COLOR
    • ERROR_COLOR

      public static final LumoProps ERROR_COLOR
    • ERROR_COLOR_10PCT

      public static final LumoProps ERROR_COLOR_10PCT
    • ERROR_COLOR_50PCT

      public static final LumoProps ERROR_COLOR_50PCT
    • ERROR_TEXT_COLOR

      public static final LumoProps ERROR_TEXT_COLOR
    • ERROR_CONTRAST_COLOR

      public static final LumoProps ERROR_CONTRAST_COLOR
    • WARNING_COLOR

      public static final LumoProps WARNING_COLOR
    • WARNING_COLOR_10PCT

      public static final LumoProps WARNING_COLOR_10PCT
    • WARNING_TEXT_COLOR

      public static final LumoProps WARNING_TEXT_COLOR
    • WARNING_CONTRAST_COLOR

      public static final LumoProps WARNING_CONTRAST_COLOR
    • SUCCESS_COLOR

      public static final LumoProps SUCCESS_COLOR
    • SUCCESS_COLOR_10PCT

      public static final LumoProps SUCCESS_COLOR_10PCT
    • SUCCESS_COLOR_50PCT

      public static final LumoProps SUCCESS_COLOR_50PCT
    • SUCCESS_TEXT_COLOR

      public static final LumoProps SUCCESS_TEXT_COLOR
    • SUCCESS_CONTRAST_COLOR

      public static final LumoProps SUCCESS_CONTRAST_COLOR
    • FONT_FAMILY

      public static final LumoProps FONT_FAMILY
    • FONT_SIZE_XXXL

      public static final LumoProps FONT_SIZE_XXXL
    • FONT_SIZE_XXL

      public static final LumoProps FONT_SIZE_XXL
    • FONT_SIZE_XL

      public static final LumoProps FONT_SIZE_XL
    • FONT_SIZE_L

      public static final LumoProps FONT_SIZE_L
    • FONT_SIZE_M

      public static final LumoProps FONT_SIZE_M
    • FONT_SIZE_S

      public static final LumoProps FONT_SIZE_S
    • FONT_SIZE_XS

      public static final LumoProps FONT_SIZE_XS
    • FONT_SIZE_XXS

      public static final LumoProps FONT_SIZE_XXS
    • LINE_HEIGHT_M

      public static final LumoProps LINE_HEIGHT_M
    • LINE_HEIGHT_S

      public static final LumoProps LINE_HEIGHT_S
    • LINE_HEIGHT_XS

      public static final LumoProps LINE_HEIGHT_XS
    • SIZE_XL

      public static final LumoProps SIZE_XL
    • SIZE_L

      public static final LumoProps SIZE_L
    • SIZE_M

      public static final LumoProps SIZE_M
    • SIZE_S

      public static final LumoProps SIZE_S
    • SIZE_XS

      public static final LumoProps SIZE_XS
    • ICON_SIZE_L

      public static final LumoProps ICON_SIZE_L
    • ICON_SIZE_M

      public static final LumoProps ICON_SIZE_M
    • ICON_SIZE_S

      public static final LumoProps ICON_SIZE_S
    • SPACE_XL

      public static final LumoProps SPACE_XL
    • SPACE_L

      public static final LumoProps SPACE_L
    • SPACE_M

      public static final LumoProps SPACE_M
    • SPACE_S

      public static final LumoProps SPACE_S
    • SPACE_XS

      public static final LumoProps SPACE_XS
    • BORDER_RADIUS_L

      public static final LumoProps BORDER_RADIUS_L
    • BORDER_RADIUS_M

      public static final LumoProps BORDER_RADIUS_M
    • BORDER_RADIUS_S

      public static final LumoProps BORDER_RADIUS_S
    • BOX_SHADOW_XL

      public static final LumoProps BOX_SHADOW_XL
    • BOX_SHADOW_L

      public static final LumoProps BOX_SHADOW_L
    • BOX_SHADOW_M

      public static final LumoProps BOX_SHADOW_M
    • BOX_SHADOW_S

      public static final LumoProps BOX_SHADOW_S
    • BOX_SHADOW_XS

      public static final LumoProps BOX_SHADOW_XS
    • CLICKABLE_CURSOR

      public static final LumoProps CLICKABLE_CURSOR
  • Method Details

    • values

      public static LumoProps[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LumoProps valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCssName

      public String getCssName()
    • define

      public void define(com.vaadin.flow.component.Component scope, String value)
    • define

      public void define(String value)
    • var

      public String var()