feat(phase4.3): add background color picker to favorites modal
- Add icon_background field to backend (Rust + TS types) - Update modal to 60% wider (1150px) - Implement two-column layout (icon left, tabs right) - Add solid color picker (8 colors + none) - Add gradient picker (6 gradients) - Remove background from edit button to match PlaylistView style - Update database migration for icon_background field cp
This commit is contained in:
1 parent
5bd52cc89b
commit
4009ae9b26
4 files changed
+233
-69
No files matched your search
@@ -137,6 +137,7 @@
|
||||
let favoritesPreferences = $state<FavoritesPreferences>({
|
||||
custom_icon_path: null,
|
||||
custom_icon_preset: 'heart',
|
||||
icon_background: null,
|
||||
tab_order: ['tracks', 'albums', 'artists', 'playlists'],
|
||||
});
|
||||
|
||||
@@ -1402,18 +1403,15 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--bg-tertiary);
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--text-secondary);
|
||||
cursor: pointer;
|
||||
transition: all 150ms ease;
|
||||
}
|
||||
|
||||
.edit-btn:hover {
|
||||
background: var(--bg-tertiary);
|
||||
color: var(--text-primary);
|
||||
border-color: var(--accent-primary);
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
.tabs {
|
||||
|
||||
Reference in new issue
Block a user