Fix #557 Black theme for OLED devices 🌓

Signed-off-by: stefan-niedermann <info@niedermann.it>
This commit is contained in:
stefan-niedermann 2020-02-01 12:15:04 +01:00
parent 25393b111a
commit 7bd950244a
5 changed files with 5 additions and 15 deletions

View file

@ -128,10 +128,4 @@
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.appcompat.widget.LinearLayoutCompat>
<ImageView
android:layout_width="match_parent"
android:layout_height="1px"
android:contentDescription="@null"
android:src="@color/separator" />
</FrameLayout>

View file

@ -4,10 +4,8 @@
<color name="primary_dark">#286090</color>
<color name="separator">#262626</color>
<color name="bg_highlighted">#060606</color>
<color name="bg_normal">#222222</color>
<color name="bg_highlighted">#2a2a2a</color>
<color name="bg_normal">#121212</color>
<color name="bg_attention">#ff3333</color>
<color name="fg_default">#eeeeee</color>
<color name="fg_default_selection">#cccccc</color>
@ -16,5 +14,4 @@
<color name="fg_contrast">#000000</color>
<color name="category_background">@color/primary</color>
<color name="category_border">@color/primary</color>
</resources>

View file

@ -5,8 +5,6 @@
<color name="primary">#0082C9</color>
<color name="primary_dark">#286090</color>
<color name="separator">#fbfbfb</color>
<color name="bg_highlighted">#eee</color>
<color name="bg_normal">#ffffff</color>
<color name="bg_attention">#d40000</color>
@ -23,7 +21,7 @@
<color name="widget_fg_default">#000000</color>
<color name="widget_fg_contrast">#ffffff</color>
<color name="category_background">#ffffff</color>
<color name="category_background">?android:colorBackground</color>
<color name="category_border">@color/primary</color>
<!-- Dark Theme -->

View file

@ -6,6 +6,7 @@
<item name="colorPrimaryDark">@color/primary</item>
<item name="colorAccent">@color/primary</item>
<item name="windowActionModeOverlay">true</item>
<item name="android:colorBackground">@color/bg_normal</item>
</style>
<style name="toolbarStyle" parent="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<item name="colorAccent">#fff</item>

View file

@ -1,4 +1,4 @@
- 🔄 Background synchronization (#656)
- 🌓 Make background of dark theme darker (#557)
Requires at least Files app¹ version 3.9.0
¹ https://github.com/nextcloud/android