Skip to content

Commit b85a414

Browse files
authored
Merge pull request #242 from bonanitech/monaco-theme-missing-dir
Add directory to theme JSON file
2 parents 116bdf4 + e323122 commit b85a414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/ui/themes/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ separate file and use `require` to import it:
200200
```javascript
201201
RED.plugins.registerPlugin("my-custom-theme", {
202202
monacoOptions: {
203-
theme: require("my-custom-theme-monaco-theme.json"),
203+
theme: require("./my-custom-theme-monaco-theme.json"),
204204
}
205205
})
206206
```

0 commit comments

Comments
 (0)