Files
sst/Sources/Sst/MainWindow.swift
T

24 lines
802 B
Swift

import SwiftUI
import SstUI
/// Placeholder shell; phase 5 replaces the content with the deck, history and dictionary.
struct MainWindow: View {
@EnvironmentObject private var model: AppModel
var body: some View {
ZStack {
BrushedBackground().ignoresSafeArea()
VStack(alignment: .leading, spacing: Layout.panelGap) {
SilkLabel(AppIdentity.brandCaption)
Text(model.statusLine)
.textStyle(Typography.reading)
.foregroundStyle(Palette.inkPrimary)
.padding(Layout.panelPadding)
.frame(maxWidth: .infinity, alignment: .leading)
.background(PanelBackground())
}
.padding(Layout.panelPadding)
}
}
}