Files
ShhShell/ShhShell/Views/Themes/ThemesView.swift
neon443 56289f0f6d added themes to hostsmanager
added loadthemes
added savethemes
theme is now identifieable
theme has a computed property themecodable to make it easier to convert
extended swiftterm.color to have a colorCodabel property
adding themes amanger ui
2025-06-27 10:59:53 +01:00

25 lines
369 B
Swift

//
// ThemesView.swift
// ShhShell
//
// Created by neon443 on 27/06/2025.
//
import SwiftUI
struct ThemesView: View {
@ObservedObject var hostsManager: HostsManager
var body: some View {
ForEach(hostsManager.themes) { theme in
ZStack {
RoundedRectangle(cornerRadius: 10)
}
}
}
}
#Preview {
ThemesView(hostsManager: HostsManager())
}