From f17b9b1e88d61b32bb51b1a7b964afc441b6951c Mon Sep 17 00:00:00 2001 From: churongcon Date: Thu, 23 Apr 2020 08:19:23 +0800 Subject: [PATCH] Update index.js Add theme color, darkmode --- index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.js b/index.js index 14ddfcc..64f5c71 100644 --- a/index.js +++ b/index.js @@ -6,6 +6,10 @@ var authConfig = { /*"client_id": "202264815644.apps.googleusercontent.com", "client_secret": "X4Z3ca8xfWDb1Voo-F9a7ZxJ",*/ // 强烈推荐使用自己的 client_id 和 client_secret + //add themes color, darkmode + "theme" : "material", // material classic + "main_color": "light-green", + "accent_color": "green", "client_id": "", "client_secret": "", "refresh_token": "", // 授权 token @@ -102,6 +106,7 @@ function html(current_drive_order = 0, model = {}) { window.MODEL = JSON.parse('${JSON.stringify(model)}'); window.current_drive_order = ${current_drive_order}; +