Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/src/main/java/com/rr/numio/ui.SettingsScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@ fun SettingsScreen(
.padding(20.dp)
) {
Column(verticalArrangement = Arrangement.spacedBy(16.dp)) {
OfficialWordmark(dark = true, modifier = Modifier.height(28.dp))

HorizontalDivider(color = NumioTextMuted.copy(alpha = 0.2f))

// Version
Row(
modifier = Modifier.fillMaxWidth(),
Expand Down
23 changes: 23 additions & 0 deletions app/src/main/java/com/rr/numio/ui/OfficialWordmark.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package com.rr.numio.ui

import androidx.compose.foundation.Image
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.res.painterResource
import com.rr.numio.R

/**
* The official "Numio." wordmark, exactly as shipped in the brand files:
* cream letters for dark screens, dark letters for light screens.
* Never redraw or recolour it; swap these two PNGs if the brand ever changes.
*/
@Composable
fun OfficialWordmark(dark: Boolean, modifier: Modifier = Modifier) {
Image(
painter = painterResource(if (dark) R.drawable.numio_wordmark_on_dark else R.drawable.numio_wordmark_on_light),
contentDescription = "Numio",
contentScale = ContentScale.Fit,
modifier = modifier,
)
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading