Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/5225.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replacing color "vctr_unread_room_badge" by "vctr_content_secondary"
5 changes: 0 additions & 5 deletions library/ui-styles/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@
<attr name="vctr_list_separator_on_surface" format="color" />

<!-- Other colors, which are not in the palette -->
<attr name="vctr_unread_room_badge" format="color" />
<color name="vctr_unread_room_badge_light">@color/palette_gray_200</color>
<color name="vctr_unread_room_badge_dark">@color/palette_gray_250</color>
<color name="vctr_unread_room_badge_black">@color/palette_gray_250</color>

<attr name="vctr_fab_label_bg" format="color" />
<color name="vctr_fab_label_bg_light">@android:color/white</color>
<color name="vctr_fab_label_bg_dark">#FF181B21</color>
Expand Down
1 change: 0 additions & 1 deletion library/ui-styles/src/main/res/values/theme_black.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<!-- Only setting the items we need to override to get the background to be pure black, otherwise inheriting -->

<!-- other colors -->
<item name="vctr_unread_room_badge">@color/vctr_unread_room_badge_black</item>
<item name="vctr_fab_label_bg">@color/vctr_fab_label_bg_black</item>
<item name="vctr_fab_label_stroke">@color/vctr_fab_label_stroke_black</item>
<item name="vctr_fab_label_color">@color/vctr_fab_label_color_black</item>
Expand Down
1 change: 0 additions & 1 deletion library/ui-styles/src/main/res/values/theme_dark.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<item name="vctr_system">@color/element_system_dark</item>

<!-- other colors -->
<item name="vctr_unread_room_badge">@color/vctr_unread_room_badge_dark</item>
<item name="vctr_fab_label_bg">@color/vctr_fab_label_bg_dark</item>
<item name="vctr_fab_label_stroke">@color/vctr_fab_label_stroke_dark</item>
<item name="vctr_fab_label_color">@color/vctr_fab_label_color_dark</item>
Expand Down
1 change: 0 additions & 1 deletion library/ui-styles/src/main/res/values/theme_light.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<item name="vctr_system">@color/element_system_light</item>

<!-- other colors -->
<item name="vctr_unread_room_badge">@color/vctr_unread_room_badge_light</item>
<item name="vctr_fab_label_bg">@color/vctr_fab_label_bg_light</item>
<item name="vctr_fab_label_stroke">@color/vctr_fab_label_stroke_light</item>
<item name="vctr_fab_label_color">@color/vctr_fab_label_color_light</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ class HomeDetailFragment @Inject constructor(
backgroundColor = if (highlight) {
ThemeUtils.getColor(requireContext(), R.attr.colorError)
} else {
ThemeUtils.getColor(requireContext(), R.attr.vctr_unread_room_badge)
ThemeUtils.getColor(requireContext(), R.attr.vctr_content_secondary)
}
}

Expand Down
4 changes: 2 additions & 2 deletions vector/src/main/res/drawable/bg_unread_notification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

<corners android:radius="40dp" />

<solid android:color="?vctr_unread_room_badge" />
</shape>
<solid android:color="?vctr_content_secondary" />
</shape>