Class ColorPalette

java.lang.Object
com.github.weisj.darklaf.theme.ColorPalette

public final class ColorPalette extends Object
Convenience accessor for the palette colors defined in all themes. The color references obtained from this class are always valid and don't need to be renewed when the theme changes. Note that the names for all the colors are only approximating the true color as themes are free to colors different to what the names imply. However the general hue of the color will match the names.
  • Field Details

    • YELLOW

      public static final Color YELLOW
    • ORANGE

      public static final Color ORANGE
    • RED

      public static final Color RED
    • PINK

      public static final Color PINK
    • PURPLE

      public static final Color PURPLE
    • INDIGO

      public static final Color INDIGO
    • BLUE

      public static final Color BLUE
    • TEAL

      public static final Color TEAL
    • CYAN

      public static final Color CYAN
    • GREEN

      public static final Color GREEN
    • LIME

      public static final Color LIME
    • FOREST

      public static final Color FOREST
    • BROWN

      public static final Color BROWN
    • GRAY

      public static final Color GRAY
  • Method Details

    • invalidatePalette

      public static void invalidatePalette()