Package org.dominokit.domino.ui
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.StringhexThe hex value for the base color, this will be used to generate different shades in case a shade is not specified in theColorShadesjava.lang.StringnameThe 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 ColorShadesshadesUse to manually specify a specific shade for the base color and avoid the generated shade.
-
Element Details
-
name
java.lang.String nameThe color name, avoid using names already used by domino-ui core or other ColorSets to avoid css classes clashes.- Returns:
-
hex
java.lang.String hexThe hex value for the base color, this will be used to generate different shades in case a shade is not specified in theColorShades- Returns:
-
-
-
shades
ColorShades shadesUse to manually specify a specific shade for the base color and avoid the generated shade.- Returns:
- Default:
- @org.dominokit.domino.ui.ColorShades
-