+ {themeOptions.map((option) => (
+ onThemeToggle(option.key)}
+ className={getItemClassName(theme === option.key)}
+ >
+
+ {option.label}
+
+ {option.description}
+
+
+
+ ))}
+
+ {theme === 'auto' && (
+ <>
+
+
+ {t('当前跟随系统')}:{actualTheme === 'dark' ? t('深色') : t('浅色')}
+
+ >
+ )}
+
+ }
+ >
+
+
);
};
diff --git a/web/src/context/Theme/index.jsx b/web/src/context/Theme/index.jsx
index 04e51042..c0225125 100644
--- a/web/src/context/Theme/index.jsx
+++ b/web/src/context/Theme/index.jsx
@@ -17,39 +17,90 @@ along with this program. If not, see