Skip to content

HTML Themes

import ThemePreview from ’../../../components/ThemePreview.astro’;

Executable Stories ships with 6 HTML report themes. Every theme supports automatic light/dark mode detection and a manual toggle.

Pass --html-theme to the CLI:

Terminal window
executable-stories format raw-run.json --format html --html-theme corporate

Or set it in the reporter config:

html: {
theme: 'corporate',
}

Clean, modern design inspired by shadcn/ui. Cucumber green accent. Best for general-purpose reports.

Two-pane editorial layout with a fixed sidebar table of contents. Pass rate progress bar. Best for stakeholder-facing reports with many scenarios.

Monospace typography throughout. Retro console aesthetic. Best for developer-facing reports where code readability is primary.

Stripped-down, content-focused design with minimal visual decoration. Best for embedding in wikis or printing.

Data-oriented layout optimized for metrics-heavy reports. Best when using history tracking and flakiness grades.

Stylized with decorative touches and softer colors. Best for demo reports and presentations.

All themes support these HTML feature flags:

FlagEffect
--html-no-syntax-highlightingDisable highlight.js code highlighting
--html-no-mermaidDisable live Mermaid diagram rendering
--html-no-markdownDisable Markdown section parsing