OneDark-Pro icon indicating copy to clipboard operation
OneDark-Pro copied to clipboard

The color scheme looks a lot of red

Open fuyunliu opened this issue 4 years ago • 10 comments

Describe the bug A clear and concise description of what the bug is.

Screenshots & Example Code

image

Desktop (please complete the following information):

  • OS: Mac
  • VSCODE Version 1.56
  • Theme version 3.10.14

fuyunliu avatar May 18 '21 07:05 fuyunliu

same issue

jk123vip avatar Jun 18 '21 08:06 jk123vip

@fuyunliu Is seems you use Pylance plugin. If you disable it the redness would decrease. Nevertheless this behaviour is quite strange indeed.

lromanov avatar Jun 22 '21 13:06 lromanov

Help please : My problem is that everything that should be in red is grey :

image

How to make variables red again ?

marcpinet avatar Aug 05 '21 16:08 marcpinet

@fuyunliu @jk123vip @lromanov you could add this in your settings.json

"editor.semanticTokenColorCustomizations": {
    "rules": {
      "parameter:python": "#aaaaaa"
    }
  },

Binaryify avatar Aug 06 '21 03:08 Binaryify

@marcpinet install Pylance plugins

Binaryify avatar Aug 06 '21 03:08 Binaryify

@marcpinet install Pylance plugins

I installed Pylance plugins, now I have the same issue above (almost everything is red) I also tried to copy/paste what you asked them to add in our settings.json but still doesn't work.

In my settings.json, when I put "python.languageServer": "None",

where None replaces Pylance, it fixes the issue

marcpinet avatar Aug 06 '21 08:08 marcpinet

@marcpinet read this https://github.com/Binaryify/OneDark-Pro#python--pylance-users

Binaryify avatar Aug 06 '21 09:08 Binaryify

      "editor.tokenColorCustomizations": {
        "textMateRules": [
          {
            "scope": "support.type.exception.python",
            "settings": {
            "foreground": "#ffbe32"
            }
          },
          {
            "scope": "meta.fstring.python",
            "settings": {
              "foreground": "#D19A66"
            }
          },
          {
            "scope": "meta.item-access.python",
            "settings": {
              "foreground": "#E06C75"
            }
          },
          {
            "scope": "meta.function-call.arguments.python",
            "settings": {
              "foreground": "#D19A66"
            }
          }
        ]
      },

This fixed my issue partially

marcpinet avatar Aug 06 '21 09:08 marcpinet