Skip to content

Commit

Permalink
Night mode color contrast fix (#5307)
Browse files Browse the repository at this point in the history
* Fixes dark mode color contrast fix

* fixes text color contrast on app-level dark mode settings
  • Loading branch information
srishti-R authored Sep 25, 2023
1 parent 2fc8527 commit 70f8256
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,6 @@
<color name="card_light_grey">#EDEDED</color>

<color name="wikimedia_green">#339966</color>
<color name="primary_color_night">#1e8cab</color>

</resources>
10 changes: 5 additions & 5 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<item name="achievementBackground">@color/achievement_background_dark</item>
<item name="drawerHeaderBackground">@color/drawerHeader_background_dark</item>
<item name="tutorialBackground">@color/tutorial_background_dark</item>
<item name="icon">@color/primaryTextColor</item>
<item name="colorPrimary">@color/primaryColor</item>
<item name="colorPrimaryDark">@color/primaryDarkColor</item>
<item name="colorAccent">@color/primaryColor</item>
<item name="colorButtonNormal">@color/primaryColor</item>
<item name="icon">@color/primary_color_night</item>
<item name="colorPrimary">@color/primary_color_night</item>
<item name="colorPrimaryDark">@color/primary_color_night</item>
<item name="colorAccent">@color/primary_color_night</item>
<item name="colorButtonNormal">@color/primary_color_night</item>
<item name="bookmarkButtonColor">@color/button_blue_dark</item>
<item name="rowButtonColor">@color/button_blue_dark</item>
<item name="reviewHeading">@color/white</item>
Expand Down

0 comments on commit 70f8256

Please sign in to comment.