mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
WholphinTheme takes a new textSizeLevel parameter (defaults to DEFAULT). AppTypography stays the TV Material3 default; scaledBy(level) returns a TvTypography with each role's fontSize and lineHeight multiplied by the level's textPercent (identity at DEFAULT). toMaterialTypography() copies each role's TextStyle into a compose.material3.Typography so the inner compose.material3.MaterialTheme inside WholphinTheme is fed from the same source. Both wraps now scale uniformly, and any compose.material3 component reading MaterialTheme.typography.X now matches the TV M3 size for X. MainActivity and WholphinDreamService pass the level from prefs. Preview call sites in cards/playback fall through to DEFAULT and render identically to before. |
||
|---|---|---|
| .. | ||
| config | ||
| schemas/com.github.damontecres.wholphin.data.AppDatabase | ||
| src | ||
| .gitignore | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||