From 9117d8551f7e27b18755f43f8570ce07af04897a Mon Sep 17 00:00:00 2001 From: Jon Eugster Date: Wed, 22 Nov 2023 11:15:02 +0100 Subject: [PATCH] Update README.md --- client/public/themes/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/public/themes/README.md b/client/public/themes/README.md index 2e05160e..dc855ac6 100644 --- a/client/public/themes/README.md +++ b/client/public/themes/README.md @@ -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')!