Closed
Description
Search terms
Contrast, Accessibility
Expected Behavior
Method names and get signatures rendered by TypeDoc should have sufficient contrast in light mode.
Actual Behavior
At present, some content is difficult to read in light mode due to low contrast:
For example, properties with color --light-color-ts-method
have contrast 2.72:1 with the background in the default theme.
Steps to reproduce the bug
To reproduce:
- Generate documentation for a project.
- Switch to TypeDoc's light theme (if not already enabled).
- Inspect the color contrast for a method name.
An example repository that reproduces the issue can be found here.
Note
This issue may be related to this commit.
Environment
- Typedoc version: 0.27.2
- TypeScript version: 5.7.2
- Node.js version: 22.11.0
- OS: Fedora 41
Metadata
Metadata
Assignees
Labels
No labels