import SwiftUI extension Color { /// Premium business accent (refined slate/navy blue, or dynamic primary) static let celestiaCyan = Color.primary /// Dynamic main background (Pure white in Light Mode, obsidian black in Dark Mode) static let spaceBlack = Color(uiColor: .systemBackground) /// Refined secondary outline/accent (monochrome slate grey) static let nebulaPurple = Color.secondary /// High-contrast primary text static let starWhite = Color.primary /// Dynamic cards background (subtle light grey in Light Mode, deep dark grey in Dark Mode) static let cardBackground = Color(uiColor: .secondarySystemBackground) /// Monospace-style subtle metadata grey static let subtleGray = Color.secondary /// The standardized line border color for wireframes (thin contrast lines) static let lineBorder = Color.primary.opacity(0.12) /// Precise red indicator for recording static let recordingRed = Color(red: 229/255, green: 57/255, blue: 53/255) } /// A no-op glow that replaces NeonGlow to avoid compile errors while removing glows. struct NeonGlow: ViewModifier { var color: Color = .clear var radius: CGFloat = 0 func body(content: Content) -> some View { content } } extension View { func neonGlow(color: Color = .clear, radius: CGFloat = 0) -> some View { modifier(NeonGlow(color: color, radius: radius)) } /// Applies a thin, sharp outline suitable for minimalist business interfaces. func businessBorder(cornerRadius: CGFloat = 8) -> some View { self.overlay( RoundedRectangle(cornerRadius: cornerRadius) .stroke(Color.lineBorder, lineWidth: 1) ) } }