Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions App/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"images": [
{
"size": "16x16",
"idiom": "mac",
"filename": "icon_16x16.png",
"scale": "1x"
},
{
"size": "16x16",
"idiom": "mac",
"filename": "icon_16x16-2x.png",
"scale": "2x"
},
{
"size": "32x32",
"idiom": "mac",
"filename": "icon_32x32.png",
"scale": "1x"
},
{
"size": "32x32",
"idiom": "mac",
"filename": "icon_32x32-2x.png",
"scale": "2x"
},
{
"size": "128x128",
"idiom": "mac",
"filename": "icon_128x128.png",
"scale": "1x"
},
{
"size": "128x128",
"idiom": "mac",
"filename": "icon_128x128-2x.png",
"scale": "2x"
},
{
"size": "256x256",
"idiom": "mac",
"filename": "icon_256x256.png",
"scale": "1x"
},
{
"size": "256x256",
"idiom": "mac",
"filename": "icon_256x256-2x.png",
"scale": "2x"
},
{
"size": "512x512",
"idiom": "mac",
"filename": "icon_512x512.png",
"scale": "1x"
},
{
"size": "512x512",
"idiom": "mac",
"filename": "icon_512x512-2x.png",
"scale": "2x"
}
],
"info": {
"version": 1,
"author": "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions App/Resources/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
18 changes: 18 additions & 0 deletions App/Resources/Assets.xcassets/GuerkchenIcon.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "guerkchen-128.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "guerkchen-256@2x.png",
"scale" : "2x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 11 additions & 2 deletions App/UI/Editor/EditorView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,17 @@ struct EditorView: View {
}
}
} else {
ContentUnavailableView("Keine Datei ausgewählt", systemImage: "doc.text",
description: Text("Wähle links eine .feature-Datei."))
ContentUnavailableView {
VStack(spacing: 12) {
Image("GuerkchenIcon")
.resizable()
.frame(width: 96, height: 96)
.accessibilityHidden(true)
Text("Keine Datei ausgewählt")
}
} description: {
Text("Wähle links eine .feature-Datei.")
}
}
}
}
6 changes: 4 additions & 2 deletions Config/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<string>guerkchen</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIconName</key>
<string>AppIcon</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand All @@ -17,9 +19,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
Expand Down
15 changes: 15 additions & 0 deletions Design/AppIcon/AppIcon-iOS.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"images": [
{
"size": "1024x1024",
"idiom": "universal",
"filename": "icon_1024.png",
"scale": "1x",
"platform": "ios"
}
],
"info": {
"version": 1,
"author": "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions Design/AppIcon/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Guerkchen App-Icon

Quelle: `Guerkchen App Icon.dc.html` (Vektor). Alle PNGs daraus gerendert.
Ab 32 px wird eine vereinfachte Variante verwendet (kein Stiel, keine Strukturlinien, größeres Gesicht).

## Im Projekt eingebaut

Das macOS-Set liegt als `App/Resources/Assets.xcassets/AppIcon.appiconset` im Asset-Katalog
des Targets. Verdrahtet über `project.yml`:

- `settings.base.ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon`
- `info.properties.CFBundleIconName: AppIcon`

Fürs UI liegt daneben `GuerkchenIcon.imageset` (128 px @1x, 256 px @2x) — gedacht für
Darstellung bis 128 pt. Verwendet im leeren Editor-Zustand (`App/UI/Editor/EditorView.swift`):

Image("GuerkchenIcon")
.resizable()
.frame(width: 96, height: 96)

Größere Darstellung braucht größere Slots — dann `png/guerkchen-512.png` als @2x nachlegen.

Nach Änderungen am Icon `xcodegen generate` laufen lassen — der Asset-Katalog wird über
`sources: App` automatisch mitgenommen.

## Quelldateien in diesem Ordner

- `guerkchen-icon.svg` — abgerundetes Icon mit Gelb-Verlauf (Web, Docs, Dock)
- `guerkchen-icon-square.svg` — randabfallend, für Systeme die selbst maskieren (iOS, Android)
- `guerkchen-icon-small*.svg` — vereinfachte Kleinvariante
- `png/guerkchen-<größe>.png` — 1024 · 512 · 256 · 128 · 64 · 32 · 16
- `AppIcon-iOS.appiconset/` — iOS/iPadOS Single-Size 1024 (aktuell kein iOS-Target)
- `android/ic_launcher-*.png` — 432 (adaptive foreground) · 192 · 144 · 96 · 72 · 48
- `web/favicon-16.png`, `web/favicon-32.png`, `web/apple-touch-icon.png`

## Weitere Verwendung

Fenster-Icon zur Laufzeit setzen (AppKit):

NSApplication.shared.applicationIconImage = NSImage(named: "AppIcon")

Web / README:

<link rel="icon" type="image/png" sizes="32x32" href="web/favicon-32.png">
<link rel="icon" type="image/png" sizes="16x16" href="web/favicon-16.png">
<link rel="apple-touch-icon" href="web/apple-touch-icon.png">

<img src="Design/AppIcon/png/guerkchen-256.png" width="128" alt="Guerkchen">

## Farben

- Verlauf Hintergrund: #FFE36B → #FFC61A → #E89A00
- Gurke: #7FC23F, Struktur #5D9C2C, Warzen #4F8A24
- Kontur: #1C2E10 · Mund #8E1026 / Zunge #E4436A · Augen #10213A
Binary file added Design/AppIcon/android/ic_launcher-144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Design/AppIcon/android/ic_launcher-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Design/AppIcon/android/ic_launcher-432.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Design/AppIcon/android/ic_launcher-48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Design/AppIcon/android/ic_launcher-72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Design/AppIcon/android/ic_launcher-96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions Design/AppIcon/guerkchen-icon-small-square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading