Skip to content

Support for different color themes on html report #893

Open
@do-you-dare

Description

@do-you-dare

Hello! I was working late at night at a project and wondered if simplecov had a dark theme, and it looks like it doesn't. I saw that other issue about colour-blind friendly colours (#534), and thought that maybe a dark theme and a colour-blind theme could be provided as separate formatters, and changing between them could be something like this

# Colorblind friendly theme
SimpleCov.formatter = SimpleCov::Formatter::HTMLColorblindFormatter

# Dark theme
SimpleCov.formatter = SimpleCov::Formatter::HTMLDarkThemeFormatter

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions