[feat] hide notice on successful start + tool button bg on dark mode

This commit is contained in:
Purp1e
2025-03-23 13:53:28 +08:00
parent 7e2e556485
commit 08017293b0
5 changed files with 9 additions and 10 deletions

View File

@@ -30,21 +30,21 @@ export default function PreferenceLayout({
<CardIcon
type="menu"
onClick={() => router.push("/preference/general")}
className={cn(pathname === "/preference/general" && "bg-black/5")}
className={cn(pathname === "/preference/general" && "bg-black/5 dark:bg-white/5")}
>
<SettingConfig />
</CardIcon>
<CardIcon
type="menu"
onClick={() => router.push("/preference/path")}
className={cn(pathname === "/preference/path" && "bg-black/5")}
className={cn(pathname === "/preference/path" && "bg-black/5 dark:bg-white/5")}
>
<AssemblyLine />
</CardIcon>
<CardIcon
type="menu"
onClick={() => router.push("/preference/replay")}
className={cn(pathname === "/preference/replay" && "bg-black/5")}
className={cn(pathname === "/preference/replay" && "bg-black/5 dark:bg-white/5")}
>
<Videocamera />
</CardIcon>