Apply FluxaDisplay to mobile settings heading and label texts

Section labels, row titles, display names, watch-time counters, and section
headers now use FluxaDisplay instead of the default system sans-serif, aligning
settings visual hierarchy with the rest of the app.
This commit is contained in:
KhooLy 2026-07-03 12:34:50 +03:00
parent 0080c63a6b
commit 08d719ab9c
2 changed files with 10 additions and 1 deletions

View file

@ -226,6 +226,7 @@ internal fun MobileSettingsHub(
Text(
text = AppStrings.t(lang, "nav.settings"),
color = colors.text,
fontFamily = FluxaDisplay,
fontSize = 28.sp,
fontWeight = FontWeight.Bold
)
@ -245,6 +246,7 @@ internal fun MobileSettingsHub(
Text(
text = section.label,
color = colors.mutedText,
fontFamily = FluxaDisplay,
fontSize = 11.sp,
fontWeight = FontWeight.SemiBold,
letterSpacing = 0.6.sp,
@ -318,6 +320,7 @@ private fun MobileWatchedContentCounter(duration: Long, lang: String) {
Text(
text = AppStrings.t(lang, "settings.watch_time").uppercase(AppStrings.locale(lang)),
color = colors.text,
fontFamily = FluxaDisplay,
fontSize = 20.sp,
fontWeight = FontWeight.Bold,
modifier = Modifier.fillMaxWidth(),
@ -369,6 +372,7 @@ private fun WatchedCounterPart(
Text(
text = value.toString(),
color = colors.text,
fontFamily = FluxaDisplay,
fontSize = 20.sp,
fontWeight = FontWeight.Bold,
maxLines = 1
@ -480,7 +484,7 @@ internal fun MobileSettingsRow(
}
}
Column(modifier = Modifier.weight(1f)) {
Text(text = title, color = colors.text.copy(alpha = 0.94f), fontSize = 15.sp, fontWeight = FontWeight.SemiBold)
Text(text = title, color = colors.text.copy(alpha = 0.94f), fontFamily = FluxaDisplay, fontSize = 15.sp, fontWeight = FontWeight.SemiBold)
if (subtitle.isNotBlank()) {
Text(
text = subtitle,
@ -545,6 +549,7 @@ private fun MobileSettingsProfileHeader(
Text(
text = profile.displayName,
color = colors.text,
fontFamily = FluxaDisplay,
fontSize = 17.sp,
fontWeight = FontWeight.Bold
)

View file

@ -68,6 +68,7 @@ internal fun MobileSettingsSection(
Text(
text = title,
color = Color.White.copy(alpha = 0.64f),
fontFamily = FluxaDisplay,
fontSize = 14.sp,
fontWeight = FontWeight.Bold
)
@ -91,6 +92,7 @@ internal fun MobileSettingsGroup(
Text(
text = it,
color = colors.mutedText,
fontFamily = FluxaDisplay,
fontSize = 11.sp,
fontWeight = FontWeight.SemiBold,
modifier = Modifier.padding(start = 4.dp)
@ -294,6 +296,7 @@ internal fun MobileCollapsibleSettingsGroup(
Text(
text = title,
color = colors.mutedText,
fontFamily = FluxaDisplay,
fontSize = 11.sp,
fontWeight = FontWeight.SemiBold,
modifier = Modifier.weight(1f)
@ -301,6 +304,7 @@ internal fun MobileCollapsibleSettingsGroup(
Text(
text = count.toString(),
color = colors.mutedText.copy(alpha = 0.62f),
fontFamily = FluxaDisplay,
fontSize = 11.sp,
fontWeight = FontWeight.SemiBold
)