2

What I did:

  1. npm install -g yo generator-code

  2. yo code and selected New Color Theme

  3. Following instructions for name, author etc.

  4. The ready made folder I moved to $HOME/.vscode/extensions (I am on Mac)

Content of my folder:

enter image description here

Inside the themes folder:

enter image description here

I restarted the vscode and from Code->Preferences->Color Theme I chose my theme and have the following error:

enter image description here

The theme was generated with editor. I also tried with theme from colorsublime but I had the same error.

This is package.json file:

    {
    "name": "random",
    "displayName": "randomtheme",
    "description": "theme",
    "version": "0.0.1",
    "publisher": "Milenito",
    "engines": {
        "vscode": "^1.5.0"
    },
    "categories": [
        "Themes"
    ],
    "contributes": {
        "themes": [
            {
                "label": "Random",
                "uiTheme": "vs-dark",
                "path": "./themes/milenekai.tmTheme"
            }
        ]
    }
}

I really can't see where is the problem. I would appreciate any help.

Gama11
  • 31,714
  • 9
  • 78
  • 100
vaklinzi
  • 1,913
  • 2
  • 18
  • 30

0 Answers0