@@ -129,12 +196,44 @@ function Settings() {
-
+
- Toggle dark mode theme
+ Choose light, dark, or follow your OS setting.
-
+
+ {THEME_OPTIONS.map((option, index) => {
+ const Icon = option.icon;
+ const isSelected = preference === option.value;
+
+ return (
+
+ );
+ })}
+
diff --git a/vitest.config.ts b/vitest.config.ts
index 65862d26e..63da3d692 100644
--- a/vitest.config.ts
+++ b/vitest.config.ts
@@ -8,6 +8,6 @@ import { defineConfig } from "vitest/config";
export default defineConfig({
cacheDir: "./.cache/vite",
test: {
- projects: ["apps/api", "apps/app"],
+ projects: ["apps/api/vitest.config.ts", "apps/app/vite.config.ts"],
},
});