diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-11 17:04:56 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-11 17:04:56 +0200 |
| commit | f78ac62ea6eb7c9fa6c6a5ecb474707531a9c669 (patch) | |
| tree | 9c0261f068d1734dcf894e396c3b2ddbf1910446 | |
| parent | ee5f1ff07ebf275becb47d5a9159130b2190c485 (diff) | |
Add secondary foreground + file icons
| -rw-r--r-- | Map/Assets.xcassets/Colors/Secondary Foreground.colorset/Contents.json (renamed from Map/Assets.xcassets/Colors/Secondary.colorset/Contents.json) | 0 | ||||
| -rw-r--r-- | Map/Info.plist | 17 | ||||
| -rw-r--r-- | Map/Presentation/Theme/Color+theme.swift | 2 | ||||
| -rw-r--r-- | Map/Presentation/Theme/WmapFile.icns | bin | 0 -> 312100 bytes |
4 files changed, 16 insertions, 3 deletions
diff --git a/Map/Assets.xcassets/Colors/Secondary.colorset/Contents.json b/Map/Assets.xcassets/Colors/Secondary Foreground.colorset/Contents.json index 02a3b46..02a3b46 100644 --- a/Map/Assets.xcassets/Colors/Secondary.colorset/Contents.json +++ b/Map/Assets.xcassets/Colors/Secondary Foreground.colorset/Contents.json diff --git a/Map/Info.plist b/Map/Info.plist index 3ce52cd..16ae982 100644 --- a/Map/Info.plist +++ b/Map/Info.plist @@ -7,6 +7,12 @@ <key>CFBundleDocumentTypes</key> <array> <dict> + <key>LSTypeIsPackage</key> + <false/> + <key>CFBundleTypeName</key> + <string>Wardley Map</string> + <key>CFBundleTypeIconFile</key> + <string>WmapFile</string> <key>CFBundleTypeRole</key> <string>Editor</string> <key>LSHandlerRank</key> @@ -33,9 +39,12 @@ <string>public.plain-text</string> </array> <key>UTTypeDescription</key> - <string>Wardley Map written in Map's wmap syntax</string> + <string>Wardley Map written in Map's wmap syntax</string> <key>UTTypeIcons</key> - <dict/> + <dict> + <key>UTTypeIconFile</key> + <string>WmapFile</string> + </dict> <key>UTTypeIdentifier</key> <string>systems.tranquil.map.wmap</string> <key>UTTypeTagSpecification</key> @@ -44,6 +53,10 @@ <array> <string>wmap</string> </array> + <key>public.mime-type</key> + <array> + <string>text/vnd.wmap</string> + </array> </dict> </dict> </array> diff --git a/Map/Presentation/Theme/Color+theme.swift b/Map/Presentation/Theme/Color+theme.swift index 7f6995d..e0addca 100644 --- a/Map/Presentation/Theme/Color+theme.swift +++ b/Map/Presentation/Theme/Color+theme.swift @@ -35,7 +35,7 @@ extension Color { struct UI { static let foreground = Color("Foreground") static let background = Color("Background") - static let secondary = Color("Secondary") + static let secondary = Color("Secondary Foreground") static let accent = Color.Theme.jasperRed } diff --git a/Map/Presentation/Theme/WmapFile.icns b/Map/Presentation/Theme/WmapFile.icns Binary files differnew file mode 100644 index 0000000..f866b9b --- /dev/null +++ b/Map/Presentation/Theme/WmapFile.icns |