mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-05 02:29:55 +02:00
Add a native SwiftUI VniDrop app (Send/Receive/Settings) talking to the Rust core via generated UniFFI Swift bindings, plus the uniffi-bindgen helper crate. iOS uses a TabView, macOS a NavigationSplitView sidebar.
12 lines
447 B
Swift
12 lines
447 B
Swift
import SwiftUI
|
|
|
|
/// Semantic type scale mapped from the Material typography styles the Compose UI
|
|
/// uses, so screens reference the same names during the port.
|
|
enum VniType {
|
|
static let titleLarge = Font.system(size: 22, weight: .semibold)
|
|
static let bodyLarge = Font.system(size: 16)
|
|
static let bodyMedium = Font.system(size: 14)
|
|
static let bodySmall = Font.system(size: 12)
|
|
static let labelSmall = Font.system(size: 11, weight: .medium)
|
|
}
|