diff --git a/src/layouts/common/GlobalContent/index.vue b/src/layouts/common/GlobalContent/index.vue
index 576f7a54..86637657 100644
--- a/src/layouts/common/GlobalContent/index.vue
+++ b/src/layouts/common/GlobalContent/index.vue
@@ -4,19 +4,17 @@
class="h-full bg-[#f6f9f8] dark:bg-[#101014] transition duration-300 ease-in-out"
>
-
-
-
-
-
-
-
+
+
+
+
+
diff --git a/src/layouts/common/SettingDrawer/components/DarkMode/index.vue b/src/layouts/common/SettingDrawer/components/DarkMode/index.vue
index 48767681..b9381eda 100644
--- a/src/layouts/common/SettingDrawer/components/DarkMode/index.vue
+++ b/src/layouts/common/SettingDrawer/components/DarkMode/index.vue
@@ -1,17 +1,15 @@
- 主题
+ 主题模式
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/src/settings/theme.json b/src/settings/theme.json
index bb8bfe74..8f53a8d0 100644
--- a/src/settings/theme.json
+++ b/src/settings/theme.json
@@ -1,6 +1,6 @@
{
- "followSystemTheme": true,
"darkMode": false,
+ "followSystemTheme": true,
"layout": {
"minWidth": 900,
"mode": "vertical",
diff --git a/src/settings/theme.ts b/src/settings/theme.ts
index 503ed69e..69b97358 100644
--- a/src/settings/theme.ts
+++ b/src/settings/theme.ts
@@ -29,8 +29,8 @@ const themeColorList = [
];
const defaultThemeSetting: Theme.Setting = {
- followSystemTheme: true,
darkMode: false,
+ followSystemTheme: true,
layout: {
minWidth: 900,
mode: 'vertical',
diff --git a/src/typings/system.d.ts b/src/typings/system.d.ts
index b0a29851..97441d8d 100644
--- a/src/typings/system.d.ts
+++ b/src/typings/system.d.ts
@@ -98,10 +98,10 @@ declare namespace Service {
declare namespace Theme {
/** 主题配置 */
interface Setting {
- /** 是否自动跟随系统主题 */
- followSystemTheme: boolean;
/** 暗黑模式 */
darkMode: boolean;
+ /** 是否自动跟随系统主题 */
+ followSystemTheme: boolean;
/** 布局样式 */
layout: Layout;
/** 主题颜色 */