ソースを参照

默认主题为黑色

dengdx 6 日 前
コミット
ddb8741be2
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/app.tsx

+ 1 - 1
src/app.tsx

@@ -36,7 +36,7 @@ function AppContent({ children }: { children: ReactNode }): JSX.Element {
   const { messages, loading, error, currentLocale } = useAppSelector(
     (state) => state.i18n
   );
-  const [currentTheme, setCurrentTheme] = useState(lightTheme); // 默认使用 light 主题
+  const [currentTheme, setCurrentTheme] = useState(darkTheme); // 默认使用 light 主题
   const [isI18nReady, setIsI18nReady] = useState(false);
 
   useLaunch((): void => {