mycode/myApp/TallyFlow/IOS/Theme/ThemeMode.swift
songyc macbook b209199c2d feat: Setup app shell, SwiftData models, and real-time tracking engine
- Initialize iOS project with 6-tab navigation structure
- Configure custom Light/Dark themes and AppColors
- Define SwiftData models for Tasks, Tags, Goals, and TrackingRecords
- Setup relationships (Super/Sub tags) and cascade delete rules
- Implement Observable TrackingEngine for real-time timer updates
2026-06-26 03:32:29 +09:00

18 lines
409 B
Swift

import Foundation
enum ThemeMode: String, CaseIterable, Identifiable {
case system
case light
case dark
var id: String { rawValue }
var localizedName: String {
switch self {
case .system: return String(localized: "theme.system")
case .light: return String(localized: "theme.light")
case .dark: return String(localized: "theme.dark")
}
}
}