ui-compose: import Manrope font

This commit is contained in:
Harsh Shandilya 2022-07-06 22:19:01 +05:30
parent 91f29f6a40
commit bea80163ce
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
10 changed files with 11 additions and 11 deletions

View file

@ -50,6 +50,7 @@ dependencies {
implementation(projects.openpgpKtx) implementation(projects.openpgpKtx)
implementation(projects.passgen.diceware) implementation(projects.passgen.diceware)
implementation(projects.passgen.random) implementation(projects.passgen.random)
implementation(projects.uiCompose)
implementation(libs.androidx.activity.ktx) implementation(libs.androidx.activity.ktx)
implementation(libs.androidx.appcompat) implementation(libs.androidx.appcompat)
implementation(libs.androidx.autofill) implementation(libs.androidx.autofill)

View file

@ -2,14 +2,14 @@ package dev.msfjarvis.aps.ui.compose.theme
import androidx.compose.material3.Typography import androidx.compose.material3.Typography
import androidx.compose.ui.text.TextStyle 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.FontFamily
import androidx.compose.ui.text.font.FontWeight import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.sp import androidx.compose.ui.unit.sp
import dev.msfjarvis.aps.ui.compose.R
/** Uncomment the contents below if and when the font files get moved to this module. */
internal val Manrope = internal val Manrope =
FontFamily( FontFamily(
/*
Font(R.font.manrope_bold, FontWeight.Bold), Font(R.font.manrope_bold, FontWeight.Bold),
Font(R.font.manrope_extrabold, FontWeight.ExtraBold), Font(R.font.manrope_extrabold, FontWeight.ExtraBold),
Font(R.font.manrope_extralight, FontWeight.ExtraLight), Font(R.font.manrope_extralight, FontWeight.ExtraLight),
@ -17,7 +17,6 @@ internal val Manrope =
Font(R.font.manrope_medium, FontWeight.Medium), Font(R.font.manrope_medium, FontWeight.Medium),
Font(R.font.manrope_regular, FontWeight.Normal), Font(R.font.manrope_regular, FontWeight.Normal),
Font(R.font.manrope_semibold, FontWeight.SemiBold), Font(R.font.manrope_semibold, FontWeight.SemiBold),
*/
) )
internal val AppTypography = internal val AppTypography =