Customizing Extent Report

I’ve been receiving some queries related to how we customize the extent report that has been generated. Queries like:

How do I change the title?

How do I default to dark theme?

In the dashboard view, how do I default to Child Tests only or Parent Tests only mode?

Due to some organization policy, when executed through Jenkins, the https protocol of style sheets and script files are blocked. How do we resolve this?

Let’s see one by one. Before diving in, let’s create a xml file called extent-config.xml (you can name it whatever you want) in the src/test/resources/ directory. The following suggestions should be done on this file only.

Currently in the Extent report i see the columns -Status,Timestamp,Details for every test case . I need to pass one or two more arguments here to display step description also
logger.log(Status.PASS, MarkupHelper.createLabel(actual_result, ExtentColor.GREEN));

Also I also want to add Browser information for each test case. What changes should i make in the code