feat(app-expo): tiered large-text presets with English-friendly default

Replace the boolean large-text flag with three global typography tiers,
defaulting new installs to the smallest tier when English is in effect
while preserving legacy storage and Chinese defaults. Add a profile
sub-screen to pick the tier and unit tests for storage resolution.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Kevin
2026-05-18 16:47:29 +08:00
parent 8f6c2a6a34
commit 897f49f2ab
13 changed files with 663 additions and 344 deletions

View File

@@ -220,6 +220,26 @@
"lineHeightTight": 28,
"lineHeightLoose": 34,
"lineHeightXLoose": 40
},
"xxlarge": {
"headingLarge": 50,
"headingMedium": 37,
"headingSmall": 32,
"titleLarge": 32,
"titleMedium": 28,
"titleSmall": 24,
"bodyLarge": 32,
"bodyMedium": 30,
"bodySmall": 20,
"captionLarge": 20,
"captionMedium": 18,
"captionSmall": 17,
"sectionTitle": 18,
"badge": 14,
"lineHeightNormal": 34,
"lineHeightTight": 32,
"lineHeightLoose": 39,
"lineHeightXLoose": 46
}
}
}