Skip to content

Commit

Permalink
fix: leaderboard top user card color visibility in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Prince Raj authored and PratyushSingh07 committed Dec 17, 2023
1 parent 165aafd commit 4fa74ef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/layout/fragment_leaderboard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
app:cardElevation="16dp"
android:layout_marginTop="18dp"
android:layout_marginEnd="16sp"
android:backgroundTint="#9CFB9C"
android:outlineSpotShadowColor="#9CFB9C"
android:backgroundTint="@color/topUserCardColor"
android:outlineSpotShadowColor="@color/topUserCardColor"
android:layout_width="300dp"
android:layout_height="85dp"
android:layout_below="@+id/llLeaderboard"
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values-night/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@
<color name="textInputOutlineColor">#fff</color>

<color name="semiTransparentColor">#90FFFFFF</color>
<!-- Card color for top user in leaderboard -->
<color name="topUserCardColor">#77C877</color>
</resources>
2 changes: 2 additions & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@
<color name="textInputOutlineColor">#fff</color>

<color name="semiTransparentColor">#90FFFFFF</color>
<!-- Card color for top user in leaderboard -->
<color name="topUserCardColor">#9CFB9C</color>
</resources>

0 comments on commit 4fa74ef

Please sign in to comment.