mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-16 05:57:29 +01:00
Merge light and dark themes (#5470)
* Merge AMOLED and regular dark themes This allows all variants of dark themes to use black backgrounds as a separate preference. * Merge light and dark themes * Fix ReaderSeekBar color on Dark Blue theme * Color fixes * Fix Dark Blue bars ripple * Simplify night mode check
This commit is contained in:
5
app/src/main/res/values-v27/bools.xml
Normal file
5
app/src/main/res/values-v27/bools.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="lightStatusBar">true</bool>
|
||||
<bool name="lightNavigationBar">true</bool>
|
||||
</resources>
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="Base.V27.Theme.Tachiyomi.Light" parent="Base.Theme.Tachiyomi.Light">
|
||||
<style name="Base.V27.Tachiyomi" parent="Base.Theme.Tachiyomi">
|
||||
<item name="android:navigationBarColor">?attr/colorSurface</item>
|
||||
<item name="android:windowLightNavigationBar">true</item>
|
||||
<item name="android:windowLightNavigationBar">@bool/lightNavigationBar</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Tachiyomi.Light" parent="Base.V27.Theme.Tachiyomi.Light" />
|
||||
<style name="Theme.Tachiyomi" parent="Base.V27.Tachiyomi" />
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user