From e2c37ac1dd2ad562e3d619d39b72a174a2212b67 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 16 Sep 2024 11:10:32 +0200 Subject: Map 3 first commit: files, groups and layout --- Map/Presentation/Theme/NSColor+theme.swift | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Map/Presentation/Theme/NSColor+theme.swift (limited to 'Map/Presentation/Theme/NSColor+theme.swift') diff --git a/Map/Presentation/Theme/NSColor+theme.swift b/Map/Presentation/Theme/NSColor+theme.swift new file mode 100644 index 0000000..d30332a --- /dev/null +++ b/Map/Presentation/Theme/NSColor+theme.swift @@ -0,0 +1,14 @@ +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 + } +} -- cgit