Skip to content

Dark mode for code snippets #1020

Closed
Closed
@polytypic

Description

@polytypic

Code snippets in odoc HTML output are poorly readable (IMHO) in dark mode.

Here is a code snippet in dark mode:

Screenshot 2023-10-15 at 16 50 53

Here is the same snippet in light mode:

Screenshot 2023-10-15 at 16 51 21

Aside from the background and main foreground color the highlight colors appear to be unchanged and seem to be designed for light mode.

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