From 831e02106b5ba4d9bcc8f442c90164e1f84d00b1 Mon Sep 17 00:00:00 2001 From: Hamza Israr <71447999+HamzaIsrar12@users.noreply.github.com> Date: Tue, 8 Oct 2024 21:36:56 +0500 Subject: [PATCH] chore: Elm theme improvement on Course Home (#58) Fixes: LEARNER-10079 --- core/src/edx/org/openedx/core/ui/theme/Colors.kt | 2 +- .../main/java/org/openedx/course/presentation/ui/CourseUI.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/edx/org/openedx/core/ui/theme/Colors.kt b/core/src/edx/org/openedx/core/ui/theme/Colors.kt index d2e420bd3..031b15b83 100644 --- a/core/src/edx/org/openedx/core/ui/theme/Colors.kt +++ b/core/src/edx/org/openedx/core/ui/theme/Colors.kt @@ -169,7 +169,7 @@ val dark_course_home_header_shade = Color(0xFF999999) val dark_course_home_back_btn_background = Color.Black val dark_settings_title_content = Color.White val dark_progress_bar_color = dark_primary_button_background -val dark_progress_bar_background_color = Color(0xFFE7E4DB) +val dark_progress_bar_background_color = Color(0xFF707070) val dark_primary_card_caution_background = Color(0xFF2D494E) val dark_primary_card_info_background = Color(0xFF0E3639) diff --git a/course/src/main/java/org/openedx/course/presentation/ui/CourseUI.kt b/course/src/main/java/org/openedx/course/presentation/ui/CourseUI.kt index b17c25b40..2f1ac5876 100644 --- a/course/src/main/java/org/openedx/course/presentation/ui/CourseUI.kt +++ b/course/src/main/java/org/openedx/course/presentation/ui/CourseUI.kt @@ -704,7 +704,7 @@ fun CourseExpandableChapterCard( if (downloadedState == DownloadedState.DOWNLOADED) { MaterialTheme.appColors.successGreen } else { - MaterialTheme.appColors.textAccent + MaterialTheme.appColors.textPrimary } IconButton(modifier = iconModifier, onClick = { onDownloadClick() }) {