common: add Manrope as a custom font

This commit is contained in:
Harsh Shandilya 2021-08-12 15:08:01 +05:30
parent 76973ccec2
commit 7991e769cb
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,19 @@
@file:JvmName("AndroidTheme")
package dev.msfjarvis.claw.common.theme
import androidx.compose.ui.text.font.Font
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
import dev.msfjarvis.claw.common.R
actual val manropeFontFamily =
FontFamily(
Font(R.font.manrope_bold, FontWeight.Bold),
Font(R.font.manrope_extrabold, FontWeight.ExtraBold),
Font(R.font.manrope_extralight, FontWeight.ExtraLight),
Font(R.font.manrope_light, FontWeight.Light),
Font(R.font.manrope_medium, FontWeight.Medium),
Font(R.font.manrope_regular, FontWeight.Normal),
Font(R.font.manrope_semibold, FontWeight.SemiBold),
)