style: rebalance start screen branding and drop hint
This commit is contained in:
@@ -37,7 +37,7 @@ Open one or more local files with **⌘O**, drag them onto the video, or use Fin
|
|||||||
|
|
||||||
The start screen uses a fixed 640 × 400-point two-pane window: Terebi's identity and version on the left; **Open…**, **Open URL…**, and the six most recently played local files or YouTube videos on the right. Opening media restores normal resizing; closing media returns to the fixed start size. Shortcut hints follow your configured bindings. **Open URL…** reveals a focused inline YouTube field. When the most recent item has saved progress, it appears once as a **Resume** row with its saved timestamp. Recent titles and ordering survive relaunches; failed opens are not added. Resolved streams are excluded because reopening them requires a fresh external handoff. The action pane scrolls, and drag-and-drop remains available.
|
The start screen uses a fixed 640 × 400-point two-pane window: Terebi's identity and version on the left; **Open…**, **Open URL…**, and the six most recently played local files or YouTube videos on the right. Opening media restores normal resizing; closing media returns to the fixed start size. Shortcut hints follow your configured bindings. **Open URL…** reveals a focused inline YouTube field. When the most recent item has saved progress, it appears once as a **Resume** row with its saved timestamp. Recent titles and ordering survive relaunches; failed opens are not added. Resolved streams are excluded because reopening them requires a fresh external handoff. The action pane scrolls, and drag-and-drop remains available.
|
||||||
|
|
||||||
Start-screen actions use 14-point text and begin 64 points below the top edge. Open actions have no idle fill; their background appears on hover or press.
|
Start-screen actions use 14-point text and begin 64 points below the top edge. Branding uses a 16-point app name and 12-point version; the drop hint uses 13-point text. Open actions have no idle fill; their background appears on hover or press.
|
||||||
|
|
||||||
| Action | Default shortcut |
|
| Action | Default shortcut |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
|
|||||||
@@ -2148,9 +2148,9 @@ private struct PlayerContent: View {
|
|||||||
.accessibilityHidden(true)
|
.accessibilityHidden(true)
|
||||||
.padding(.top, max(48, size.height * 0.16) + 20)
|
.padding(.top, max(48, size.height * 0.16) + 20)
|
||||||
VStack(spacing: 6) {
|
VStack(spacing: 6) {
|
||||||
Text("Terebi").font(.system(size: 20, weight: .semibold))
|
Text("Terebi").font(.system(size: 16, weight: .semibold))
|
||||||
if let version = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String {
|
if let version = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String {
|
||||||
Text(version).font(.system(size: 14)).foregroundStyle(.secondary)
|
Text(version).font(.system(size: 12)).foregroundStyle(.secondary)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding(.top, min(80, size.height * 0.14))
|
.padding(.top, min(80, size.height * 0.14))
|
||||||
@@ -2214,7 +2214,7 @@ private struct PlayerContent: View {
|
|||||||
}
|
}
|
||||||
if model.recentMedia.isEmpty {
|
if model.recentMedia.isEmpty {
|
||||||
Text("Drop a media file or YouTube link here")
|
Text("Drop a media file or YouTube link here")
|
||||||
.font(.system(size: 11))
|
.font(.system(size: 13))
|
||||||
.foregroundStyle(.secondary)
|
.foregroundStyle(.secondary)
|
||||||
.padding(.horizontal, 14)
|
.padding(.horizontal, 14)
|
||||||
.padding(.top, 20)
|
.padding(.top, 20)
|
||||||
|
|||||||
Reference in New Issue
Block a user