Skip to content

Support dark-mode GitHub users #154

@datosh

Description

@datosh

Is your feature request related to a problem? Please describe.
The logo in README.md has a very low contrast ratio (1.37:1) for dark mode users.

Screenshot from 2023-08-16 12-20-29

Describe the solution you'd like
We could add a dark mode friendly version of the image to the repository and conditionally load the correct one, using:

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="docs/images/logo-dark-mode.png">
  <source media="(prefers-color-scheme: light)" srcset="docs/images/logo.png">
  <img alt="Badrobot Logo" src="docs/images/logo.png">
</picture>

Describe alternatives you've considered
Update logo to look good in both modes.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions