Class ChartColorScheme

java.lang.Object
net.thucydides.core.reports.html.accessibility.ChartColorScheme

public class ChartColorScheme extends Object
We can switch between color schemes by setting the serenity.report.accessibility property to true.
  • Constructor Details

    • ChartColorScheme

      public ChartColorScheme(net.thucydides.model.util.EnvironmentVariables environmentVariables)
  • Method Details

    • forEnvironment

      public static ChartColorScheme forEnvironment(net.thucydides.model.util.EnvironmentVariables environmentVariables)
    • backgroundColorFor

      public String backgroundColorFor(String testStatus)
    • getBackgroundColors

      public String getBackgroundColors()
    • gradientColors

      public String gradientColors(RGB start, RGB end, int steps)
    • getManualBackgroundColors

      public String getManualBackgroundColors()
    • getBorderColors

      public String getBorderColors()