Annotation Type AppTheme


@Target(TYPE) @Retention(RUNTIME) @Inherited @Documented public @interface AppTheme
Annotates a class to set the theme of the DWC app. The theme name should be one of the following: "system", "light", "dark" or the name of a custom theme. In case the theme is not one of the above, the theme will be set to "light". The annotation can be used on the class level only and the class must extend `org.dwcj.App` in order for the annotation to be processed.
 
 @AppTheme("dark-pure")
 
 
Author:
Hyyan Abo Fakher
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The theme name
  • Element Details

    • value

      String value
      The theme name
      Returns:
      the theme name
      Default:
      "system"