Skip to content

Add support for dark mode #403

@mystiquewolf

Description

@mystiquewolf

Step -1: Before filling an issue check out troubleshooting section

Step 0: Describe your environment

  • OS: Kubuntu 21.04
  • diff2html version: 3.4.11
  • Using diff2html directly or using diff2html-ui helper: Through VS Code Diff Viewer extension
  • Extra flags: _

Step 1: Describe the problem:

Feature request: Add support for dark mode via parameter and via prefers-color-scheme. Not sure if the latter can be done at this project or projects that use this project should detect the environment in some way and pass parameters.

Observed Results:

Dark mode not available in VS Code Diff viewer extension. caponetto/vscode-diff-viewer#36

Expected Results:

  • What did you expect to happen?
    -- Dark mode happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions