125 lines
3.7 KiB
Kotlin
125 lines
3.7 KiB
Kotlin
package com.vanced.manager.ui.theme
|
|
|
|
import androidx.compose.material3.Typography
|
|
import androidx.compose.ui.text.TextStyle
|
|
import androidx.compose.ui.text.font.Font
|
|
import androidx.compose.ui.text.font.FontFamily
|
|
import androidx.compose.ui.text.font.FontWeight
|
|
import androidx.compose.ui.unit.sp
|
|
import com.vanced.manager.R
|
|
|
|
private val light = Font(R.font.inter_light, FontWeight.Light)
|
|
private val regular = Font(R.font.inter_regular, FontWeight.Normal)
|
|
private val medium = Font(R.font.inter_medium, FontWeight.Medium)
|
|
private val semibold = Font(R.font.inter_semibold, FontWeight.SemiBold)
|
|
private val bold = Font(R.font.inter_bold, FontWeight.Bold)
|
|
|
|
private val InterFontFamily = FontFamily(light, regular, medium, semibold, bold)
|
|
|
|
val ManagerTypography = Typography(
|
|
displayLarge = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.Normal,
|
|
fontSize = 57.sp,
|
|
lineHeight = 64.sp,
|
|
letterSpacing = (-0.25).sp,
|
|
),
|
|
displayMedium = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.Normal,
|
|
fontSize = 45.sp,
|
|
lineHeight = 52.sp,
|
|
letterSpacing = 0.sp,
|
|
),
|
|
displaySmall = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.Normal,
|
|
fontSize = 36.sp,
|
|
lineHeight = 44.sp,
|
|
letterSpacing = 0.sp,
|
|
),
|
|
headlineLarge = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.Bold,
|
|
fontSize = 32.sp,
|
|
lineHeight = 40.sp,
|
|
letterSpacing = 0.sp,
|
|
),
|
|
headlineMedium = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.Bold,
|
|
fontSize = 28.sp,
|
|
lineHeight = 36.sp,
|
|
letterSpacing = 0.sp,
|
|
),
|
|
headlineSmall = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.SemiBold,
|
|
fontSize = 24.sp,
|
|
lineHeight = 32.sp,
|
|
letterSpacing = 0.sp,
|
|
),
|
|
titleLarge = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.SemiBold,
|
|
fontSize = 22.sp,
|
|
lineHeight = 28.sp,
|
|
letterSpacing = 0.sp,
|
|
),
|
|
titleMedium = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.SemiBold,
|
|
fontSize = 18.sp,
|
|
lineHeight = 24.sp,
|
|
letterSpacing = 0.1.sp,
|
|
),
|
|
titleSmall = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.SemiBold,
|
|
fontSize = 16.sp,
|
|
lineHeight = 20.sp,
|
|
letterSpacing = 0.1.sp,
|
|
),
|
|
bodyLarge = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.Normal,
|
|
fontSize = 16.sp,
|
|
lineHeight = 24.sp,
|
|
letterSpacing = 0.5.sp,
|
|
),
|
|
bodyMedium = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.Medium,
|
|
fontSize = 14.sp,
|
|
lineHeight = 20.sp,
|
|
letterSpacing = 0.25.sp,
|
|
),
|
|
bodySmall = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.Normal,
|
|
fontSize = 12.sp,
|
|
lineHeight = 14.sp,
|
|
letterSpacing = 0.sp,
|
|
),
|
|
labelLarge = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.SemiBold,
|
|
fontSize = 14.sp,
|
|
lineHeight = 20.sp,
|
|
letterSpacing = 0.1.sp,
|
|
),
|
|
labelMedium = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.Medium,
|
|
fontSize = 12.sp,
|
|
lineHeight = 16.sp,
|
|
letterSpacing = 0.5.sp,
|
|
),
|
|
labelSmall = TextStyle(
|
|
fontFamily = InterFontFamily,
|
|
fontWeight = FontWeight.Medium,
|
|
fontSize = 11.sp,
|
|
lineHeight = 16.sp,
|
|
letterSpacing = 0.5.sp,
|
|
),
|
|
) |