mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 13:26:16 +00:00
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
25 lines
369 B
Swift
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())
|
|
}
|