Class Theme


  • public final class Theme
    extends Object
    An ANSI theme for the pretty formatter.

    The theme consists of a collection of stylable elements. For each element an ansi style is declared. The ansi style consists of two escape sequences that are wrapped around the text of stylable element.

    • Method Detail

      • cucumber

        public static Theme cucumber()
        The default Cucumber theme.
      • none

        public static Theme none()
        Empty theme that does not apply any styling to the output.
      • plain

        public static Theme plain()
        A plain text theme. Does not use any ANSI.
      • builder

        public static Theme.Builder builder()
        Creates a new builder to construct a theme.