Tweak SC dark theme

This commit is contained in:
SpiritCroc 2020-07-22 13:00:10 +02:00
parent 79a2848ad2
commit 83b033ddde
8 changed files with 11 additions and 4 deletions

View File

@ -14,7 +14,7 @@
</style> </style>
<style name="AppTheme.SC.Dark.v21" parent="AppTheme.Base.SC.Dark"> <style name="AppTheme.SC.Dark.v21" parent="AppTheme.Base.SC.Dark">
<item name="android:statusBarColor">@color/background_black_sc</item> <item name="android:statusBarColor">@color/background_dark_sc</item>
<item name="android:navigationBarColor">@color/background_black_sc</item> <item name="android:navigationBarColor">@color/background_black_sc</item>
<!-- enable window content transitions --> <!-- enable window content transitions -->
@ -38,7 +38,7 @@
</style> </style>
<style name="AppTheme.SC.Dark.Colored.v21" parent="AppTheme.Base.SC.Dark.Colored"> <style name="AppTheme.SC.Dark.Colored.v21" parent="AppTheme.Base.SC.Dark.Colored">
<item name="android:statusBarColor">@color/background_black_sc</item> <item name="android:statusBarColor">@color/background_dark_sc</item>
<item name="android:navigationBarColor">@color/background_black_sc</item> <item name="android:navigationBarColor">@color/background_black_sc</item>
<!-- enable window content transitions --> <!-- enable window content transitions -->

View File

@ -8,6 +8,7 @@
<attr name="riotx_positive_accent" format="color" /> <attr name="riotx_positive_accent" format="color" />
<attr name="riotx_positive_accent_alpha12" format="color" /> <attr name="riotx_positive_accent_alpha12" format="color" />
<attr name="riotx_toolbar_bg" format="color" />
</declare-styleable> </declare-styleable>

View File

@ -8,7 +8,7 @@
<!-- main text --> <!-- main text -->
<item name="titleTextAppearance">@style/Vector.Toolbar.Title</item> <item name="titleTextAppearance">@style/Vector.Toolbar.Title</item>
<item name="subtitleTextAppearance">@style/Vector.Toolbar.SubTitle</item> <item name="subtitleTextAppearance">@style/Vector.Toolbar.SubTitle</item>
<item name="android:background">?riotx_background</item> <item name="android:background">?riotx_toolbar_bg</item>
</style> </style>
<style name="VectorToolbarStyle" parent="VectorToolbarStyleWithPadding"> <style name="VectorToolbarStyle" parent="VectorToolbarStyleWithPadding">

View File

@ -227,6 +227,7 @@
<item name="sc_message_bg_outgoing">#ff343b47</item> <item name="sc_message_bg_outgoing">#ff343b47</item>
<item name="riotx_positive_accent">@color/riotx_positive_accent</item> <item name="riotx_positive_accent">@color/riotx_positive_accent</item>
<item name="riotx_positive_accent_alpha12">@color/riotx_positive_accent_alpha12</item> <item name="riotx_positive_accent_alpha12">@color/riotx_positive_accent_alpha12</item>
<item name="riotx_toolbar_bg">?riotx_background</item>
</style> </style>
<style name="AppTheme.Dark" parent="AppTheme.Base.Dark" /> <style name="AppTheme.Dark" parent="AppTheme.Base.Dark" />

View File

@ -227,6 +227,7 @@
<item name="sc_message_bg_outgoing">#FFDDDDDD</item> <item name="sc_message_bg_outgoing">#FFDDDDDD</item>
<item name="riotx_positive_accent">@color/riotx_positive_accent</item> <item name="riotx_positive_accent">@color/riotx_positive_accent</item>
<item name="riotx_positive_accent_alpha12">@color/riotx_positive_accent_alpha12</item> <item name="riotx_positive_accent_alpha12">@color/riotx_positive_accent_alpha12</item>
<item name="riotx_toolbar_bg">?riotx_background</item>
</style> </style>
<style name="AppTheme.Light" parent="AppTheme.Base.Light" /> <style name="AppTheme.Light" parent="AppTheme.Base.Light" />

View File

@ -10,7 +10,7 @@
<item name="riotx_base_text_icon_secondary">@color/text_color_secondary_sc</item> <item name="riotx_base_text_icon_secondary">@color/text_color_secondary_sc</item>
<item name="riotx_search_background_mobile">@color/background_dark_sc</item> <item name="riotx_search_background_mobile">@color/background_dark_sc</item>
<item name="riotx_header_panel_background">@color/background_black_sc</item> <item name="riotx_header_panel_background">@color/background_black_sc</item>
<item name="riotx_header_panel_border_mobile">@color/background_dark_sc</item> <item name="riotx_header_panel_border_mobile">#20ffffff</item>
<item name="riotx_header_panel_text_primary">@color/text_color_primary_sc</item> <item name="riotx_header_panel_text_primary">@color/text_color_primary_sc</item>
<item name="riotx_header_panel_text_secondary">@color/text_color_secondary_sc</item> <item name="riotx_header_panel_text_secondary">@color/text_color_secondary_sc</item>
<item name="riotx_text_primary">@color/text_color_primary_sc</item> <item name="riotx_text_primary">@color/text_color_primary_sc</item>
@ -210,9 +210,11 @@
<item name="sc_message_bg_outgoing">@color/background_sc</item> <item name="sc_message_bg_outgoing">@color/background_sc</item>
<item name="riotx_positive_accent">@color/accent_sc</item> <item name="riotx_positive_accent">@color/accent_sc</item>
<item name="riotx_positive_accent_alpha12">@color/accent_sc_alpha12</item> <item name="riotx_positive_accent_alpha12">@color/accent_sc_alpha12</item>
<item name="riotx_toolbar_bg">?riotx_background</item>
</style> </style>
<style name="AppTheme.Base.SC.Dark"> <style name="AppTheme.Base.SC.Dark">
<item name="riotx_toolbar_bg">@color/background_sc</item>
<item name="riotx_background">@color/background_dark_sc</item> <item name="riotx_background">@color/background_dark_sc</item>
<item name="riotx_header_panel_background">@color/background_sc</item> <item name="riotx_header_panel_background">@color/background_sc</item>
</style> </style>

View File

@ -47,6 +47,7 @@
<item name="sc_message_bg_outgoing">@color/accent_sc_alpha12</item> <item name="sc_message_bg_outgoing">@color/accent_sc_alpha12</item>
<item name="riotx_positive_accent">@color/accent_sc</item> <item name="riotx_positive_accent">@color/accent_sc</item>
<item name="riotx_positive_accent_alpha12">@color/accent_sc_alpha12</item> <item name="riotx_positive_accent_alpha12">@color/accent_sc_alpha12</item>
<item name="riotx_toolbar_bg">?riotx_background</item>
</style> </style>
<!-- Default AppTheme for usage where settings don't apply --> <!-- Default AppTheme for usage where settings don't apply -->

View File

@ -156,6 +156,7 @@
<item name="sc_message_bg_outgoing">#FFE4E8ED</item> <item name="sc_message_bg_outgoing">#FFE4E8ED</item>
<item name="riotx_positive_accent">@color/riotx_positive_accent</item> <item name="riotx_positive_accent">@color/riotx_positive_accent</item>
<item name="riotx_positive_accent_alpha12">@color/riotx_positive_accent_alpha12</item> <item name="riotx_positive_accent_alpha12">@color/riotx_positive_accent_alpha12</item>
<item name="riotx_toolbar_bg">?riotx_background</item>
</style> </style>
<style name="AppTheme.Status" parent="AppTheme.Base.Status" /> <style name="AppTheme.Status" parent="AppTheme.Base.Status" />