137 lines
7.5 KiB
XML
137 lines
7.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (c) 2022 New Vector Ltd
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
<resources>
|
|
|
|
<style name="Theme.ElementAndroid" parent="android:Theme.Material.Light.NoActionBar">
|
|
<!-- Element attribute for palette -->
|
|
<!-- content colors -->
|
|
<item name="vctr_content_primary">@color/element_content_primary_light</item>
|
|
<item name="vctr_content_secondary">@color/element_content_secondary_light</item>
|
|
<item name="vctr_content_tertiary">@color/element_content_tertiary_light</item>
|
|
<item name="vctr_content_quaternary">@color/element_content_quaternary_light</item>
|
|
<item name="vctr_content_quinary">@color/element_content_quinary_light</item>
|
|
|
|
<!-- system colors -->
|
|
<item name="vctr_system">@color/element_system_light</item>
|
|
|
|
<!-- other colors -->
|
|
<item name="vctr_fab_label_bg">@color/vctr_fab_label_bg_light</item>
|
|
<item name="vctr_fab_label_stroke">@color/vctr_fab_label_stroke_light</item>
|
|
<item name="vctr_fab_label_color">@color/vctr_fab_label_color_light</item>
|
|
<item name="vctr_touch_guard_bg">@color/vctr_touch_guard_bg_light</item>
|
|
<item name="vctr_keys_backup_banner_accent_color">@color/vctr_keys_backup_banner_accent_color_light</item>
|
|
<item name="vctr_room_active_widgets_banner_bg">@color/vctr_room_active_widgets_banner_bg_light</item>
|
|
<item name="vctr_room_active_widgets_banner_text">@color/vctr_room_active_widgets_banner_text_light</item>
|
|
<item name="vctr_reaction_background_off">@color/vctr_reaction_background_off_light</item>
|
|
<item name="vctr_reaction_background_on">@color/vctr_reaction_background_on_light</item>
|
|
<item name="vctr_waiting_background_color">@color/vctr_waiting_background_color_light</item>
|
|
<item name="vctr_chat_effect_snow_background">@color/vctr_chat_effect_snow_background_light</item>
|
|
<item name="vctr_toolbar_background">@color/element_background_light</item>
|
|
<item name="vctr_badge_color_border">@color/vctr_badge_color_border_light</item>
|
|
|
|
<!-- Presence Indicator colors -->
|
|
<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>
|
|
<item name="vctr_presence_indicator_busy">@color/vctr_presence_indicator_busy_light</item>
|
|
<item name="vctr_presence_indicator_away">@color/vctr_presence_indicator_away_light</item>
|
|
|
|
<!-- Some aliases -->
|
|
<item name="vctr_header_background">?vctr_system</item>
|
|
<item name="vctr_list_separator">?vctr_content_quinary</item>
|
|
<item name="vctr_list_separator_system">?vctr_system</item>
|
|
<item name="vctr_list_separator_on_surface">?vctr_system</item>
|
|
<item name="vctr_unread_background">?vctr_content_tertiary</item>
|
|
|
|
<!-- Material color -->
|
|
<item name="colorPrimary">@color/element_accent_light</item>
|
|
<item name="colorPrimaryVariant">@color/element_accent_light</item>
|
|
<item name="colorOnPrimary">@android:color/white</item>
|
|
<item name="colorSecondary">@color/element_accent_light</item>
|
|
<item name="colorSecondaryVariant">@color/element_accent_light</item>
|
|
<item name="colorOnSecondary">@android:color/white</item>
|
|
<item name="colorError">@color/element_alert_light</item>
|
|
<item name="colorOnError">@color/palette_white</item>
|
|
<item name="colorSurface">@color/element_system_light</item>
|
|
<item name="colorOnSurface">?vctr_content_primary</item>
|
|
<item name="android:colorBackground">@color/element_background_light</item>
|
|
<item name="colorOnBackground">?vctr_content_primary</item>
|
|
|
|
<!-- Default theme -->
|
|
<item name="android:textColorLink">@color/element_link_light</item>
|
|
|
|
<!-- Menu text color -->
|
|
<item name="android:actionMenuTextColor">?colorSecondary</item>
|
|
|
|
<!-- Default color for text View -->
|
|
<item name="android:textColorTertiary">@color/element_content_primary_light</item>
|
|
|
|
<!-- ANDROID SUPPORT ATTRIBUTES -->
|
|
<!-- disable the overscroll because setOverscrollHeader/Footer don't always work -->
|
|
<item name="android:overScrollMode">never</item>
|
|
|
|
<!--
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
|
|
-->
|
|
|
|
<!--
|
|
<item name="lockscreen_theme">@style/PinCodeScreenStyle</item>
|
|
<item name="lockscreen_key_button_theme">@style/PinCodeKeyButtonStyle</item>
|
|
<item name="lockscreen_title_theme">@style/PinCodeTitleStyle</item>
|
|
<item name="lockscreen_hint_theme">@style/PinCodeHintStyle</item>
|
|
<item name="lockscreen_code_view_theme">@style/PinCodeDotsViewStyle</item>
|
|
<item name="lockscreen_delete_button_theme">@style/PinCodeDeleteButtonStyle</item>
|
|
<item name="lockscreen_fingerprint_button_theme">@style/PinCodeFingerprintButtonStyle</item>
|
|
<item name="lockscreen_next_theme">@style/PinCodeNextButtonStyle</item>
|
|
-->
|
|
|
|
<!-- Use dark color, to have enough contrast with icons color. windowLightStatusBar is only available in API 23+ -->
|
|
<item name="android:statusBarColor">@color/android_status_bar_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/android_navigation_bar_background_dark</item>
|
|
|
|
<!-- enable window content transitions -->
|
|
<item name="android:windowContentTransitions">true</item>
|
|
|
|
<!--
|
|
<item name="vctr_social_login_button_google_style">@style/Widget.Vector.Button.Outlined.SocialLogin.Google.Light</item>
|
|
<item name="vctr_social_login_button_github_style">@style/Widget.Vector.Button.Outlined.SocialLogin.Github.Light</item>
|
|
<item name="vctr_social_login_button_facebook_style">@style/Widget.Vector.Button.Outlined.SocialLogin.Facebook.Light</item>
|
|
<item name="vctr_social_login_button_twitter_style">@style/Widget.Vector.Button.Outlined.SocialLogin.Twitter.Light</item>
|
|
<item name="vctr_social_login_button_apple_style">@style/Widget.Vector.Button.Outlined.SocialLogin.Apple.Light</item>
|
|
<item name="vctr_social_login_button_gitlab_style">@style/Widget.Vector.Button.Outlined.SocialLogin.Gitlab.Light</item>
|
|
-->
|
|
|
|
<!-- Keywords -->
|
|
<!--
|
|
<item name="vctr_keyword_style">@style/Widget.Vector.Keyword</item>
|
|
-->
|
|
|
|
<item name="vctr_toast_background">@color/vctr_toast_background_light</item>
|
|
|
|
<!-- Location sharing -->
|
|
<item name="vctr_live_location">@color/vctr_live_location_light</item>
|
|
|
|
<!-- Material 3 -->
|
|
<item name="collapsingToolbarLayoutMediumSize">@dimen/collapsing_toolbar_layout_medium_size</item>
|
|
|
|
<!-- WYSIWYG Editor -->
|
|
<item name="vctr_rich_text_editor_menu_button_background">@color/vctr_rich_text_editor_menu_button_background_light</item>
|
|
</style>
|
|
|
|
</resources>
|