diff --git a/themes/material/app.js b/themes/material/app.js
index 4745273..28b48eb 100644
--- a/themes/material/app.js
+++ b/themes/material/app.js
@@ -3,20 +3,29 @@ document.write('');
document.write('');
-
+//add custome theme and darkmode
+if(dark){document.write('');}
// 初始化页面,并载入必要资源
-function init() {
- document.siteName = $('title').html();
- $('body').addClass("mdui-theme-primary-blue-grey mdui-theme-accent-blue");
- var html = `
-