mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Moono-lisa darkmode 제안.
This commit is contained in:
parent
26558e4c6c
commit
9394694830
1 changed files with 9 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue