Skip to content

Code blocks and fragments do not have light theme colours #949

Closed as duplicate

Description

@davidje13

URL:

https://beta.docs.nodejs.org/http.html

Browser Name:

Firefox, Chrome

Browser Version:

153.0

Operating System:

macOS 15.7.8

How to reproduce the issue:

Open any API page with the display in light mode (either via OS settings or via the menu on the page)

The text and background are correctly set to light mode, but the code blocks and inline code fragments continue to use their dark mode colours, making them jarring / distracting. In dark mode these elements blend more seamlessly with the rest of the content.

Dark

Image

Light

Image

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