Interface Theme

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

      List<String> stylesheets()
      Returns:
      a collection of stylesheets paths
    • transparentIncapableStylesheets

      List<String> 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

      default String defaultPrimary()
      Returns:
      the String representation of the default primary color for this theme as specified in
      invalid reference
      javafx.scene.paint.Color#web(String)
      or null if the system accent color should be used