RTL Spotless workflow fixed.

pull/1957/head
Mayokun Yusuf 3 days ago
parent 8af63fc67b
commit 132bb0cbd7

@ -22,8 +22,8 @@ import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.style.LineHeightStyle import androidx.compose.ui.text.style.LineHeightStyle
import androidx.compose.ui.text.style.LineHeightStyle.Alignment import androidx.compose.ui.text.style.LineHeightStyle.Alignment
import androidx.compose.ui.text.style.LineHeightStyle.Trim import androidx.compose.ui.text.style.LineHeightStyle.Trim
import androidx.compose.ui.text.style.TextDirection
import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.text.style.TextDirection
import androidx.compose.ui.unit.sp import androidx.compose.ui.unit.sp
/** /**
@ -36,7 +36,7 @@ internal val NiaTypography = Typography(
lineHeight = 64.sp, lineHeight = 64.sp,
letterSpacing = (-0.25).sp, letterSpacing = (-0.25).sp,
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
displayMedium = TextStyle( displayMedium = TextStyle(
fontWeight = FontWeight.Normal, fontWeight = FontWeight.Normal,
@ -44,7 +44,7 @@ internal val NiaTypography = Typography(
lineHeight = 52.sp, lineHeight = 52.sp,
letterSpacing = 0.sp, letterSpacing = 0.sp,
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
displaySmall = TextStyle( displaySmall = TextStyle(
fontWeight = FontWeight.Normal, fontWeight = FontWeight.Normal,
@ -52,7 +52,7 @@ internal val NiaTypography = Typography(
lineHeight = 44.sp, lineHeight = 44.sp,
letterSpacing = 0.sp, letterSpacing = 0.sp,
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
headlineLarge = TextStyle( headlineLarge = TextStyle(
fontWeight = FontWeight.Normal, fontWeight = FontWeight.Normal,
@ -60,7 +60,7 @@ internal val NiaTypography = Typography(
lineHeight = 40.sp, lineHeight = 40.sp,
letterSpacing = 0.sp, letterSpacing = 0.sp,
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
headlineMedium = TextStyle( headlineMedium = TextStyle(
fontWeight = FontWeight.Normal, fontWeight = FontWeight.Normal,
@ -68,7 +68,7 @@ internal val NiaTypography = Typography(
lineHeight = 36.sp, lineHeight = 36.sp,
letterSpacing = 0.sp, letterSpacing = 0.sp,
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
headlineSmall = TextStyle( headlineSmall = TextStyle(
fontWeight = FontWeight.Normal, fontWeight = FontWeight.Normal,
@ -80,7 +80,7 @@ internal val NiaTypography = Typography(
trim = Trim.None, trim = Trim.None,
), ),
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
titleLarge = TextStyle( titleLarge = TextStyle(
fontWeight = FontWeight.Bold, fontWeight = FontWeight.Bold,
@ -92,7 +92,7 @@ internal val NiaTypography = Typography(
trim = Trim.LastLineBottom, trim = Trim.LastLineBottom,
), ),
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
titleMedium = TextStyle( titleMedium = TextStyle(
fontWeight = FontWeight.Bold, fontWeight = FontWeight.Bold,
@ -100,7 +100,7 @@ internal val NiaTypography = Typography(
lineHeight = 24.sp, lineHeight = 24.sp,
letterSpacing = 0.1.sp, letterSpacing = 0.1.sp,
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
titleSmall = TextStyle( titleSmall = TextStyle(
fontWeight = FontWeight.Medium, fontWeight = FontWeight.Medium,
@ -108,7 +108,7 @@ internal val NiaTypography = Typography(
lineHeight = 20.sp, lineHeight = 20.sp,
letterSpacing = 0.1.sp, letterSpacing = 0.1.sp,
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
// Default text style // Default text style
bodyLarge = TextStyle( bodyLarge = TextStyle(
@ -121,7 +121,7 @@ internal val NiaTypography = Typography(
trim = Trim.None, trim = Trim.None,
), ),
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
bodyMedium = TextStyle( bodyMedium = TextStyle(
fontWeight = FontWeight.Normal, fontWeight = FontWeight.Normal,
@ -129,7 +129,7 @@ internal val NiaTypography = Typography(
lineHeight = 20.sp, lineHeight = 20.sp,
letterSpacing = 0.25.sp, letterSpacing = 0.25.sp,
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
bodySmall = TextStyle( bodySmall = TextStyle(
fontWeight = FontWeight.Normal, fontWeight = FontWeight.Normal,
@ -137,7 +137,7 @@ internal val NiaTypography = Typography(
lineHeight = 16.sp, lineHeight = 16.sp,
letterSpacing = 0.4.sp, letterSpacing = 0.4.sp,
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
// Used for Button // Used for Button
labelLarge = TextStyle( labelLarge = TextStyle(
@ -150,7 +150,7 @@ internal val NiaTypography = Typography(
trim = Trim.LastLineBottom, trim = Trim.LastLineBottom,
), ),
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
// Used for Navigation items // Used for Navigation items
labelMedium = TextStyle( labelMedium = TextStyle(
@ -163,7 +163,7 @@ internal val NiaTypography = Typography(
trim = Trim.LastLineBottom, trim = Trim.LastLineBottom,
), ),
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
// Used for Tag // Used for Tag
labelSmall = TextStyle( labelSmall = TextStyle(
@ -176,6 +176,6 @@ internal val NiaTypography = Typography(
trim = Trim.LastLineBottom, trim = Trim.LastLineBottom,
), ),
textDirection = TextDirection.Ltr, textDirection = TextDirection.Ltr,
textAlign = TextAlign.Left textAlign = TextAlign.Left,
), ),
) )

Loading…
Cancel
Save