dotnet / dotnet/docfx

[Feature Request] Images for light and dark theme

Open
#9,386 6 comments 11 reactions 0 assignees View on GitHub
markdown
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 9m
Merged PRs (30d)
11

Description

**Describe the solution you'd like**
docfx has a switcher in the header that lets readers choose between the light and the dark theme. If applicable authors should provide both the light and the dark version of every screenshot used in the documentation.

**Additional context**
Add the `_dark.png` suffix to the name of the dark image version. This image will be then used when the user switches to the dark theme.

For example, save images as `example.png` and `example_dark.png`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.