|
|
|
@ -14,6 +14,7 @@ import androidx.compose.ui.Modifier
|
|
|
|
|
import androidx.compose.ui.text.font.FontFamily |
|
|
|
|
import androidx.compose.ui.unit.dp |
|
|
|
|
import components.resources.demo.shared.generated.resources.Res |
|
|
|
|
import components.resources.demo.shared.generated.resources.* |
|
|
|
|
import org.jetbrains.compose.resources.Font |
|
|
|
|
|
|
|
|
|
@Composable |
|
|
|
@ -31,7 +32,7 @@ fun FontRes(paddingValues: PaddingValues) {
|
|
|
|
|
text = """ |
|
|
|
|
Text( |
|
|
|
|
modifier = Modifier.padding(16.dp), |
|
|
|
|
fontFamily = FontFamily(Font(Res.font.workbench_regular)), |
|
|
|
|
fontFamily = FontFamily(Font(Res.font.Workbench_Regular)), |
|
|
|
|
style = MaterialTheme.typography.headlineLarge, |
|
|
|
|
text = "brown fox jumps over the lazy dog" |
|
|
|
|
) |
|
|
|
|