rename code highlighting file

This commit is contained in:
Sergey Yarkov 2022-07-31 05:32:48 +03:00
parent c3ac7c6c14
commit 51d628d810
3 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
if (window.theme) { if (window.theme) {
/* the {theme} in the path will be dynamically changed */ /* the {theme} in the path will be dynamically changed */
const PATH = `assets/css/prism-one-{theme}.min.css`; const PATH = `assets/css/code-highlight-{theme}.min.css`;
const $head = document.getElementsByTagName('head')[0]; const $head = document.getElementsByTagName('head')[0];
const getPath = (theme) => PATH.replace(`{theme}`, theme); const getPath = (theme) => PATH.replace(`{theme}`, theme);
const createLink = (theme, media) => { const createLink = (theme, media) => {