2019-03-28 13:53:28 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
<!-- BLACK THEME COLORS -->
|
|
|
|
|
|
|
|
<style name="AppTheme.Base.Black" parent="AppTheme.Base.Dark">
|
|
|
|
<!-- Only setting the items we need to override to get the background to be pure black, otherwise inheriting -->
|
|
|
|
|
2019-06-05 16:58:00 +03:00
|
|
|
<!-- Riotx attribute for palette -->
|
|
|
|
<item name="riotx_background">@color/riotx_background_black</item>
|
|
|
|
<item name="riotx_base">@color/riotx_base_black</item>
|
|
|
|
<item name="riotx_base_text_icon_primary">@color/riotx_base_text_icon_primary_black</item>
|
|
|
|
<item name="riotx_base_text_icon_secondary">@color/riotx_base_text_icon_secondary_black</item>
|
|
|
|
<item name="riotx_search_background_mobile">@color/riotx_search_background_mobile_black</item>
|
|
|
|
<item name="riotx_header_panel_background">@color/riotx_header_panel_background_black</item>
|
|
|
|
<item name="riotx_header_panel_border_mobile">@color/riotx_header_panel_border_mobile_black</item>
|
|
|
|
<item name="riotx_header_panel_text_primary">@color/riotx_header_panel_text_primary_black</item>
|
|
|
|
<item name="riotx_header_panel_text_secondary">@color/riotx_header_panel_text_secondary_black</item>
|
|
|
|
<item name="riotx_text_primary">@color/riotx_text_primary_black</item>
|
|
|
|
<item name="riotx_text_secondary">@color/riotx_text_secondary_black</item>
|
|
|
|
<item name="riotx_android_secondary">@color/riotx_android_secondary_black</item>
|
|
|
|
<item name="riotx_search_placeholder">@color/riotx_search_placeholder_black</item>
|
|
|
|
<item name="riotx_room_highlight">@color/riotx_room_highlight_black</item>
|
|
|
|
<item name="riotx_unread_room_indent">@color/riotx_unread_room_indent_black</item>
|
|
|
|
<item name="riotx_android_status_bar">@color/riotx_android_status_bar_black</item>
|
|
|
|
<item name="riotx_line_break_mobile">@color/riotx_line_break_mobile_black</item>
|
2019-06-06 16:56:05 +03:00
|
|
|
<item name="riotx_unread_room_badge">@color/riotx_unread_room_badge_black</item>
|
2019-06-05 16:58:00 +03:00
|
|
|
|
2019-06-06 15:37:30 +03:00
|
|
|
<!-- Material color: Note: this block should be the same in all theme because it references only common colors and ?riotx attributes -->
|
|
|
|
<item name="colorPrimary">@color/riotx_accent</item>
|
|
|
|
<!--item name="colorPrimaryVariant">@color/primary_color_dark_light</item-->
|
|
|
|
<item name="colorOnPrimary">@color/riotx_text_primary_light</item>
|
|
|
|
<!-- We do not use color secondary, default will be colorPrimary values: It does not work so declare again the value -->
|
|
|
|
<item name="colorSecondary">@color/riotx_accent</item>
|
|
|
|
<item name="colorSecondaryVariant">@color/primary_color_dark_black</item>
|
2019-06-06 16:24:04 +03:00
|
|
|
<item name="colorOnSecondary">@color/white</item>
|
2019-06-06 15:37:30 +03:00
|
|
|
<item name="colorError">@color/riotx_notice</item>
|
|
|
|
<item name="colorOnError">#FFFFFF</item>
|
|
|
|
<!--item name="colorSurface">#FFFFFF</item>
|
|
|
|
<item name="colorOnSurface">#212121</item-->
|
|
|
|
<item name="android:colorBackground">?riotx_background</item>
|
|
|
|
<item name="colorOnBackground">?riotx_text_primary</item>
|
|
|
|
|
|
|
|
<!-- Keep color accent for legacy widget-->
|
|
|
|
<item name="colorAccent">@color/riotx_accent</item>
|
|
|
|
|
|
|
|
<item name="materialButtonStyle">@style/VectorButtonStyle</item>
|
|
|
|
<item name="toolbarStyle">@style/VectorToolbarStyle</item>
|
|
|
|
<item name="alertDialogTheme">@style/VectorAlertDialogStyle</item>
|
|
|
|
|
|
|
|
<item name="android:textColorLink">@color/riotx_links</item>
|
|
|
|
|
|
|
|
<!-- Menu text color -->
|
|
|
|
<!--item name="android:actionMenuTextColor">#FFFFFFFF</item-->
|
|
|
|
|
2019-03-28 13:53:28 +03:00
|
|
|
<!-- list colors -->
|
|
|
|
<!--Header/Panel Background-->
|
|
|
|
<item name="vctr_list_header_background_color">#FF090A0C</item>
|
|
|
|
<!--Header/Panel Text Primary-->
|
|
|
|
<item name="vctr_tab_home">@color/primary_color_black</item>
|
|
|
|
<!--Header/Panel Text Secondary-->
|
|
|
|
<item name="vctr_tab_home_secondary">@color/primary_color_dark_black</item>
|
|
|
|
<item name="vctr_list_divider_color">@color/list_divider_color_black</item>
|
|
|
|
|
|
|
|
<!-- color for dividers in settings -->
|
|
|
|
<item name="vctr_preference_divider_color">@color/list_divider_color_black</item>
|
|
|
|
|
|
|
|
<item name="vctr_markdown_block_background_color">#FF4D4D4D</item>
|
|
|
|
|
|
|
|
<!-- activities background -->
|
|
|
|
<item name="android:windowBackground">@color/riot_primary_background_color_black</item>
|
|
|
|
<item name="vctr_bottom_nav_background_color">@color/primary_color_black</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
|
|
|
|
|
|
|
<item name="vctr_direct_chat_circle">@drawable/direct_chat_circle_black</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="AppTheme.Black" parent="AppTheme.Base.Black" />
|
|
|
|
|
|
|
|
<style name="Theme.Vector.Lock.Black" parent="Theme.Vector.Lock.Dark">
|
|
|
|
<item name="colorPrimary">@color/riot_primary_background_color_black</item>
|
|
|
|
<item name="android:colorBackground">@color/riot_primary_background_color_black</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- home activity -->
|
|
|
|
<style name="HomeActivityTheme.Black" parent="AppTheme.Black">
|
|
|
|
<item name="editTextColor">?android:attr/textColorPrimary</item>
|
|
|
|
<item name="android:editTextColor">?android:attr/textColorPrimary</item>
|
|
|
|
<item name="android:textColorHint">?attr/vctr_default_text_hint_color</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- call activity -->
|
|
|
|
<style name="CallActivityTheme.Black" parent="AppTheme.Black">
|
|
|
|
<!-- status bar color -->
|
|
|
|
<item name="colorPrimaryDark">@android:color/black</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- NoActionBar + FullScreen -->
|
|
|
|
<style name="AppTheme.NoActionBar.FullScreen.Black" parent="AppTheme.Black">
|
|
|
|
<item name="android:windowFullscreen">true</item>
|
|
|
|
<!-- activities background -->
|
|
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- Picker activities -->
|
|
|
|
<style name="CountryPickerTheme.Black" parent="AppTheme.Black">
|
|
|
|
<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.Black" parent="AppTheme.Black">
|
|
|
|
<!-- 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.Black" parent="AppTheme.Black">
|
|
|
|
<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.Black" parent="AppTheme.Black">
|
|
|
|
<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>
|
|
|
|
|
|
|
|
</resources>
|