Skip to content

Update syntax highlighting colors for docs #326

@matttelliott

Description

@matttelliott

Hello!

Thank you for creating this great type library and the wonderful read-along! I have learned a lot about typescript from studying this library and I have become a huge advocate both for this library and stronger types in general within my team.

However, one somewhat minor issue I've struggled with here is reading the documentation online. I'm not sure if others have experienced this, but when I view the docs online at https://millsp.github.io/ts-toolbelt/ , I've found the examples to be very difficult to read due to the low contrast of the colors on more than one machine that I use regularly. I typically use an up-to-date install of mainline Google Chrome on MacOS using "Dark Mode" settings, and for me the code examples in the documentation are VERY difficult to read.

As far as I know, I don't have any particularly unusual local settings that would cause this, and I haven't had this issue with other docs or color schemes.

Here is a screenshot from my machine of the README page, both normal and selected. Other examples are similarly difficult for me to read.

image

image

image

image

Is there any chance of adopting an alternate color scheme?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions