mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03:00
Merge pull request #5550 from vector-im/feature/adm/presence-theme-patch
Presence indicator theme attribute
This commit is contained in:
commit
579e6164d6
6 changed files with 8 additions and 2 deletions
1
changelog.d/5513.misc
Normal file
1
changelog.d/5513.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Added online presence indicator attribute online to match offline styling
|
|
@ -122,6 +122,10 @@
|
||||||
<color name="vctr_presence_indicator_offline_light">@color/palette_gray_100</color>
|
<color name="vctr_presence_indicator_offline_light">@color/palette_gray_100</color>
|
||||||
<color name="vctr_presence_indicator_offline_dark">@color/palette_gray_450</color>
|
<color name="vctr_presence_indicator_offline_dark">@color/palette_gray_450</color>
|
||||||
|
|
||||||
|
<attr name="vctr_presence_indicator_online" format="color" />
|
||||||
|
<color name="vctr_presence_indicator_online_light">@color/palette_element_green</color>
|
||||||
|
<color name="vctr_presence_indicator_online_dark">@color/palette_element_green</color>
|
||||||
|
|
||||||
<!-- Location sharing colors -->
|
<!-- Location sharing colors -->
|
||||||
<attr name="vctr_live_location" format="color" />
|
<attr name="vctr_live_location" format="color" />
|
||||||
<color name="vctr_live_location_light">@color/palette_prune</color>
|
<color name="vctr_live_location_light">@color/palette_prune</color>
|
||||||
|
|
|
@ -53,5 +53,4 @@
|
||||||
<color name="element_room_01">@color/palette_verde</color>
|
<color name="element_room_01">@color/palette_verde</color>
|
||||||
<color name="element_room_02">@color/palette_azure</color>
|
<color name="element_room_02">@color/palette_azure</color>
|
||||||
<color name="element_room_03">@color/palette_grape</color>
|
<color name="element_room_03">@color/palette_grape</color>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
|
@ -43,6 +43,7 @@
|
||||||
|
|
||||||
<!-- Presence Indicator colors -->
|
<!-- Presence Indicator colors -->
|
||||||
<item name="vctr_presence_indicator_offline">@color/vctr_presence_indicator_offline_dark</item>
|
<item name="vctr_presence_indicator_offline">@color/vctr_presence_indicator_offline_dark</item>
|
||||||
|
<item name="vctr_presence_indicator_online">@color/vctr_presence_indicator_online_dark</item>
|
||||||
|
|
||||||
<!-- Some aliases -->
|
<!-- Some aliases -->
|
||||||
<item name="vctr_header_background">?vctr_system</item>
|
<item name="vctr_header_background">?vctr_system</item>
|
||||||
|
|
|
@ -43,6 +43,7 @@
|
||||||
|
|
||||||
<!-- Presence Indicator colors -->
|
<!-- Presence Indicator colors -->
|
||||||
<item name="vctr_presence_indicator_offline">@color/vctr_presence_indicator_offline_light</item>
|
<item name="vctr_presence_indicator_offline">@color/vctr_presence_indicator_offline_light</item>
|
||||||
|
<item name="vctr_presence_indicator_online">@color/vctr_presence_indicator_online_light</item>
|
||||||
|
|
||||||
<!-- Some aliases -->
|
<!-- Some aliases -->
|
||||||
<item name="vctr_header_background">?vctr_system</item>
|
<item name="vctr_header_background">?vctr_system</item>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
<path
|
<path
|
||||||
android:pathData="M0 0V12H11.8857V0"
|
android:pathData="M0 0V12H11.8857V0"
|
||||||
android:fillColor="#0DBD8B"
|
android:fillColor="?vctr_presence_indicator_online"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</group>
|
</group>
|
||||||
|
|
Loading…
Reference in a new issue