Skip to content

.tooltip background/color in dark mode makes it impossible to read with Chromium auto dark mode flag #760

Closed

Description

@greenmooseSE

Describe the bug
Tooltip color is not optimal when using Auto Dark mode setting in Chromium

To Reproduce

  1. In edge://flags , turn on Auto Dark Mode for Web Contents and Enabled with selective inversion of non-image elements.
  2. Generate a report in dark mode (or light) and try to vew tooltip

Screenshots

Original color

Image

Another color (e.g. background: #6f6f6f with color: #dcdcdc

Image

Activity

  1. added a commit that references this issue on Oct 15, 2025
  2. danielpalme commented on Oct 15, 2025

    @danielpalme
    Owner

    I made some adjustments in the CSS files following this approach:
    https://aiktb.dev/blog/adapt-auto-dark-mode

    Since the report already supports dark mode, the CSS has to tell the browser that "Auto Dark Mode for Web Contents" is not applicable:

    :root {
      color-scheme: light dark;
    }

    The next release will contain this change. Here's already a sample report:
    https://reportgenerator.io/resources/reports/Html/index.html

  3. danielpalme commented on Oct 25, 2025

    @danielpalme
    Owner

    Release 5.4.18 has just been published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions