diff --git a/modules/editor/skins/ckeditor/css/default.less b/modules/editor/skins/ckeditor/css/default.less index bb01604bd..4b4619fa3 100644 --- a/modules/editor/skins/ckeditor/css/default.less +++ b/modules/editor/skins/ckeditor/css/default.less @@ -32,27 +32,6 @@ margin: 0 0 @content_paragraph_spacing 0; } -/* if editor_auto_dark_mode == 'Y' load darkmode style */ -.auto_dark(@cs, @adm) when (@adm = Y) and not (@cs = moono-dark) { - html { - body.cke_editable { - .light_dark(moono-dark); - } - } - .cke_reset { - span { - &.cke_top { - .light_dark_top(moono-dark); - } - } - } - .cke_button_icon, .cke_combo_button, .cke_button_arrow, .cke_button_label { - filter: invert(1); - } -} -.auto_dark(@cs, @adm) when not (@adm = Y) or (@cs = moono-dark) { -} - .light_dark(@cs) when (@cs = moono-dark) { background-color: #333; color: #fff; diff --git a/modules/editor/skins/ckeditor/editor.html b/modules/editor/skins/ckeditor/editor.html index 535b26804..1f6969f9e 100644 --- a/modules/editor/skins/ckeditor/editor.html +++ b/modules/editor/skins/ckeditor/editor.html @@ -6,7 +6,6 @@ {@ $css_var->content_line_height = $content_line_height ? $content_line_height: 'none';} {@ $css_var->content_word_break = $content_word_break ? $content_word_break : 'none';} {@ $css_var->content_paragraph_spacing = $content_paragraph_spacing ? $content_paragraph_spacing : 'none';} -{@ $css_var->auto_dark_mode = ($editor_auto_dark_mode)? 'Y':'N' } {@ Context::set('css_var',$css_var);}