+
+
+ Search community themes
+
+
+ Find open-source themes from Open VSX.
+
+
+
+
+ {error ? (
+
+ {error}
+
+ ) : null}
+
+ {results === null && !isSearching ? (
+
+ Popular
+ {SUGGESTED_SEARCHES.map((suggestion) => (
+
+ ))}
+
+ ) : null}
+
+ {isSearching ? (
+
+ Finding themes...
+
+ ) : null}
+
+ {results ? (
+ results.length === 0 ? (
+
+
No supported open-source themes found
+
Try a broader search.
+
+ ) : (
+
+ {results.map((extension) => {
+ const isInstalling = installingId === extension.id;
+ return (
+
+
+
+
+
{extension.name}
+
+ {extension.publisher} · {DOWNLOAD_FORMAT.format(extension.downloadCount)}{" "}
+ downloads
+
+
+
+
+ {extension.description || "A community color theme for your editor."}
+
+
+
+ {extension.license}
+
+
+
+
+ );
+ })}
+
+ )
+ ) : null}
+
+
+ Licensed themes only, with package integrity checks
+
+
+ );
+}
diff --git a/apps/web/src/components/settings/ThemeSettings.tsx b/apps/web/src/components/settings/ThemeSettings.tsx
index b8cfee9eda..2a9a4989b2 100644
--- a/apps/web/src/components/settings/ThemeSettings.tsx
+++ b/apps/web/src/components/settings/ThemeSettings.tsx
@@ -3,7 +3,6 @@ import {
DownloadIcon,
PenLineIcon,
PlusIcon,
- SearchIcon,
Trash2Icon,
UploadIcon,
} from "lucide-react";
@@ -36,7 +35,6 @@ import { Button } from "../ui/button";
import { stackedThreadToast, toastManager } from "../ui/toast";
import { Tooltip, TooltipPopup, TooltipProvider, TooltipTrigger } from "../ui/tooltip";
import { ThemeImportDialog } from "./ThemeImportDialog";
-import { ThemeSearchDialog } from "./ThemeSearchDialog";
import { useThemeEditorStore } from "./themeEditorStore";
import {
STANDARD_THEME_CARDS,
@@ -252,7 +250,6 @@ export function ThemeLibrary({
setThemeHalf: (appearance: ThemeAppearance, themeId: string | null) => boolean;
}) {
const openThemeEditor = useThemeEditorStore((store) => store.openThemeEditor);
- const [isSearchOpen, setIsSearchOpen] = useState(false);
const [themeToRemove, setThemeToRemove] = useState