Binaryify / OneDark-Pro

Atom's iconic One Dark theme for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme
MIT License
1.48k stars 291 forks source link

Can we install this theme for monaco editor ? #813

Open ManUtopiK opened 2 months ago

ManUtopiK commented 2 months ago

Describe the bug

I try to install the the in monaco-editor. I exported the https://github.com/Binaryify/OneDark-Pro/blob/master/themes/OneDark-Pro.json and define it with : monaco.editor.defineTheme('one-dark-pro', oneDarkPro) But I think I'm going wrong. This file doesn't look like a theme like this example.

Is there a way to use this theme to monaco-editor ? Additional context "monaco-editor": "^0.47.0"