diff --git a/app/src/main/java/dev/daubney/scrobbled/ui/theme/Type.kt b/app/src/main/java/dev/daubney/scrobbled/ui/theme/Type.kt index 8b7c7bc..9076191 100644 --- a/app/src/main/java/dev/daubney/scrobbled/ui/theme/Type.kt +++ b/app/src/main/java/dev/daubney/scrobbled/ui/theme/Type.kt @@ -9,13 +9,14 @@ import dev.daubney.scrobbled.R /** Bricolage Grotesque (SIL OFL, see design/OFL.txt): the brand typeface, used for headings and labels. */ private val Bricolage = FontFamily( - Font(R.font.bricolage_grotesque_600, FontWeight.SemiBold), - Font(R.font.bricolage_grotesque_800, FontWeight.ExtraBold), + Font(R.font.bricolage_grotesque_regular, FontWeight.Normal), + Font(R.font.bricolage_grotesque_bold, FontWeight.Bold), + Font(R.font.bricolage_grotesque_extrabold, FontWeight.ExtraBold), ) private val Base = Typography() -private fun TextStyle.brand() = copy(fontFamily = Bricolage, fontWeight = FontWeight.SemiBold) +private fun TextStyle.brand() = copy(fontFamily = Bricolage, fontWeight = FontWeight.Bold) /** Headings and titles use the brand face; body text stays on the system font for legibility. */ val AppTypography = Base.copy( diff --git a/app/src/main/java/dev/daubney/scrobbled/ui/theme/Wordmark.kt b/app/src/main/java/dev/daubney/scrobbled/ui/theme/Wordmark.kt index 4023cef..c19d0bb 100644 --- a/app/src/main/java/dev/daubney/scrobbled/ui/theme/Wordmark.kt +++ b/app/src/main/java/dev/daubney/scrobbled/ui/theme/Wordmark.kt @@ -15,6 +15,6 @@ import dev.daubney.scrobbled.R @Composable fun Wordmark(modifier: Modifier = Modifier, height: Dp = 32.dp) { val dark = MaterialTheme.colorScheme.background.luminance() < 0.5f - val res = if (dark) R.drawable.wordmark_on_dark else R.drawable.wordmark_on_light + val res = if (dark) R.drawable.scrobbled_wordmark_on_dark else R.drawable.scrobbled_wordmark_on_light Image(painterResource(res), contentDescription = "Scrobbled", modifier = modifier.height(height)) } diff --git a/app/src/main/res/drawable/scrobbled_wordmark_on_dark.xml b/app/src/main/res/drawable/scrobbled_wordmark_on_dark.xml new file mode 100644 index 0000000..a3b7feb --- /dev/null +++ b/app/src/main/res/drawable/scrobbled_wordmark_on_dark.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/scrobbled_wordmark_on_light.xml b/app/src/main/res/drawable/scrobbled_wordmark_on_light.xml new file mode 100644 index 0000000..3171f0d --- /dev/null +++ b/app/src/main/res/drawable/scrobbled_wordmark_on_light.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/wordmark_on_dark.xml b/app/src/main/res/drawable/wordmark_on_dark.xml deleted file mode 100644 index cede92a..0000000 --- a/app/src/main/res/drawable/wordmark_on_dark.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - diff --git a/app/src/main/res/drawable/wordmark_on_light.xml b/app/src/main/res/drawable/wordmark_on_light.xml deleted file mode 100644 index b68ad07..0000000 --- a/app/src/main/res/drawable/wordmark_on_light.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - diff --git a/app/src/main/res/font/bricolage_grotesque_600.ttf b/app/src/main/res/font/bricolage_grotesque_600.ttf deleted file mode 100644 index a3f2376..0000000 Binary files a/app/src/main/res/font/bricolage_grotesque_600.ttf and /dev/null differ diff --git a/app/src/main/res/font/bricolage_grotesque_800.ttf b/app/src/main/res/font/bricolage_grotesque_800.ttf deleted file mode 100644 index 24493b1..0000000 Binary files a/app/src/main/res/font/bricolage_grotesque_800.ttf and /dev/null differ diff --git a/app/src/main/res/font/bricolage_grotesque_bold.ttf b/app/src/main/res/font/bricolage_grotesque_bold.ttf new file mode 100644 index 0000000..7b15bc9 Binary files /dev/null and b/app/src/main/res/font/bricolage_grotesque_bold.ttf differ diff --git a/app/src/main/res/font/bricolage_grotesque_extrabold.ttf b/app/src/main/res/font/bricolage_grotesque_extrabold.ttf new file mode 100644 index 0000000..2947c8f Binary files /dev/null and b/app/src/main/res/font/bricolage_grotesque_extrabold.ttf differ diff --git a/app/src/main/res/font/bricolage_grotesque_regular.ttf b/app/src/main/res/font/bricolage_grotesque_regular.ttf new file mode 100644 index 0000000..650faab Binary files /dev/null and b/app/src/main/res/font/bricolage_grotesque_regular.ttf differ