parent
69683629d7
commit
8fa12607ff
|
@ -316,6 +316,11 @@ var navFn = {
|
||||||
categoriesOptionNew.legend.textStyle.color = color
|
categoriesOptionNew.legend.textStyle.color = color
|
||||||
categoriesChart.setOption(categoriesOptionNew)
|
categoriesChart.setOption(categoriesOptionNew)
|
||||||
}
|
}
|
||||||
|
heo.darkModeStatus();
|
||||||
|
//代码块
|
||||||
|
if(GLOBAL_CONFIG.prism.enable){
|
||||||
|
halo.dataCodeTheme();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -204,12 +204,6 @@ async function copyImage(imageURL) {
|
||||||
rm.switchDarkMode = function () {
|
rm.switchDarkMode = function () {
|
||||||
navFn.switchDarkMode();
|
navFn.switchDarkMode();
|
||||||
rm.hideRightMenu();
|
rm.hideRightMenu();
|
||||||
heo.darkModeStatus();
|
|
||||||
//代码块
|
|
||||||
if(GLOBAL_CONFIG.prism.enable){
|
|
||||||
halo.dataCodeTheme();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//halo.darkComment();
|
//halo.darkComment();
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
<div class="button-group">
|
<div class="button-group">
|
||||||
<div class="console-btn-item">
|
<div class="console-btn-item">
|
||||||
<!-- 用到了 rightmenu.js 的功能,还需要调整 -->
|
<!-- 用到了 rightmenu.js 的功能,还需要调整 -->
|
||||||
<a class="darkmode_switchbutton" href="javascript:void(0);" onclick="rm.switchDarkMode()" rel="external nofollow"
|
<a class="darkmode_switchbutton" href="javascript:void(0);" onclick="navFn.switchDarkMode();" rel="external nofollow"
|
||||||
title="显示模式切换"><i class="iconfont icon-moon" style="font-size:1rem"></i>
|
title="显示模式切换"><i class="iconfont icon-moon" style="font-size:1rem"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue