2019-03-28 10:53:28 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
<!-- STATUS.IM THEME COLORS -->
|
|
|
|
|
2019-06-06 14:33:22 +00:00
|
|
|
<!-- Inherit of Light theme to avoid crash TODO Adapt color (phase 2) -->
|
|
|
|
<style name="AppTheme.Base.Status" parent="AppTheme.Base.Light">
|
2019-03-28 10:53:28 +00:00
|
|
|
<item name="colorPrimaryDark">@color/primary_color_dark_status</item>
|
|
|
|
<item name="colorPrimary">@color/primary_color_status</item>
|
|
|
|
<item name="colorAccent">@color/accent_color_status</item>
|
|
|
|
|
|
|
|
<item name="android:textColorPrimary">@color/primary_text_color_selector_status</item>
|
|
|
|
<item name="android:textColorSecondary">@color/riot_secondary_text_color_status</item>
|
|
|
|
<!-- Default color for text View -->
|
|
|
|
<item name="android:textColorTertiary">@color/riot_tertiary_text_color_status</item>
|
|
|
|
|
|
|
|
<item name="android:textColorLink">@color/link_color_status</item>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Menu text color -->
|
|
|
|
<item name="android:actionMenuTextColor">#FFFFFFFF</item>
|
|
|
|
|
|
|
|
<!-- default background color -->
|
|
|
|
<item name="android:colorBackground">@color/riot_primary_background_color_status</item>
|
2019-04-01 15:33:53 +00:00
|
|
|
<item name="vctr_bottom_nav_background_color">@color/riot_primary_background_color_status
|
|
|
|
</item>
|
2019-05-23 14:44:51 +00:00
|
|
|
<item name="vctr_bottom_nav_background_border_color">#FFE9EDF1</item>
|
2019-03-28 10:53:28 +00:00
|
|
|
|
|
|
|
<!-- waiting view background -->
|
|
|
|
<item name="vctr_waiting_background_color">#AAAAAAAA</item>
|
|
|
|
|
|
|
|
<!-- application bar text color -->
|
|
|
|
<item name="vctr_toolbar_primary_text_color">#FFFFFFFF</item>
|
|
|
|
<item name="vctr_toolbar_secondary_text_color">#FFD8D8D8</item>
|
|
|
|
<item name="vctr_toolbar_link_text_color">#FFD8D8D8</item>
|
|
|
|
|
|
|
|
<!-- application bar text hint color -->
|
|
|
|
<item name="vctr_primary_hint_text_color">@color/primary_hint_text_color_light</item>
|
|
|
|
|
|
|
|
<item name="vctr_tab_home">@color/primary_color_status</item>
|
|
|
|
<item name="vctr_tab_home_secondary">@color/primary_color_dark_status</item>
|
|
|
|
|
|
|
|
<!-- default text colors -->
|
|
|
|
<item name="vctr_default_text_hint_color">@color/default_text_hint_color_light</item>
|
|
|
|
|
|
|
|
<!-- room message colors -->
|
|
|
|
<item name="vctr_unread_room_indent_color">?colorAccent</item>
|
|
|
|
<item name="vctr_notice_secondary">#61708B</item>
|
|
|
|
<item name="vctr_unsent_message_text_color">#FFFF4444</item>
|
|
|
|
<item name="vctr_message_text_color">#70879d</item>
|
|
|
|
<item name="vctr_notice_text_color">#adadbe</item>
|
|
|
|
<item name="vctr_encrypting_message_text_color">#AECDF9</item>
|
|
|
|
<item name="vctr_sending_message_text_color">#b3e8d2</item>
|
|
|
|
<item name="vctr_highlighted_message_text_color">@color/vector_fuchsia_color</item>
|
|
|
|
<item name="vctr_highlighted_searched_message_text_color">@color/primary_color_status</item>
|
|
|
|
<item name="vctr_search_mode_room_name_text_color">#333C3C3C</item>
|
|
|
|
<item name="vctr_unread_marker_line_color">#AECDF9</item>
|
|
|
|
<item name="vctr_markdown_block_background_color">#FFEEEEEE</item>
|
|
|
|
<item name="vctr_room_activity_divider_color">#FFF2F2F2</item>
|
|
|
|
|
|
|
|
<!-- tab bar colors -->
|
|
|
|
<item name="vctr_tab_bar_inverted_background_color">#FFF2F2F2</item>
|
|
|
|
<item name="vctr_tab_bar_selected_background_color">
|
|
|
|
@color/tab_bar_selected_background_color_status
|
|
|
|
</item>
|
|
|
|
<item name="vctr_tab_bar_unselected_background_color">
|
|
|
|
@color/tab_bar_unselected_background_color_status
|
|
|
|
</item>
|
|
|
|
|
|
|
|
<!-- list colors -->
|
|
|
|
<item name="vctr_list_header_background_color">#FFF6F6F6</item>
|
|
|
|
<item name="vctr_list_header_primary_text_color">#7F3C3C3C</item>
|
|
|
|
<item name="vctr_list_header_secondary_text_color">#4D3C3C3C</item>
|
|
|
|
|
|
|
|
<item name="vctr_list_divider_color">@color/list_divider_color_light</item>
|
|
|
|
|
|
|
|
<!-- gradient on the home bottom -->
|
|
|
|
<item name="vctr_activity_bottom_gradient_color">#80ffffff</item>
|
|
|
|
|
|
|
|
<!-- outgoing call background color -->
|
|
|
|
<item name="vctr_pending_outgoing_view_background_color">#33000000</item>
|
|
|
|
|
|
|
|
<!-- multi selection member background color -->
|
|
|
|
<item name="vctr_multi_selection_background_color">#FFF2F2F2</item>
|
|
|
|
|
|
|
|
<!-- sliding menu icon colors -->
|
|
|
|
<item name="vctr_home_navigation_icon_color">@color/riot_primary_text_color_status</item>
|
|
|
|
|
|
|
|
<!-- room notification text color (typing, unsent...) -->
|
|
|
|
<item name="vctr_room_notification_text_color">#a0a29f</item>
|
|
|
|
|
|
|
|
<!-- color for dividers in settings -->
|
|
|
|
<item name="vctr_preference_divider_color">#e1e1e1</item>
|
|
|
|
|
|
|
|
<!-- icon colors -->
|
|
|
|
<item name="vctr_settings_icon_tint_color">@color/accent_color_status</item>
|
|
|
|
<item name="vctr_icon_tint_on_light_action_bar_color">@android:color/white</item>
|
|
|
|
<item name="vctr_icon_tint_on_dark_action_bar_color">@android:color/white</item>
|
|
|
|
|
|
|
|
<!-- theses colours are requested a background cannot be set by an ?att on android < 5 -->
|
|
|
|
<!-- dedicated drawables are created for each theme -->
|
|
|
|
<item name="vctr_line_divider">@drawable/line_divider_light</item>
|
|
|
|
<item name="vctr_shadow_bottom">@drawable/shadow_bottom_light</item>
|
|
|
|
<item name="vctr_shadow_top">@drawable/shadow_top_light</item>
|
|
|
|
<item name="vctr_tabbar_selected_background">
|
|
|
|
@drawable/vector_tabbar_selected_background_status
|
|
|
|
</item>
|
|
|
|
<item name="vctr_tabbar_unselected_background">
|
|
|
|
@drawable/vector_tabbar_unselected_background_status
|
|
|
|
</item>
|
|
|
|
<item name="vctr_tabbar_background">@drawable/vector_tabbar_background_status</item>
|
|
|
|
|
|
|
|
<item name="vctr_pill_background_user_id">@drawable/pill_background_user_id_status</item>
|
2019-04-01 15:33:53 +00:00
|
|
|
<item name="vctr_pill_background_room_alias">@drawable/pill_background_room_alias_status
|
|
|
|
</item>
|
2019-03-28 10:53:28 +00:00
|
|
|
|
|
|
|
<item name="vctr_pill_text_color_user_id">@color/riot_primary_text_color_status</item>
|
|
|
|
<item name="vctr_pill_text_color_room_alias">@android:color/white</item>
|
|
|
|
|
|
|
|
<item name="vctr_direct_chat_circle">@drawable/direct_chat_circle_status</item>
|
|
|
|
|
|
|
|
<item name="vctr_widget_banner_background">#FFF7F7F7</item>
|
|
|
|
|
|
|
|
<!-- ANDROID SUPPORT ATTRIBUTES -->
|
|
|
|
<!-- disable the overscroll because setOverscrollHeader/Footer don't always work -->
|
|
|
|
<item name="android:overScrollMode">never</item>
|
|
|
|
|
|
|
|
<!-- activities background -->
|
|
|
|
<item name="android:windowBackground">@color/riot_primary_background_color_status</item>
|
|
|
|
|
|
|
|
<!-- fonts -->
|
|
|
|
<item name="android:typeface">sans</item>
|
|
|
|
|
|
|
|
<!-- custom action bar -->
|
|
|
|
<item name="android:actionBarStyle">@style/Vector.Styled.ActionBar</item>
|
|
|
|
<item name="actionBarStyle">@style/Vector.Styled.ActionBar</item>
|
|
|
|
|
|
|
|
<!-- actionbar icons color -->
|
|
|
|
<item name="actionBarTheme">@style/Vector.ActionBarTheme</item>
|
|
|
|
|
|
|
|
<!-- remove the shadow under the actionbar -->
|
|
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
|
|
|
|
|
|
<item name="android:popupMenuStyle">@style/Vector.PopupMenu</item>
|
|
|
|
|
|
|
|
<!-- no divider -->
|
|
|
|
<item name="android:actionBarDivider">@null</item>
|
|
|
|
|
|
|
|
<!-- tabbar background -->
|
|
|
|
<item name="android:actionBarTabStyle">@style/Vector.TabView.Status</item>
|
|
|
|
<item name="actionBarTabStyle">@style/Vector.TabView.Status</item>
|
|
|
|
|
|
|
|
<!-- tabbar text color -->
|
|
|
|
<item name="android:actionBarTabTextStyle">@style/Vector.TabText</item>
|
|
|
|
<item name="actionBarTabTextStyle">@style/Vector.TabText</item>
|
|
|
|
|
|
|
|
<!-- Preference -->
|
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
|
|
|
|
|
|
|
|
<item name="bottomSheetDialogTheme">@style/Vector.BottomSheet.Status</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="AppTheme.Status" parent="AppTheme.Base.Status" />
|
|
|
|
|
|
|
|
<style name="Vector.TabView.Status" parent="Widget.AppCompat.ActionBar.TabView">
|
|
|
|
<item name="android:background">@drawable/vector_tabbar_background_status</item>
|
|
|
|
<item name="background">@drawable/vector_tabbar_background_status</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
</resources>
|