Merge pull request #28497 from overleaf/mj-system-editor-theme-dark-light-split

[web] Split editor theme into two when using system overall theme

GitOrigin-RevId: 1efa5553fdff8a17de634017882feb2ede614cd6
This commit is contained in:
Mathias Jakobsen
2025-12-12 09:05:10 +00:00
committed by Copybot
parent 96a071dd04
commit b554b0cfcc
20 changed files with 476 additions and 42 deletions
@@ -368,6 +368,12 @@ async function updateUserSettings(req, res, next) {
if (body.editorTheme != null) {
user.ace.theme = body.editorTheme
}
if (body.editorLightTheme != null) {
user.ace.lightTheme = body.editorLightTheme
}
if (body.editorDarkTheme != null) {
user.ace.darkTheme = body.editorDarkTheme
}
if (body.overallTheme != null) {
user.ace.overallTheme = body.overallTheme
}