diff options
Diffstat (limited to 'Map/Presentation/Theme/NSColor+theme.swift')
| -rw-r--r-- | Map/Presentation/Theme/NSColor+theme.swift | 14 |
1 files changed, 14 insertions, 0 deletions
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 + } +} |