// The sizes the music album's face and the playlist's share // (`MusicWholeKnobs`). import CottonValues import SwiftUI enum MusicWholeKnobs { static let inset = EdgeInsets(top: 30, leading: 26, bottom: 26, trailing: 26) /// The album's art, as a share of the card's width and, at most, its height. static let artWidth: CGFloat = 0.68 static let artHeight: CGFloat = 0.58 static let titleSize: CGFloat = 25 static let artistHand: CGFloat = 28 static let factsSize: CGFloat = 13.5 /// The covers a playlist's J-card pins, two across. static let covers = 4 static let coverColumns = 2 /// The case: its corner, its inner line, and the J-card inside it. static let caseCorner: CGFloat = 10 static let caseLine: CGFloat = 4 static let cardInset: CGFloat = 8 static let cardPadding = EdgeInsets(top: 26, leading: 18, bottom: 20, trailing: 18) static let nameHand: CGFloat = 46 static let playlistFacts: CGFloat = 14 static let madeHand: CGFloat = 20 static let coverGutter: CGFloat = 18 static let coverMount: CGFloat = 4 static let coverEdge: CGFloat = 220 static let coverTurn: Double = 1.8 /// A song's sleeve pinned without a cover, of a cover's mount: a little /// smaller, so it never reads as an empty frame. static let sleeveShare: CGFloat = 0.92 /// A strip of clear tape: its size, its turn and how far it hangs over /// what it holds. static let tape = CGSize(width: 74, height: 20) static let smallTape = CGSize(width: 40, height: 13) static let tapeTurn: Double = -3 }