mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-04 07:17:41 +03:00
8c7956d935
Signed-off-by: Tilo Spannagel <development@tilosp.de>
118 lines
5.7 KiB
XML
118 lines
5.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
|
|
<!-- STATUS.IM THEME COLORS -->
|
|
|
|
<!-- Inherit of Light theme to avoid crash TODO Adapt color (phase 2) -->
|
|
<style name="AppTheme.Base.Status" parent="AppTheme.Base.Light">
|
|
<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</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">?colorAccent</item>
|
|
|
|
<!-- default background color -->
|
|
<item name="android:colorBackground">@color/riot_primary_background_color_status</item>
|
|
<item name="riotx_bottom_nav_background_color">@color/riotx_bottom_nav_background_color_status
|
|
</item>
|
|
<item name="riotx_bottom_nav_background_border_color">@color/riotx_bottom_nav_background_border_color_status</item>
|
|
|
|
<!-- waiting view background -->
|
|
<item name="riotx_waiting_background_color">@color/riotx_waiting_background_color_status</item>
|
|
|
|
<!-- application bar text color -->
|
|
<item name="vctr_toolbar_primary_text_color">@color/primary_color_status</item>
|
|
<item name="vctr_toolbar_secondary_text_color">@color/primary_color_dark_status</item>
|
|
<item name="vctr_toolbar_link_text_color">@color/primary_color_dark_status</item>
|
|
|
|
<!-- room message colors -->
|
|
<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_markdown_block_background_color">#FFEEEEEE</item>
|
|
|
|
<item name="riot_primary_text_color">@color/riot_primary_text_color_status</item>
|
|
<item name="riot_primary_text_color_disabled">@color/riot_primary_text_color_disabled_status</item>
|
|
|
|
<!-- tab bar colors -->
|
|
<item name="vctr_tab_bar_inverted_background_color">#FFF2F2F2</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>
|
|
|
|
<!-- outgoing call background color -->
|
|
<item name="vctr_pending_outgoing_view_background_color">#33000000</item>
|
|
|
|
<!-- room notification text color (typing, unsent...) -->
|
|
<item name="vctr_room_notification_text_color">#a0a29f</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">@color/riotx_accent</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 text color -->
|
|
<item name="android:actionBarTabTextStyle">@style/Vector.TabText</item>
|
|
<item name="actionBarTabTextStyle">@style/Vector.TabText</item>
|
|
|
|
<item name="tab_bar_selected_background_color">@color/tab_bar_selected_background_color_status</item>
|
|
<item name="tab_bar_unselected_background_color">@color/tab_bar_unselected_background_color_status</item>
|
|
|
|
<!-- Preference -->
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
|
|
|
|
<item name="bottomSheetDialogTheme">@style/Vector.BottomSheet.Status</item>
|
|
|
|
<!-- Use dark color, to have enough contrast with icons color. windowLightStatusBar is only available in API 23+ -->
|
|
<item name="android:statusBarColor">@color/riotx_header_panel_background_dark</item>
|
|
<!-- Use dark color, to have enough contrast with icons color. windowLightNavigationBar is only available in API 27+ -->
|
|
<item name="android:navigationBarColor">@color/riotx_header_panel_background_dark</item>
|
|
|
|
<!-- enable window content transitions -->
|
|
<item name="android:windowContentTransitions">true</item>
|
|
|
|
<!-- specify shared element enter and exit transitions -->
|
|
<item name="android:windowSharedElementEnterTransition">@transition/image_preview_transition</item>
|
|
<item name="android:windowSharedElementExitTransition">@transition/image_preview_transition</item>
|
|
</style>
|
|
|
|
<style name="AppTheme.Status" parent="AppTheme.Base.Status" />
|
|
|
|
</resources>
|