diff --git a/src/lib/components/FavoritesEditModal.svelte b/src/lib/components/FavoritesEditModal.svelte
index 5a8714008..52773f294 100644
--- a/src/lib/components/FavoritesEditModal.svelte
+++ b/src/lib/components/FavoritesEditModal.svelte
@@ -2,7 +2,7 @@
import { invoke } from '@tauri-apps/api/core';
import { open } from '@tauri-apps/plugin-dialog';
import Modal from './Modal.svelte';
- import { Heart, Star, Music, Folder, Disc, Library, Upload, GripVertical } from 'lucide-svelte';
+ import { Heart, Star, Music, Folder, Disc, Library, Headphones, Upload, GripVertical } from 'lucide-svelte';
import type { FavoritesPreferences } from '../types';
interface Props {
@@ -28,6 +28,7 @@
{ id: 'folder', label: 'Folder', icon: Folder },
{ id: 'disc', label: 'Disc', icon: Disc },
{ id: 'library', label: 'Library', icon: Library },
+ { id: 'headphones', label: 'Headphones', icon: Headphones },
];
const solidColors = [
@@ -175,8 +176,7 @@
Icon
-
Choose an icon for the Favorites page header
-
+
{#each presetIcons as preset}
{/each}
@@ -203,8 +203,7 @@
Background
-
Choose a background color or gradient
-
+
Solid Colors
@@ -285,8 +284,7 @@
Tab Order
-
Reorder tabs in the Favorites page navigation
-
+
{#each tabOrder as tab, index}
@@ -365,12 +363,6 @@
color: var(--text-secondary);
}
- .section-description {
- font-size: 13px;
- color: var(--text-muted);
- margin: 0 0 16px 0;
- }
-
.color-section {
margin-bottom: 20px;
}
@@ -381,19 +373,20 @@
.icon-grid {
display: grid;
- grid-template-columns: repeat(6, 1fr);
- gap: 12px;
- margin-bottom: 16px;
+ grid-template-columns: repeat(7, 1fr);
+ gap: 8px;
+ margin-bottom: 12px;
}
.icon-preset-btn {
- aspect-ratio: 1;
+ width: 42px;
+ height: 42px;
display: flex;
align-items: center;
justify-content: center;
background: var(--bg-secondary);
border: 2px solid transparent;
- border-radius: 8px;
+ border-radius: 6px;
cursor: pointer;
transition: all 150ms ease;
color: var(--text-secondary);
diff --git a/src/lib/components/FolderEditModal.svelte b/src/lib/components/FolderEditModal.svelte
index d69192db3..e7940a8b3 100644
--- a/src/lib/components/FolderEditModal.svelte
+++ b/src/lib/components/FolderEditModal.svelte
@@ -1,7 +1,7 @@
-
+
{#snippet children()}
@@ -154,7 +155,6 @@
Icon
-
Choose an icon for this folder
{#each presetIcons as preset}
@@ -164,7 +164,7 @@
onclick={() => selectPreset(preset.id)}
title={preset.label}
>
-
+
{/each}
@@ -183,7 +183,6 @@
Background
-
Choose a background color or gradient
Solid Colors
@@ -292,12 +291,6 @@
color: var(--text-secondary);
}
- .section-description {
- font-size: 13px;
- color: var(--text-muted);
- margin: 0 0 16px 0;
- }
-
.color-section {
margin-bottom: 20px;
}
@@ -308,19 +301,20 @@
.icon-grid {
display: grid;
- grid-template-columns: repeat(6, 1fr);
- gap: 12px;
- margin-bottom: 16px;
+ grid-template-columns: repeat(7, 1fr);
+ gap: 8px;
+ margin-bottom: 12px;
}
.icon-preset-btn {
- aspect-ratio: 1;
+ width: 42px;
+ height: 42px;
display: flex;
align-items: center;
justify-content: center;
background: var(--bg-secondary);
border: 2px solid transparent;
- border-radius: 8px;
+ border-radius: 6px;
cursor: pointer;
transition: all 150ms ease;
color: var(--text-secondary);