Skip to content

Commit

Permalink
fix links in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhosny committed Dec 15, 2023
1 parent 9b66154 commit e67ed17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/configuration/configuration-object.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,11 +474,11 @@ Sets the editor [themes](../features/themes.md).
You can preview and set editor themes in the [editor settings screen](pathname:///../?screen=editor-settings).
:::

Three code editors are supported in LiveCodes: Monaco (the default on desktop), CodeMirror (the default on mobile) and CodeJar (the default in [Lite mode](../features/lite.md)). Each editor has its own set of themes, represented by the types: [`MonacoTheme`](..api/modules/internal/#monacotheme), [`CodemirrorTheme`](..api/modules/internal/#codemirrortheme) and [`CodejarTheme`](..api/modules/internal/#codejartheme). The `editorTheme` property can be used to set the editor theme for each editor and on light/dark mode.
Three code editors are supported in LiveCodes: Monaco (the default on desktop), CodeMirror (the default on mobile) and CodeJar (the default in [Lite mode](../features/lite.md)). Each editor has its own set of themes, represented by the types: [`MonacoTheme`](../api/modules/internal/#monacotheme), [`CodemirrorTheme`](../api/modules/internal/#codemirrortheme) and [`CodejarTheme`](../api/modules/internal/#codejartheme). The `editorTheme` property can be used to set the editor theme for each editor and on light/dark mode.

The `editorTheme` property can be set to an array of [`EditorTheme`](../api/modules/internal#editortheme) items or a `string` of comma-separated `EditorTheme`s. The order matters. The first valid item in the array or string for the current editor (`monaco`, `codemirror` or `codejar`) and app theme (`light` or `dark`) will be used.

Each `EditorTheme` item can be a theme name ([`MonacoTheme`](..api/modules/internal/#monacotheme) / [`CodemirrorTheme`](..api/modules/internal/#codemirrortheme) / [`CodejarTheme`](..api/modules/internal/#codejartheme]) (e.g. `"monokai"`)). The theme name can be preceded with the editor name separated by a colon to specify the editor (e.g. `"monaco:monokai"`). It can also be followed by the app theme separated by "@" (e.g. `"monokai@dark"`).
Each `EditorTheme` item can be a theme name ([`MonacoTheme`](../api/modules/internal/#monacotheme) / [`CodemirrorTheme`](../api/modules/internal/#codemirrortheme) / [`CodejarTheme`](../api/modules/internal/#codejartheme]) (e.g. `"monokai"`)). The theme name can be preceded with the editor name separated by a colon to specify the editor (e.g. `"monaco:monokai"`). It can also be followed by the app theme separated by "@" (e.g. `"monokai@dark"`).

Multiple `EditorTheme` items can be supplied (as array items or in the comma-separated string) to specify the theme for each editor and in dark and light modes.

Expand Down

0 comments on commit e67ed17

Please sign in to comment.