[
- `${value} (${Math.round((value / total) * 100)}%)`,
- ]}
- />
+ contentStyle={{
+ backgroundColor: getCSSVariable('--card'),
+ border: `1px solid ${getCSSVariable('--border')}`,
+ borderRadius: "10px",
+ color: getCSSVariable('--foreground'),
+ }}
+ itemStyle={{
+ color: getCSSVariable('--foreground'),
+ }}
+ labelStyle={{
+ color: getCSSVariable('--foreground'),
+ }}
+/>
diff --git a/src/lib/auth.ts b/src/lib/auth.ts
index cef9ae25..538919f0 100644
--- a/src/lib/auth.ts
+++ b/src/lib/auth.ts
@@ -16,6 +16,9 @@ export const authOptions: NextAuthOptions = {
},
}),
],
+ pages: {
+ signIn: "/auth/signin",
+},
session: {
strategy: "jwt",
maxAge: SESSION_MAX_AGE,