stub
This commit is contained in:
1 parent
c2ab69c3d0
commit
199ec2d7b9
38 files changed
+854
No files matched your search
@@ -137,6 +137,22 @@ Do not flip it on without addressing those.
|
||||
|
||||
## Conventions
|
||||
|
||||
- When generating or mirroring Swift/iOS code into Android, stay as close to
|
||||
the Swift original as possible: preserve naming, capitalization, visible text,
|
||||
layout, styling, behavior and structure. Use the closest platform equivalent
|
||||
where a direct translation is unavailable; avoid unrelated redesigns or
|
||||
Android-specific changes unless requested. In particular, use `OGS blue`
|
||||
(not `OGS Blue`) for the Android project name and app labels, matching iOS.
|
||||
|
||||
- Android Compose typography: prefer named `MaterialTheme.typography` styles
|
||||
over explicit numeric `fontSize` values. Use `headlineLarge` for Blue's title
|
||||
as the counterpart to SwiftUI's `.largeTitle`, on both overlaid text layers.
|
||||
|
||||
- Android Kotlin imports: use wildcard imports (`package.*`) when importing
|
||||
multiple declarations from the same package, including newly generated imports.
|
||||
Keep single imports and aliases explicit where needed to avoid name conflicts.
|
||||
Wildcards do not include subpackages; import those separately.
|
||||
|
||||
- `game/ver-mac/.build/`, `build/`, `.DS_Store`, Xcode/Gradle artifacts are
|
||||
git-ignored.
|
||||
- Prefer editing files in `components/` (the real files); the `src/` entries are
|
||||
|
||||
Reference in new issue
Block a user