|
|
@ -1,10 +1,7 @@
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<resources>
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Session -->
|
|
|
|
<!-- The base theme is dark and the light one is implemented using "notnight" resources. -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Due to historical reasons the base theme is dark and the light one
|
|
|
|
|
|
|
|
is implemented using "notnight" type of resources. -->
|
|
|
|
|
|
|
|
<style name="Base.Theme.Session" parent="@style/Theme.AppCompat.DayNight.DarkActionBar">
|
|
|
|
<style name="Base.Theme.Session" parent="@style/Theme.AppCompat.DayNight.DarkActionBar">
|
|
|
|
<item name="colorPrimary">@color/action_bar_background</item>
|
|
|
|
<item name="colorPrimary">@color/action_bar_background</item>
|
|
|
|
<item name="colorPrimaryDark">@color/action_bar_background</item>
|
|
|
|
<item name="colorPrimaryDark">@color/action_bar_background</item>
|
|
|
@ -63,8 +60,8 @@
|
|
|
|
<item name="home_gradient_start">#00000000</item>
|
|
|
|
<item name="home_gradient_start">#00000000</item>
|
|
|
|
<item name="home_gradient_end">#FF000000</item>
|
|
|
|
<item name="home_gradient_end">#FF000000</item>
|
|
|
|
|
|
|
|
|
|
|
|
<item name="message_received_background_color">#222325</item>
|
|
|
|
<item name="message_received_background_color">#2D2D2D</item>
|
|
|
|
<item name="message_sent_background_color">#3F4146</item>
|
|
|
|
<item name="message_sent_background_color">#00E97B</item>
|
|
|
|
|
|
|
|
|
|
|
|
<item name="menu_accept_icon">@drawable/ic_baseline_done_24</item>
|
|
|
|
<item name="menu_accept_icon">@drawable/ic_baseline_done_24</item>
|
|
|
|
<item name="menu_trash_icon">@drawable/ic_baseline_delete_24</item>
|
|
|
|
<item name="menu_trash_icon">@drawable/ic_baseline_delete_24</item>
|
|
|
@ -113,7 +110,7 @@
|
|
|
|
which doesn't have support for light theme
|
|
|
|
which doesn't have support for light theme
|
|
|
|
(like some old Signal screens or third-party libs with white only icons)
|
|
|
|
(like some old Signal screens or third-party libs with white only icons)
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<!-- TODO Refactor this to use color resources -->
|
|
|
|
<!-- TODO: Refactor this to use color resources -->
|
|
|
|
<style name="Base.Theme.Session.ForceDark" parent="Theme.Session.DayNight">
|
|
|
|
<style name="Base.Theme.Session.ForceDark" parent="Theme.Session.DayNight">
|
|
|
|
<item name="colorPrimary">#171717</item>
|
|
|
|
<item name="colorPrimary">#171717</item>
|
|
|
|
<item name="android:textColorPrimary">#FFFFFF</item>
|
|
|
|
<item name="android:textColorPrimary">#FFFFFF</item>
|
|
|
@ -147,11 +144,6 @@
|
|
|
|
<item name="bottomSheetStyle">@style/Widget.Session.BottomSheetDialog</item>
|
|
|
|
<item name="bottomSheetStyle">@style/Widget.Session.BottomSheetDialog</item>
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Session -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Original Signal dark theme -->
|
|
|
|
|
|
|
|
<style name="Base.Theme.TextSecure" parent="@style/Theme.Session.DayNight">
|
|
|
|
<style name="Base.Theme.TextSecure" parent="@style/Theme.Session.DayNight">
|
|
|
|
|
|
|
|
|
|
|
|
<item name="windowActionModeOverlay">true</item>
|
|
|
|
<item name="windowActionModeOverlay">true</item>
|
|
|
|