kcmr / electron-theme-vscode

Electron Color Theme for Visual Studio Code
MIT License
20 stars 9 forks source link

changed color for strings and classes #4

Closed KavenArango closed 2 weeks ago

KavenArango commented 3 years ago

I changed the string and method/class color to something easier to see.

kcmr commented 3 years ago

Hi @KavenArango

The change is OK for me (except for the function color that looks too dark), however it is too small to include it in a new release and it is a personal preference. I can approve your PR but I won't release a new version for now.

Functions color

Meanwhile, you can customize the theme using preferences:

"editor.tokenColorCustomizations": {
  "[Electron]": {
    "textMateRules": [
      {
        "scope": "string",
        "settings": {
          "foreground": "#35d195"
        }
      },
      {
        "scope": "entity.name.function, meta.require, support.function.any-method",
        "settings": {
          "foreground": "#239683"
        }
      },
      {
        "scope": "meta.class",
        "settings": {
          "foreground": "#91a33e"
        }
      },
      {
        "scope": "keyword.other.special-method",
        "settings": {
          "foreground": "#239683"
        }
      }
    ]
  }
}