- All Known Implementing Classes:
Dark,DarkPurple,DarkTeal,Light,LightBlue,LightMaroon
public interface Theme
- Author:
- Andrea Vacondio
-
Method Details
-
id
String id()- Returns:
- a unique identifier for this theme
-
stylesheets
- Returns:
- a collection of stylesheets paths
-
transparentIncapableStylesheets
- Returns:
- a collection of stylesheets paths to be loaded if the platform is transparent incapable
-
name
String name()- Returns:
- The theme name
-
isDark
boolean isDark()- Returns:
- if the theme is a dark theme
-
isDefault
boolean isDefault()- Returns:
- true if it can be picked up as a default theme
-
defaultPrimary
- Returns:
- the String representation of the default primary color for this theme as specified in
or null if the system accent color should be used
invalid reference
javafx.scene.paint.Color#web(String)
-