Skip to content

Commit

Permalink
UI: Use white in chapters carousel instead of gray
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Jan 20, 2023
1 parent cff44c0 commit eb6c924
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,22 +175,21 @@ fun SectionsCarousel(

@Composable
fun LessonCircle(lessonNumber: Int, completed: Boolean, selected: Boolean, selectedChapter: MutableState<Int>) {
val completedColor = if (completed) Color(0xffffc847) else Color(0xcfb0b0b0)
val completedColor = if (completed) Color(0xffffc847) else Color(0xefffffff)

Text(
text = lessonNumber.toString(),
style = TextStyle(
color = completedColor,
fontSize = 28.sp,
fontWeight = FontWeight.SemiBold,
fontFamily = ShareTechMono
),
modifier = Modifier
.padding(24.dp)
.drawBehind {
drawCircle(
color = completedColor,
radius = if (selected) 96f else 82f,
radius = if (selected) 102f else 86f,
)
drawCircle(
color = Color(0xff000000),
Expand Down

0 comments on commit eb6c924

Please sign in to comment.