Skip to content

Support newer versions of Code which include more color customizations #41

@seraku24

Description

@seraku24
  • Which editor/software are you using? Visual Studio Code 1.69
  • Which theme are you using? I regularly rotate through the dark (non-contrast) themes.
  • Have you tested the issue with other themes? Yes, I have used the built-in themes.
  • Which version of Rainglow do you have installed? 1.5.2
  • Can you provide screenshots to highlight the issue? Yes, see below an example using Spearmint.

Summary

Rainglow unfortunately is out-of-date. While the general color theming still works, recent versions of Code provide more customization points. Please review the picture for reference.

rainglow-missing-colors

The debug toolbar (see debugToolBar.*) does not match the theme, only whether the theme is considered light or dark. Text in the debug view can be hard to read as the default colors for tokens (see debugTokenExpression.*) do not agree with the rest of the theme. As mentioned in #40, Code can now color nested brackets (see editorBracketHighlight.*) which can clash with the theme.

I started working on a script to patch the themes, attempting to fill in some missing colors based on existing one as well as make other corrections to contrast/readability. Unfortunately, the JSON files have duplicate keys. This was noted in #7, but the defect was not resolved in the subsequent releases. Since these duplicate keys often have different values, it is hard to know which color was intended.

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