Moono-lisa darkmode 제안.

This commit is contained in:
Min-Soo Kim 2021-01-07 11:46:35 +09:00 committed by GitHub
parent 26558e4c6c
commit 9394694830
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,9 +94,15 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";
// Apply auto dark mode.
var editor_skin = '{$colorset}';
var editor_color = null;
<!--@if($editor_auto_dark_mode)-->
if (getColorScheme() === 'dark') {
editor_skin = 'moono-dark';
if(editor_skin === 'moono-lisa' ) {
editor_color = '#333333'
}
else {
editor_skin = 'moono-dark';
}
}
<!--@endif-->
@ -114,7 +120,8 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";
toolbarCanCollapse: true,
allowedContent: true,
startupFocus: {json_encode($editor_focus)},
language: "{str_replace('jp','ja',$lang_type)}"
language: "{str_replace('jp','ja',$lang_type)}",
uiColor: editor_color
},
loadXeComponent: true,
enableToolbar: true,