Skip to content

Commit 8d4c2a2

Browse files
sentinelwebsentinelweb
authored andcommitted
#496 - text formattiong
1 parent 9550f7a commit 8d4c2a2

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

hub/src/main/kotlin/uk/co/sentinelweb/cuer/hub/ui/home/HomeComposeables.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ fun Home(coordinator: HomeUiCoordinator) {
107107
when (state.value.route) {
108108
Settings -> PreferencesUi(coordinator.preferencesUiCoordinator)
109109
is Folders -> coordinator.filesUiCoordinator.FileBrowserDesktopUi()
110-
ThemeTest -> SharedThemeView.View()
110+
ThemeTest -> SharedThemeTestView.TestView()
111111
LocalConfig -> LocalComposables.LocalDesktopUi(coordinator.localCoordinator)
112112
Transfers -> coordinator.transfersUiCoordinator.TransfersDesktopUi()
113113
}

shared/src/commonMain/kotlin/uk/co/sentinelweb/cuer/app/ui/common/compose/SharedTheme.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,17 @@ fun CuerSharedTheme(
119119
titleLarge = TextStyle(
120120
fontFamily = LexendDora,
121121
fontWeight = fontWeightTitle,
122-
fontSize = 28.sp
122+
fontSize = 20.sp
123123
),
124124
titleMedium = TextStyle(
125125
fontFamily = LexendDora,
126126
fontWeight = fontWeightTitle,
127-
fontSize = 24.sp
127+
fontSize = 18.sp
128128
),
129129
titleSmall = TextStyle(
130130
fontFamily = LexendDora,
131131
fontWeight = fontWeightTitle,
132-
fontSize = 20.sp
132+
fontSize = 16.sp
133133
),
134134
bodyLarge = TextStyle(
135135
fontFamily = Inter,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ import uk.co.sentinelweb.cuer.app.ui.common.compose.views.HeaderButtonSolid
1919
import uk.co.sentinelweb.cuer.shared.generated.resources.Res
2020
import uk.co.sentinelweb.cuer.shared.generated.resources.ic_login
2121

22-
object SharedThemeView {
22+
object SharedThemeTestView {
2323

2424
@Composable
25-
fun View() {
25+
fun TestView() {
2626
CuerSharedTheme {
2727
Column(modifier = Modifier
2828
.verticalScroll(rememberScrollState())

shared/src/commonMain/kotlin/uk/co/sentinelweb/cuer/app/ui/filebrowser/FilesComposeables.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ object FilesComposeables {
362362
listItem.episodeNumber?.apply {
363363
Tag(
364364
this,
365-
style = MaterialTheme.typography.bodyMedium,
365+
style = MaterialTheme.typography.bodySmall,
366366
color = MaterialTheme.colorScheme.surface.scaleDarkLight(2.1f, 0.8f)
367367
)
368368
}

shared/src/commonMain/kotlin/uk/co/sentinelweb/cuer/app/ui/remotes/RemotesComposables.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ object RemotesComposables {
320320
Text(
321321
text = remote.title,
322322
color = contentColor,
323-
style = MaterialTheme.typography.headlineSmall,
323+
style = MaterialTheme.typography.titleLarge,
324324
modifier = Modifier
325325
.padding(start = 8.dp),
326326
)
@@ -330,7 +330,7 @@ object RemotesComposables {
330330
contentDescription = "Playing Icon",
331331
colorFilter = ColorFilter.tint(contentColor),
332332
modifier = Modifier
333-
.padding(8.dp)
333+
.padding(2.dp)
334334
.size(24.dp)
335335
.align(Alignment.CenterVertically)
336336
)

0 commit comments

Comments
 (0)