Move editor.css to theme/icecoder.css and make default

This commit is contained in:
mattpass
2020-07-05 09:25:16 +01:00
parent 5fc797176d
commit d7bb490a50
7 changed files with 43 additions and 88 deletions

View File

@@ -41,7 +41,8 @@ if (true === file_exists(dirname(__FILE__)."/plugins/responsive-helper/responsiv
echo '<script src="plugins/responsive-helper/responsive-helper.js?microtime=' . microtime(true) . '"></script>';
};?>
<link rel="stylesheet" href="<?php
if ("default" === $ICEcoder["theme"]) {echo dirname(basename(__DIR__)) . '/assets/css/editor.css';} else {echo 'assets/css/theme/' . $ICEcoder["theme"] . '.css';};
echo dirname(basename(__DIR__)) . '/assets/css/theme/';
echo "default" === $ICEcoder["theme"] ? 'icecoder.css' : $ICEcoder["theme"] . '.css';
echo "?microtime=" . microtime(true);
if (false !== array_search($ICEcoder["theme"], ["3024-day","base16-light","eclipse","elegant","mdn-like","neat","neo","paraiso-light","solarized","the-matrix","xq-light"])) {
$activeLineBG = "#ccc";