diff --git a/src/components/LeftSidebar.tsx b/src/components/LeftSidebar.tsx
index cdeeb739..5414141d 100644
--- a/src/components/LeftSidebar.tsx
+++ b/src/components/LeftSidebar.tsx
@@ -98,7 +98,7 @@ export function LeftSidebar() {
{ value: 'light', label: 'Light', icon: },
{ value: 'dark', label: 'Dark', icon: },
];
- const presetOptions = Object.entries(themePresets).filter(([, p]) => p.featured).map(([id, p]) => ({ id, label: p.label, emoji: p.emoji }));
+ const presetOptions = Object.entries(themePresets).filter(([, p]) => p.featured).slice(0, 5).map(([id, p]) => ({ id, label: p.label, emoji: p.emoji }));
const activePreset = theme === 'custom' && customTheme ? Object.entries(themePresets).find(([, p]) => JSON.stringify(p.colors) === JSON.stringify(customTheme)) : undefined;
const sidebarUserThemes = useUserThemes(user?.pubkey);
const activeUserTheme = theme === 'custom' && customTheme && !activePreset ? sidebarUserThemes.data?.find(t => JSON.stringify(t.colors) === JSON.stringify(customTheme)) : undefined;
@@ -333,7 +333,7 @@ export function LeftSidebar() {
{currentThemeIcon}{currentThemeLabel}
-
+
{builtinThemeOptions.map((opt) => (
setTheme(opt.value)} className="flex items-center justify-between cursor-pointer">
{opt.icon}{opt.label}
diff --git a/src/components/SidebarThemeDropdown.tsx b/src/components/SidebarThemeDropdown.tsx
index ddade6dd..635283aa 100644
--- a/src/components/SidebarThemeDropdown.tsx
+++ b/src/components/SidebarThemeDropdown.tsx
@@ -29,6 +29,7 @@ export function SidebarThemeDropdown({ userPubkey, onNavigate, className }: Side
const presetOptions = Object.entries(themePresets)
.filter(([, p]) => p.featured)
+ .slice(0, 5)
.map(([id, p]) => ({ id, label: p.label, emoji: p.emoji }));
const activePreset = theme === 'custom' && customTheme
@@ -68,7 +69,7 @@ export function SidebarThemeDropdown({ userPubkey, onNavigate, className }: Side
-
+
{builtinOptions.map((opt) => (
setTheme(opt.value)} className="flex items-center justify-between cursor-pointer">
{opt.icon}{opt.label}