Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Elm theme improvement on course home #86

Merged
merged 3 commits into from
Oct 14, 2024

Conversation

saeedbashir
Copy link

Description

Jira Ticket: LEARNER-10146

Update the progress bar background color, checkmark color, and download icon color as suggested by the design team.

Config PR: https://github.com/edx/edx-mobile-config/pull/181

Light Theme Dark Theme
light dark

@saeedbashir saeedbashir changed the title Saeed/learner 10146 chore: Elm theme improvement on course home Oct 9, 2024
@@ -76,6 +76,7 @@ public struct Theme {
public private(set) static var courseCardShadow = ThemeAssets.courseCardShadow.swiftUIColor
public private(set) static var courseCardBackground = ThemeAssets.courseCardBackground.swiftUIColor
public private(set) static var deleteAccountBG = ThemeAssets.deleteAccountBG.swiftUIColor
public private(set) static var courseProgressGB = ThemeAssets.courseProgressGB.swiftUIColor
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

misspelling 'GB' instead 'BG'?

@@ -126,8 +127,9 @@ struct CustomDisclosureGroup: View {
VStack(alignment: .leading) {
HStack {
if sequential.completion == 1 {
CoreAssets.finishedSequence.swiftUIImage
CoreAssets.finishedSequence.swiftUIImage.renderingMode(.template)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to prevent this warning while following the specified guidelines?
Line Length Violation: Line should be 120 characters or less; currently it has 125 characters

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, didn't get a way to break it into multiple lines.

@saeedbashir saeedbashir merged commit 04014f6 into 2U/develop Oct 14, 2024
3 checks passed
@saeedbashir saeedbashir deleted the saeed/LEARNER-10146 branch October 14, 2024 04:39
rnr pushed a commit that referenced this pull request Dec 17, 2024
rnr added a commit that referenced this pull request Dec 19, 2024
* chore: added alpha for color to whitelabel (#87)

Co-authored-by: Anton Yarmolenko <[email protected]>

* chore: Elm theme improvements on Learn Tab (#88)

* chore: Elm theme improvement on course home (#86)

* chore: fix line length warning

* chore: Elm theme improvement on Course Discussions (#90)

* fix: fix after merge

* chore: Elm theme improvements for modals and alerts (#91)

* chore: fix after merge

* chore: configureable resume button (#92)

---------

Co-authored-by: Anton Yarmolenko <[email protected]>
Co-authored-by: Saeed Bashir <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants