💄 Add comments active dark & light model.

This commit is contained in:
凡梦星尘
2022-09-27 11:01:43 +08:00
parent d4730f89d2
commit dc1c68d5c9
5 changed files with 87 additions and 50 deletions

View File

@@ -40,7 +40,7 @@ document.addEventListener('DOMContentLoaded', () => {
requiredMeta : requiredmeta,
serverURL : serverurl,
lang : NexT.CONFIG.lang,
dark : "auto"
dark : 'html[data-theme="dark"]'
});
NexT.utils.hiddeLodingCmp(element);