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

    Required Elements
    Modifier and Type Required Element Description
    ColorInfo[] value
    Use this to specify the info for each color in this this color set
  • Optional Element Summary

    Optional Elements
    Modifier and Type Optional Element Description
    boolean generateDemoPage
    Option to specify if a demo html page should be generated or not.
    java.lang.String name
    A prefix to be used for classes names and css files names.
    java.lang.String publicPackage
    the target package to generate the CSS resources, this should point to the public root package.
  • Element Details

    • value

      ColorInfo[] value
      Use this to specify the info for each color in this this color set
      Returns:
    • name

      java.lang.String name
      A prefix to be used for classes names and css files names.
      Returns:
      Default:
      "App"
    • publicPackage

      java.lang.String publicPackage
      the 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 generateDemoPage
      Option to specify if a demo html page should be generated or not.
      Returns:
      Default:
      true