2019-03-28 13:53:28 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
<!-- LIGHT THEME COLORS -->
|
|
|
|
|
2019-04-01 18:33:53 +03:00
|
|
|
<style name="AppTheme.Base.Light" parent="Theme.MaterialComponents.Light.NoActionBar.Bridge">
|
2019-03-28 13:53:28 +03:00
|
|
|
<item name="colorPrimaryDark">@color/primary_color_dark_light</item>
|
|
|
|
<item name="colorPrimary">@color/primary_color_light</item>
|
2019-05-13 20:23:02 +03:00
|
|
|
<item name="colorPrimaryVariant">@color/primary_color_dark_light</item>
|
|
|
|
<item name="colorSecondary">@color/accent_color_light</item>
|
|
|
|
<item name="colorOnSecondary">@android:color/white</item>
|
2019-03-28 13:53:28 +03:00
|
|
|
<item name="colorAccent">@color/accent_color_light</item>
|
|
|
|
|
2019-05-13 20:23:02 +03:00
|
|
|
<item name="android:textColorPrimary">@color/black_87</item>
|
|
|
|
<item name="android:textColorSecondary">@color/black_38</item>
|
|
|
|
<item name="android:textColorTertiary">@color/black_37</item>
|
2019-03-28 13:53:28 +03:00
|
|
|
|
|
|
|
<item name="android:textColorLink">@color/link_color_light</item>
|
|
|
|
|
|
|
|
<!-- Menu text color -->
|
|
|
|
<item name="android:actionMenuTextColor">#FFFFFFFF</item>
|
|
|
|
|
|
|
|
<!-- default background color -->
|
|
|
|
<item name="android:colorBackground">@color/riot_primary_background_color_light</item>
|
|
|
|
<item name="vctr_bottom_nav_background_color">#FFF3F8FD</item>
|
2019-05-23 17:44:51 +03:00
|
|
|
<item name="vctr_bottom_nav_background_border_color">#FFE9EDF1</item>
|
2019-03-28 13:53:28 +03:00
|
|
|
|
2019-05-13 20:23:02 +03:00
|
|
|
<!-- default button -->
|
|
|
|
<item name="android:buttonStyle">@style/Widget.Vector.Button</item>
|
|
|
|
|
2019-03-28 13:53:28 +03:00
|
|
|
<!-- waiting view background -->
|
|
|
|
<item name="vctr_waiting_background_color">#AAAAAAAA</item>
|
|
|
|
|
|
|
|
<!-- application bar text color -->
|
|
|
|
<!-- Base Text Primary-->
|
|
|
|
<item name="vctr_toolbar_primary_text_color">#FFFFFFFF</item>
|
|
|
|
<!-- Base Text Secondary-->
|
|
|
|
<item name="vctr_toolbar_secondary_text_color">#FFFFFFFF</item>
|
|
|
|
<item name="vctr_toolbar_link_text_color">@color/link_color_light</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_light</item>
|
|
|
|
<item name="vctr_tab_home_secondary">@color/primary_color_dark_light</item>
|
|
|
|
|
|
|
|
<!-- default text colors -->
|
|
|
|
<item name="vctr_default_text_hint_color">@color/default_text_hint_color_light</item>
|
|
|
|
|
|
|
|
<!-- room message colors -->
|
|
|
|
<!-- Notice (Secondary) -->
|
|
|
|
<item name="vctr_unread_room_indent_color">#FF2E3648</item>
|
|
|
|
<item name="vctr_notice_secondary">#61708B</item>
|
|
|
|
<item name="vctr_unsent_message_text_color">@color/vector_fuchsia_color</item>
|
|
|
|
<item name="vctr_message_text_color">@color/riot_primary_text_color_light</item>
|
|
|
|
<item name="vctr_notice_text_color">#FF61708b</item>
|
|
|
|
<item name="vctr_encrypting_message_text_color">@color/accent_color_light</item>
|
|
|
|
<item name="vctr_sending_message_text_color">?android:textColorSecondary</item>
|
|
|
|
<item name="vctr_highlighted_message_text_color">@color/vector_fuchsia_color</item>
|
|
|
|
<item name="vctr_highlighted_searched_message_text_color">@color/primary_color_light</item>
|
|
|
|
<item name="vctr_search_mode_room_name_text_color">#333C3C3C</item>
|
|
|
|
<item name="vctr_unread_marker_line_color">@color/accent_color_light</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_light
|
|
|
|
</item>
|
|
|
|
<item name="vctr_tab_bar_unselected_background_color">
|
|
|
|
@color/tab_bar_unselected_background_color_light
|
|
|
|
</item>
|
|
|
|
|
|
|
|
<!-- list colors -->
|
|
|
|
<!--Header/Panel Background-->
|
|
|
|
<item name="vctr_list_header_background_color">#FFF3F8FD</item>
|
|
|
|
<!--Header/Panel Text Primary-->
|
|
|
|
<item name="vctr_list_header_primary_text_color">#FF61708B</item>
|
|
|
|
<!--Header/Panel Text Secondary-->
|
|
|
|
<item name="vctr_list_header_secondary_text_color">#FFC8C8CD</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_light</item>
|
|
|
|
|
|
|
|
<!-- room notification text color (typing, unsent...) -->
|
|
|
|
<!--Notice (secondary)-->
|
|
|
|
<item name="vctr_room_notification_text_color">#FF61708b</item>
|
|
|
|
|
|
|
|
<!-- color for dividers in settings -->
|
|
|
|
<item name="vctr_preference_divider_color">@color/list_divider_color_light</item>
|
|
|
|
|
|
|
|
<!-- icon colors -->
|
|
|
|
<item name="vctr_settings_icon_tint_color">@android:color/black</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_light
|
|
|
|
</item>
|
|
|
|
<item name="vctr_tabbar_unselected_background">
|
|
|
|
@drawable/vector_tabbar_unselected_background_light
|
|
|
|
</item>
|
|
|
|
<item name="vctr_tabbar_background">@drawable/vector_tabbar_background_light</item>
|
|
|
|
|
|
|
|
<item name="vctr_pill_background_user_id">@drawable/pill_background_user_id_light</item>
|
2019-04-09 20:57:43 +03:00
|
|
|
<item name="vctr_pill_background_room_alias">@drawable/pill_background_room_alias_light
|
|
|
|
</item>
|
2019-03-28 13:53:28 +03:00
|
|
|
|
|
|
|
<item name="vctr_pill_text_color_user_id">@color/riot_primary_text_color_light</item>
|
|
|
|
<item name="vctr_pill_text_color_room_alias">@android:color/white</item>
|
|
|
|
|
|
|
|
<item name="vctr_direct_chat_circle">@drawable/direct_chat_circle_light</item>
|
|
|
|
|
|
|
|
<item name="vctr_widget_banner_background">#FFD3EFE1</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_light</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.Light</item>
|
|
|
|
<item name="actionBarTabStyle">@style/Vector.TabView.Light</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.Light</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="AppTheme.Light" parent="AppTheme.Base.Light" />
|
|
|
|
|
|
|
|
<style name="Theme.Vector.Lock.Light" parent="Theme.AppCompat.Light.Dialog">
|
|
|
|
<item name="colorPrimary">@color/primary_color_light</item>
|
|
|
|
<item name="colorAccent">@color/accent_color_light</item>
|
|
|
|
|
|
|
|
<item name="android:textColorPrimary">@color/riot_primary_text_color_light</item>
|
|
|
|
<item name="android:textColorSecondary">@color/riot_secondary_text_color_light</item>
|
|
|
|
<!-- Default color for text View -->
|
|
|
|
<item name="android:textColorTertiary">@color/riot_tertiary_text_color_light</item>
|
|
|
|
|
|
|
|
<item name="vctr_primary_hint_text_color">@color/primary_hint_text_color_light</item>
|
|
|
|
<item name="vctr_message_text_color">?android:attr/textColorPrimary</item>
|
|
|
|
|
|
|
|
<item name="android:background">@color/riot_primary_background_color_light</item>
|
|
|
|
<item name="android:textColor">@color/riot_tertiary_text_color_light</item>
|
|
|
|
<item name="editTextColor">?android:attr/textColorPrimary</item>
|
|
|
|
<item name="android:editTextColor">?android:attr/textColorPrimary</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Vector.TabView.Light" parent="Widget.AppCompat.ActionBar.TabView">
|
|
|
|
<item name="android:background">@drawable/vector_tabbar_background_light</item>
|
|
|
|
<item name="background">@drawable/vector_tabbar_background_light</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- home activity -->
|
|
|
|
<style name="HomeActivityTheme.Light" parent="AppTheme.Light">
|
|
|
|
<item name="editTextColor">@android:color/white</item>
|
|
|
|
<item name="android:editTextColor">@android:color/white</item>
|
|
|
|
<item name="android:textColorHint">?attr/vctr_activity_bottom_gradient_color</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- call activity -->
|
|
|
|
<style name="CallActivityTheme.Light" parent="AppTheme.Light">
|
|
|
|
<!-- status bar color -->
|
|
|
|
<item name="colorPrimaryDark">@android:color/black</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- NoActionBar + FullScreen -->
|
|
|
|
<style name="AppTheme.NoActionBar.FullScreen.Light" parent="AppTheme.Light">
|
|
|
|
<item name="android:windowFullscreen">true</item>
|
|
|
|
<!-- activities background -->
|
|
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- Picker activities -->
|
|
|
|
<style name="CountryPickerTheme.Light" parent="AppTheme.Light">
|
|
|
|
<item name="editTextColor">@android:color/white</item>
|
|
|
|
<item name="android:editTextColor">@android:color/white</item>
|
|
|
|
<item name="android:textColorHint">?attr/vctr_activity_bottom_gradient_color</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- searches activity -->
|
|
|
|
<style name="SearchesAppTheme.Light" parent="AppTheme.Light">
|
|
|
|
<!-- custom action bar -->
|
|
|
|
<item name="android:actionBarStyle">@style/VectorSearches.Styled.ActionBar</item>
|
|
|
|
<item name="actionBarStyle">@style/VectorSearches.Styled.ActionBar</item>
|
|
|
|
|
|
|
|
<!-- no divider -->
|
|
|
|
<item name="android:actionBarDivider">@null</item>
|
|
|
|
|
|
|
|
<!-- edit text -->
|
|
|
|
<item name="android:editTextStyle">@style/VectorSearches.EditText</item>
|
|
|
|
|
|
|
|
<!-- actionbar icons color -->
|
|
|
|
<item name="actionBarTheme">@style/VectorSearches.ActionBarTheme</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="CallAppTheme.Light" parent="AppTheme.Light">
|
|
|
|
<item name="android:colorBackground">?attr/colorBackgroundFloating</item>
|
|
|
|
<item name="android:colorBackgroundCacheHint">@null</item>
|
|
|
|
|
|
|
|
<item name="android:windowFrame">@null</item>
|
|
|
|
<item name="android:windowTitleStyle">@style/RtlOverlay.DialogWindowTitle.AppCompat</item>
|
|
|
|
<item name="android:windowTitleBackgroundStyle">
|
|
|
|
@style/Base.DialogWindowTitleBackground.AppCompat
|
|
|
|
</item>
|
|
|
|
<item name="android:windowBackground">@drawable/abc_dialog_material_background</item>
|
|
|
|
<item name="android:windowIsFloating">true</item>
|
|
|
|
<item name="android:backgroundDimEnabled">true</item>
|
|
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
|
|
<item name="android:windowAnimationStyle">@style/Animation.AppCompat.Dialog</item>
|
|
|
|
<item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
|
|
|
|
|
|
|
|
<item name="windowActionModeOverlay">true</item>
|
|
|
|
|
|
|
|
<item name="listPreferredItemPaddingLeft">24dip</item>
|
|
|
|
<item name="listPreferredItemPaddingRight">24dip</item>
|
|
|
|
|
|
|
|
<item name="android:listDivider">@null</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="GroupAppTheme.Light" parent="AppTheme.Light">
|
|
|
|
<item name="colorPrimaryDark">@color/tab_groups_secondary</item>
|
|
|
|
|
|
|
|
<item name="android:actionBarTabStyle">@style/Vector.TabView.Group</item>
|
|
|
|
<item name="actionBarTabStyle">@style/Vector.TabView.Group</item>
|
|
|
|
</style>
|
|
|
|
|
2019-04-09 20:57:43 +03:00
|
|
|
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat">
|
|
|
|
<item name="titleTextColor">?attr/actionMenuTextColor</item>
|
|
|
|
<item name="android:background">?attr/colorPrimary</item>
|
|
|
|
</style>
|
|
|
|
|
2019-03-28 13:53:28 +03:00
|
|
|
<style name="AppTheme.Dialog.Light" parent="Theme.AppCompat.Light.Dialog.Alert" />
|
|
|
|
|
|
|
|
</resources>
|