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
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ implement the Product Details feature following the spec in Docs/Specs/Features/
- Access `ServiceProvider` directly from ViewModels
- Hardcode user-facing strings
- Bypass `FlowViewModel` for navigation
- Edit auto-generated files (`L10n+Generated.swift`, `BFFGraph/API/`, `BFFGraph/Mocks/`)
- Edit auto-generated files (`L10n+Generated.swift`, `BFFGraph/API/`, `BFFGraph/Mocks/`, `SharedUI/GeneratedTokens/`)
- Use `fatalError` (use `queuedFatalError` instead)
- Edit `Alfie.xcodeproj/project.pbxproj` directly
- Skip build verification
Expand Down
1 change: 1 addition & 0 deletions Alfie/.swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ included:
excluded:
- .build
- AlfieKit/Sources/SharedUI/Localization/L10n+Generated.swift
- AlfieKit/Sources/SharedUI/GeneratedTokens
- scripts
- DerivedData
- AlfieKit/.build
Expand Down
3 changes: 3 additions & 0 deletions Alfie/AlfieKit/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ let package = Package(
"Utils",
.product(name: "AlicerceLogging", package: "Alicerce"),
],
// Committed DTCG JSON (input to Tools/DesignTokenGen) is not compiled/bundled —
// only the generated Swift under GeneratedTokens/ is a normal source.
exclude: ["DesignTokens"],
resources: [
.copy("Theme/Typography/Resources/SF-Pro-Display-Medium.otf"),
.copy("Theme/Components/Loader/spin.gif"),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"missingTargets": [
"typography-font-weight-regular",
"typography-font-weight-medium"
],
"fix_strategy": "Define in .primitives.alfie-theme.tokens.json (regular: 400, medium: 500). Remove entries when fix lands."
}
12 changes: 12 additions & 0 deletions Alfie/AlfieKit/Sources/SharedUI/DesignTokens/.cycle-allowlist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"edges": [
{ "file": "screen-size.large-(l).tokens.json", "token": "typography-font-family-brand" },
{ "file": "screen-size.medium-(m).tokens.json", "token": "typography-font-family-brand" },
{ "file": "screen-size.small-(s).tokens.json", "token": "typography-font-family-brand" },
{ "file": "screen-size.wide-(xl).tokens.json", "token": "typography-font-family-brand" },
{ "file": "system.ios.tokens.json", "token": "typography-font-family-system-brand" },
{ "file": "system.android.tokens.json", "token": "typography-font-family-system-brand" },
{ "file": "system.web.tokens.json", "token": "typography-font-family-system-brand" }
],
"upstream_issue": "Figma plugin: Design Token Exporter — file when reproducible"
}
Loading