Code + Identity-Rename zur Vorbereitung auf Apple-Dev-Portal-Aktion (Bundle ev.mana.wordeck, App-Group group.ev.mana.wordeck, AASA applinks:wordeck.com). Build bleibt funktional, aber gegen die neue text-only-API können image-occlusion-Creates 422 zurückgeben — das wird mit der Wordeck-Native v1.0-Welle (parallele Apple-Aktion) sauber gemacht. Umbenennung: - 41 Files: cardecky/Cardecky → wordeck/Wordeck (Display, Strings, Kommentare) - 57 Files: CardsNative → WordeckNative, CardsAPI → WordeckAPI, CardsTheme → WordeckTheme, CardsBrand → WordeckBrand, CardsWidget → WordeckWidget, CardsDueWidget → WordeckDueWidget - Bundle-ID ev.mana.cardecky → ev.mana.wordeck (project.yml, Info.plist, entitlements, Keychain-Service, App-Group) - AASA applinks:cardecky.mana.how → applinks:wordeck.com - API-Base cardecky-api.mana.how → api.wordeck.com - 10 Files renamed (App-Entry, API-Extensions, Theme, Widget, Entitlements, Tests) - xcodeproj regenerated via xcodegen → WordeckNative.xcodeproj - MaskRegionsTests.swift gelöscht (image-occlusion entfällt mit Wordeck text-only) Forgejo-Repo git.mana.how/till/cards-native → wordeck-native umbenannt (Auto-Redirect aktiv). Lokales Verzeichnis Code/cards-native/ bleibt vorerst — wird beim nächsten Apple-Setup mit Bundle-Test umbenannt. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
29 lines
1.3 KiB
Swift
29 lines
1.3 KiB
Swift
import ManaTokens
|
|
import SwiftUI
|
|
|
|
/// Cards-Theme — forwarded auf ``ManaTheme/forest`` aus
|
|
/// `mana-swift-core` v1.6.0.
|
|
///
|
|
/// Bis v1.5.x lebte hier ein 120-LOC-HSL-Apparat als lokaler Nachbau
|
|
/// der `forest.css`-Variant. Mit v1.6.0 liefert ManaTokens alle acht
|
|
/// Web-Theme-Variants nativ — `forest` ist eine davon.
|
|
///
|
|
/// `WordeckTheme` bleibt als dünner Alias bestehen, damit die ~290
|
|
/// Call-Sites in dieser App nicht in einem einzigen Sprint umziehen
|
|
/// müssen. Neue Call-Sites bevorzugen direkt `ManaTheme.forest.<token>`
|
|
/// (oder `@Environment(\.manaTheme)` falls die App irgendwann
|
|
/// Theme-Switching bekommt).
|
|
enum WordeckTheme {
|
|
static let background = ManaTheme.forest.background
|
|
static let foreground = ManaTheme.forest.foreground
|
|
static let surface = ManaTheme.forest.surface
|
|
static let surfaceHover = ManaTheme.forest.surfaceHover
|
|
static let muted = ManaTheme.forest.muted
|
|
static let mutedForeground = ManaTheme.forest.mutedForeground
|
|
static let border = ManaTheme.forest.border
|
|
static let primary = ManaTheme.forest.primary
|
|
static let primaryForeground = ManaTheme.forest.primaryForeground
|
|
static let error = ManaTheme.forest.error
|
|
static let success = ManaTheme.forest.success
|
|
static let warning = ManaTheme.forest.warning
|
|
}
|