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,18 @@
@file:JvmName("DesktopTheme")
package dev.msfjarvis.claw.common.theme
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.platform.Font
actual val manropeFontFamily =
FontFamily(
Font("font/manrope_bold.ttf", FontWeight.Bold),
Font("font/manrope_extrabold.ttf", FontWeight.ExtraBold),
Font("font/manrope_extralight.ttf", FontWeight.ExtraLight),
Font("font/manrope_light.ttf", FontWeight.Light),
Font("font/manrope_medium.ttf", FontWeight.Medium),
Font("font/manrope_regular.ttf", FontWeight.Normal),
Font("font/manrope_semibold.ttf", FontWeight.SemiBold),
)