mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Replacing vctr_unread_room_badge by vctr_content_secondary
This commit is contained in:
parent
95b3afd148
commit
d29fc9f2d3
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4,5 +4,5 @@
|
||||
|
||||
<corners android:radius="40dp" />
|
||||
|
||||
<solid android:color="?vctr_unread_room_badge" />
|
||||
</shape>
|
||||
<solid android:color="?vctr_content_secondary" />
|
||||
</shape>
|
||||
|
Loading…
Reference in New Issue
Block a user