aboutsummaryrefslogtreecommitdiff
path: root/Map/Presentation/Theme
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-07-09 01:55:50 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-07-09 01:55:50 +0200
commit6926feead1a7fadb7f5f974996bef8c30b3bfdbe (patch)
tree5a16e64f70bea3b9f33220cce5ca524e686dbedf /Map/Presentation/Theme
parentc21a68c807dcb84b4ce910ee0f73238a8019ffe9 (diff)
Use AST based text editor
Diffstat (limited to 'Map/Presentation/Theme')
-rw-r--r--Map/Presentation/Theme/NSColor+theme.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/Map/Presentation/Theme/NSColor+theme.swift b/Map/Presentation/Theme/NSColor+theme.swift
index 874764d..e10f51e 100644
--- a/Map/Presentation/Theme/NSColor+theme.swift
+++ b/Map/Presentation/Theme/NSColor+theme.swift
@@ -21,6 +21,8 @@ extension NSColor {
static let number = NSColor(named: "Number") ?? .textColor
static let option = NSColor(named: "Option") ?? .textColor
static let symbol = NSColor(named: "Symbol") ?? .textColor
+ static let text = NSColor(named: "Foreground") ?? .textColor
+ static let punctuation = NSColor(named: "Foreground") ?? .textColor
static let match = (NSColor(named: "Light Neutral Gray") ?? .textColor).withAlphaComponent(
0.3)
static let highlightMatch = (NSColor(named: "Naples Yellow") ?? .textColor)