From 0891b5e7b7eb109a5a527797a690ed1a5eae84bf Mon Sep 17 00:00:00 2001 From: GyDi Date: Sat, 6 Aug 2022 03:48:03 +0800 Subject: [PATCH] feat: adjust setting page style --- .../setting/mods/theme-mode-switch.tsx | 2 +- src/components/setting/setting-clash.tsx | 44 +++++---- src/components/setting/setting-system.tsx | 94 +++++++------------ src/components/setting/setting-verge.tsx | 44 ++++----- src/components/setting/setting.tsx | 36 ++++++- 5 files changed, 109 insertions(+), 111 deletions(-) diff --git a/src/components/setting/mods/theme-mode-switch.tsx b/src/components/setting/mods/theme-mode-switch.tsx index f717976..c8ee8af 100644 --- a/src/components/setting/mods/theme-mode-switch.tsx +++ b/src/components/setting/mods/theme-mode-switch.tsx @@ -15,7 +15,7 @@ const ThemeModeSwitch = (props: Props) => { const modes = ["light", "dark", "system"] as const; return ( - + {modes.map((mode) => (