Package org.dominokit.domino.ui
Annotation Type ColorsSet
@Retention(SOURCE)
@Target(PACKAGE)
@Documented
public @interface ColorsSet
Use this annotation on a package-info class to generate new colors and colors assets for use by applications using domino-ui
the annotation will result in generating a Color with 10 different shades for each
ColorInfo , a theme-xxx.css for each ColorInfo,
A xxx-color.css for each, and an optional html page to demo the generated styles.-
Required Element Summary
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleangenerateDemoPageOption to specify if a demo html page should be generated or not.java.lang.StringnameA prefix to be used for classes names and css files names.java.lang.StringpublicPackagethe target package to generate the CSS resources, this should point to the public root package.
-
Element Details
-
value
ColorInfo[] valueUse this to specify the info for each color in this this color set- Returns:
-
-
-
name
java.lang.String nameA prefix to be used for classes names and css files names.- Returns:
- Default:
- "App"
-
publicPackage
java.lang.String publicPackagethe target package to generate the CSS resources, this should point to the public root package. classes will be generated to the same package as the package-info class.- Returns:
- Default:
- ""
-
generateDemoPage
boolean generateDemoPageOption to specify if a demo html page should be generated or not.- Returns:
- Default:
- true
-