Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster authored Nov 22, 2023
1 parent a409686 commit 9117d85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/public/themes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
You can use monaco themes to style the lean webeditor. Take a look at these
[sample monaco themes](https://github.com/brijeshb42/monaco-themes/tree/master/themes).

To add a theme, you need two steps:
You can directly load custom themes in the settings. The upload expects a valid JSON monaco theme.

To add a theme to the editor permanently, you need two steps:

1. Add the json file here (in the `themes` folder)
2. Add an `option` to the `select` in `Settings.tsx`. Make sure that the `value` of the `option` matches the filename (without '.json')!
Expand Down

0 comments on commit 9117d85

Please sign in to comment.