mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
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:
committed by
Copybot
parent
96a071dd04
commit
b554b0cfcc
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user