diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2024-09-16 11:10:32 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2024-09-16 11:10:32 +0200 |
| commit | e2c37ac1dd2ad562e3d619d39b72a174a2212b67 (patch) | |
| tree | d4da2c0a12db0473eb4030014a92045eebe38834 /Map/Presentation/Theme/NSColor+theme.swift | |
| parent | fdb4633d3e9158e457d57e820df6e1efb4df39c2 (diff) | |
Map 3 first commit: files, groups and layout
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 + } +} |