💄 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

@@ -2,6 +2,10 @@
NexT.boot = {};
NexT.boot.activeThemeMode = function(){
NexT.utils.activeThemeMode();
};
NexT.boot.registerEvents = function() {
NexT.utils.registerScrollPercent();
@@ -84,6 +88,7 @@ NexT.boot.motion = function() {
};
document.addEventListener('DOMContentLoaded', () => {
NexT.boot.activeThemeMode();
NexT.boot.registerEvents();
NexT.boot.motion();
NexT.boot.refresh();