feat: Now Playing view like the Apple TV app's
The cover large over a blurred copy of itself, what's playing beside it with the line being sung, and the transport along the bottom; the queue and lyrics drawer opens at its right edge. Opens from the player bar's cover, its expand button or ⌘P; closes with the chevron, Esc, ⌘P or Back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
899ab223b9
commit
e2ac2de9f4
16 files changed
+572
-46
No files matched your search
@@ -198,7 +198,8 @@ A near-monochrome violet-grey palette with a single warm amber and two quiet sta
|
||||
### Primary
|
||||
- **Indicator Amber** (`accent`): the playing track's title, the progress fill, primary buttons,
|
||||
selected chips, the active nav icon, the active tab underline, the focused search border, the
|
||||
wordmark dot and the My Wave hero lines. The Lossless quality badge also turns amber when Yandex
|
||||
wordmark dot, the My Wave hero lines, and on Now Playing the play disc and the line being sung.
|
||||
The Lossless quality badge also turns amber when Yandex
|
||||
serves FLAC.
|
||||
- **Amber Ink** (`accent-ink`): text and icons placed on amber.
|
||||
|
||||
@@ -281,10 +282,12 @@ that float above the content.
|
||||
- **Menu float** (0 10px 28px, black 30%): the context menu and its submenu.
|
||||
- **Toast float** (0 6px 18px, black 30%): the status pill above the player bar.
|
||||
- **Dialog float** (0 18px 50px, black 35%), over a 45% black backdrop: dialogs only.
|
||||
- **Stage float** (0 18px 50px, black 35%), no backdrop: the large cover on Now Playing, which
|
||||
floats over its own blurred copy.
|
||||
|
||||
### Named Rules
|
||||
**The Float-Only Shadow Rule.** If it isn't floating above the content (menu, toast, dialog) and
|
||||
it isn't the primary button, it has no shadow.
|
||||
**The Float-Only Shadow Rule.** If it isn't floating above the content (menu, toast, dialog, the
|
||||
Now Playing cover) and it isn't a primary button, it has no shadow.
|
||||
|
||||
**The No-Dim Rule.** Only dialogs dim the window. Menus, the drawer and toasts never do.
|
||||
|
||||
@@ -347,11 +350,12 @@ rounded corners.
|
||||
|
||||
### Player bar
|
||||
- `panel` fill, 80pt tall, in three zones.
|
||||
- **Left:** a 52pt cover with the title and artist, then like and dislike buttons. Right-clicking
|
||||
the cover or title opens the track's menu.
|
||||
- **Left:** a 52pt cover with the title and artist, then like and dislike buttons. Clicking the
|
||||
cover or title opens Now Playing; right-clicking it opens the track's menu.
|
||||
- **Centre:** shuffle, previous, the play disc, next and repeat, above a 4pt seek rail with an
|
||||
amber fill. The rail's handle appears only on hover or drag. Times sit on either side.
|
||||
- **Right:** the quality badge, lyrics, queue, and a volume rail with an `fg` fill.
|
||||
- **Right:** the quality badge, Now Playing (expand), lyrics, queue, and a volume rail with an
|
||||
`fg` fill.
|
||||
|
||||
### Track row
|
||||
- 52pt tall, built as a button. Columns in order:
|
||||
@@ -400,6 +404,23 @@ rounded corners.
|
||||
"and N more". Clicking a row jumps to it. Right-click opens the queue version of the track menu.
|
||||
- **Lyrics:** synced lyrics follow playback.
|
||||
|
||||
### Now Playing
|
||||
- Follows the Apple TV app's Now Playing. It covers the whole window, player bar included, until
|
||||
closed with the chevron at its top left, Esc, ⌘P or Back. Going to an album or artist from its
|
||||
menu closes it too.
|
||||
- **Backdrop:** the cover shrunk to 32px, blurred and stretched over the window, washed with
|
||||
`bg` from 55% at the top to 92% at the bottom. Until the cover loads, its placeholder gradient
|
||||
stands in.
|
||||
- **Stage:** the cover at hero radius with the stage float, as large as the window allows between
|
||||
160 and 520pt, and beside it the quality badge, the title in display-m (wrapping), the artists in
|
||||
section `fg`, and the album in `muted`. A playback notice shows in `like`. With synced lyrics, the
|
||||
line being sung shows under them in section amber.
|
||||
- **Seek:** a 6pt rail with an amber fill across the stage, the times under its ends.
|
||||
- **Controls:** shuffle, previous, a 56pt amber play disc (the primary style), next and repeat at
|
||||
20pt; then the heart, "…", Queue and Lyrics pills (chip style, filled while their panel is open)
|
||||
and the volume. Below 820pt of stage width the pills lose their labels.
|
||||
- **Drawer:** opens at the right edge as in the main window, and Esc closes it before Now Playing.
|
||||
|
||||
### Dialogs
|
||||
- 380pt `panel` card with card radius and the dialog float over a dimmed window.
|
||||
- Used only when you type or confirm: New playlist, Rename playlist, and Delete playlist.
|
||||
@@ -427,7 +448,8 @@ rounded corners.
|
||||
- ⌘L: like
|
||||
- ⌘F or `/`: search
|
||||
- ⌘[ or ⌥←: back
|
||||
- Esc: closes a drag, menu, dialog, suggestions or the drawer, in that order
|
||||
- ⌘P: Now Playing
|
||||
- Esc: closes a drag, menu, dialog, suggestions, the drawer or Now Playing, in that order
|
||||
- ⌘1–5: nav sections
|
||||
- ⌘,: Settings
|
||||
- ⌘ is Ctrl on Windows and Linux.
|
||||
|
||||
Reference in new issue
Block a user