Skip to content

Improve Code Syntax Colors #74

Description

@HeyItsGilbert

One unrelated presentation issue I noticed while checking code-heavy articles: syntax-highlighted code is difficult to read in the site's light theme.

Several tokens—particularly parameters, module names, and unhighlighted text—are rendered in very light gray against an almost white background. The problem is visible in the code blocks under Prepare PSRule and the graph module.

Since this article also contains a substantial amount of PowerShell code, could we improve the light-theme contrast or use a dark background for highlighted code blocks? I am also happy to open a separate issue if that would be a better place to track this.

image

Originally posted by @eosfor in #73 (comment)

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