Clicking an album card opens the album detail view: a back button, the album header (224px artwork, title, artist, and info line — year, label, genre, track count, duration — plus play / shuffle / favorite / more action buttons), and the track list with a column header (#, title, artist, duration, quality). - album.rs: fetches the album via QbzCore::get_album, maps it (info line, per-track quality tier, durations) onto the AlbumState global, and loads the header artwork through the shared image cache. - AlbumPageView.slint, with NavState driving the shell content region between Home and the album page. - Album clicks bubble AlbumCard -> Carousel -> HomeView -> AppShell -> AppWindow -> main; the back button returns to Home. cc
18 lines
543 B
Plaintext
18 lines
543 B
Plaintext
// Typography scale — font sizes and weights.
|
|
|
|
export global Typography {
|
|
out property <length> legal: 12px;
|
|
out property <length> link: 13px;
|
|
out property <length> body: 14px;
|
|
out property <length> subtitle: 14px;
|
|
out property <length> button: 16px;
|
|
out property <length> heading: 18px;
|
|
out property <length> title: 24px;
|
|
out property <length> wordmark: 28px;
|
|
|
|
out property <int> regular: 400;
|
|
out property <int> medium: 500;
|
|
out property <int> semibold: 600;
|
|
out property <int> bold: 700;
|
|
}
|