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
Change Theme & Color throughout the App #1486
Conversation
I'll create new screenshots(for screenshots test cases) once the design approved by the design team. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
"Create my account" btn semi-bold
-
"Sign In" bold
-
POS text color change
-
Profile View "Account Settings" button border color
-
Edit Profile screen -> profile image border is bit thicker in iOS
-
Language & Country text visiblity is very low, we can use neutralXDark instead of neutralDark
-
About Me submit button text could be semi-bold
-
Home Screen -> ViewPager Tabs text color on selection/unSelection
-
Settings -> Allow Cellular popup description text-color
-
Resources Page of CourseDashboard -> Icons color is bit lighter
-
CourseDashboard screen -> unit block title is semi-bold in iOS
-
Video Subtitles unselected text is semi-bold/regular in iOS
-
Next/Previous btns on CourseUnit get semi-bold in enable state
-
Video Player setting btn open popup-> text color is difficult to read -> selecting anyoption opens the popup and it's text is also difficult to read
-
DiscussionScreen -> All button text should be semi-bold to parity with iOS (IMO text size should be increased)
-
-> Read posts left drawable color should be bit light
-
-> Some Readed posts text still seems to semi-bold sometimes
-
-> PostScreen -> "votes", "follow", "Report" text color should be Info500(blue) (https://miro.com/app/board/9J_leHZFA0=/?moveToWidget=3074457351875175007&cot=14)
-
-> Date of Post(Date below Post Author) should be bit light (Same on Add comment Screen)
-
-> "This is visible to everyone" text color should be bit lighter
-
-> Create post missing icons of types (Discussion,Question)
-
-> "Create a new Post" disable state missing
-
Snackbar -> Use "Warning100" for background Ref Miraboard
OpenEdXMobile/res/values/styles.xml
Outdated
<item name="android:scaleType">centerCrop</item> | ||
<item name="android:background">@drawable/white_circle</item> | ||
</style> | ||
|
||
<style name="agreement_text_style"> | ||
<item name="android:color">@color/edx_brand_gray_base</item> | ||
<item name="android:color">@color/neutralBlack</item> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
color isn't reflecting on text we should change it to <item name="android:textColor">@color/neutralBlack</item>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
OpenEdXMobile/res/values/styles.xml
Outdated
@@ -433,6 +438,10 @@ | |||
<item name="android:background">@drawable/edx_brand_single_state_button</item> | |||
</style> | |||
|
|||
<style name="edX.Widget.CreationRoundButtonLayout" parent="edX.Widget.CreationButtonLayout"> | |||
<item name="android:background">@drawable/edx_brand_single_state_round_button</item> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should update the <style name="edX.Widget.CreationButton">
to <style name="edX.Widget.CreationButton" parent="semibold_white_text">
or we can add <item name="android:fontFamily">?attr/fontSemiBold</item>
to make the button text semi-bold
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
@omerhabib26 Ready for another pass. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything seems fine only a few changes are required
- "Allow Cellular Download" action btns text colors is bit lighter
- "Looking for a new Challange?" text color is lighter on iOS -> discuss within team what should be the color of this string
- Certificate earned view -> text size is bit smaller
- "Add a comment" background is bit dark as compared to iOS
- "Add comment" button disabled color is not reflecting as compared to iOS -> same scenerio with all buttons on the discussion page
- In disable state button color should be lighter or have some alpha value
- loader color in video player isn't visible
Codecov Report
@@ Coverage Diff @@
## master #1486 +/- ##
===========================================
- Coverage 13.34% 6.14% -7.20%
+ Complexity 933 466 -467
===========================================
Files 532 532
Lines 22337 22348 +11
Branches 2634 2631 -3
===========================================
- Hits 2981 1374 -1607
- Misses 19008 20788 +1780
+ Partials 348 186 -162
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only minor changes are required, else good to go
@@ -8,6 +8,8 @@ | |||
import android.view.View; | |||
import android.view.ViewGroup; | |||
|
|||
import com.bumptech.glide.Glide; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused Import
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.
@@ -12,6 +12,9 @@ | |||
import android.widget.Filter; | |||
import android.widget.Filterable; | |||
|
|||
import com.bumptech.glide.Glide; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused imports
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.
@@ -17,6 +10,14 @@ | |||
import android.widget.RadioButton; | |||
import android.widget.RadioGroup; | |||
|
|||
import androidx.annotation.IdRes; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AutoAlignment, but we can skip this as code refectoring
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already align.
1ae460f
to
978585c
Compare
- LEARNER-8024 - Update color scheme throughout the app according to the new color paragon - Replace worldmap image on sign-in - Generate new Screenshots for screenshot test cases
978585c
to
3afc0d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash the commits before merge
Description
LEARNER-8024