We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1a79e2 commit 14c445bCopy full SHA for 14c445b
src/pages/themeSetting/themeSetting.js
@@ -193,7 +193,12 @@ console.log(message);`);
193
* @param {string} param0.theme
194
*/
195
function setEditorTheme({ caption, theme }) {
196
- editorManager.editor.setTheme(theme); // main editor
+ if (appSettings.value.appTheme.toLowerCase() === "system") {
197
+ alert(
198
+ "App theme is set to 'System'. Changing the editor theme will not affect the editor appearance.",
199
+ );
200
+ }
201
+ editorManager.editor.setTheme(theme);
202
editor.setTheme(theme); // preview
203
appSettings.update(
204
{
0 commit comments