Annotation Type ColorInfo


@Retention(SOURCE)
@Target(PACKAGE)
@Documented
@Repeatable(ColorsSet.class)
public @interface ColorInfo
An annotation to setup the information for a specific color to generate its assets and classes using the ColorsSet
  • Required Element Summary

    Required Elements
    Modifier and Type Required Element Description
    java.lang.String hex
    The hex value for the base color, this will be used to generate different shades in case a shade is not specified in the ColorShades
    java.lang.String name
    The color name, avoid using names already used by domino-ui core or other ColorSets to avoid css classes clashes.
  • Optional Element Summary

    Optional Elements
    Modifier and Type Optional Element Description
    ColorShades shades
    Use to manually specify a specific shade for the base color and avoid the generated shade.
  • Element Details

    • name

      java.lang.String name
      The color name, avoid using names already used by domino-ui core or other ColorSets to avoid css classes clashes.
      Returns:
    • hex

      java.lang.String hex
      The hex value for the base color, this will be used to generate different shades in case a shade is not specified in the ColorShades
      Returns:
    • shades

      ColorShades shades
      Use to manually specify a specific shade for the base color and avoid the generated shade.
      Returns:
      Default:
      @org.dominokit.domino.ui.ColorShades