import AppKit extension NSColor { struct syntax { static let vertex = NSColor(named: "Vertex") ?? .textColor static let number = NSColor(named: "Number") ?? .textColor static let option = NSColor(named: "Option") ?? .textColor static let symbol = NSColor(named: "Symbol") ?? .textColor } struct ui { static let background = NSColor(named: "Background") ?? .windowBackgroundColor } }