Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

package be.scri.ui.screens.tutorial

import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
Expand All @@ -29,7 +29,6 @@ import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.dp
Expand All @@ -53,7 +52,6 @@ fun TutorialHomeScreen(
onStartFullTutorial: () -> Unit,
modifier: Modifier = Modifier,
) {
val isDarkTheme = isSystemInDarkTheme()
val backgroundColor = MaterialTheme.colorScheme.background
val cardBackground = MaterialTheme.colorScheme.surface
val textColor = MaterialTheme.colorScheme.onSurface
Expand Down Expand Up @@ -177,9 +175,10 @@ fun TutorialHomeScreen(
onClick = onStartFullTutorial,
colors =
ButtonDefaults.buttonColors(
containerColor = MaterialTheme.colorScheme.primary,
contentColor = if (isDarkTheme) Color.White else Color.Black,
containerColor = MaterialTheme.colorScheme.surfaceContainer,
contentColor = MaterialTheme.colorScheme.onPrimary,
),
border = BorderStroke(1.dp, MaterialTheme.colorScheme.outline),
shape = RoundedCornerShape(12.dp),
modifier =
Modifier
Expand Down
Loading