diff --git a/app/src/main/java/eu/faircode/email/FragmentDialogTheme.java b/app/src/main/java/eu/faircode/email/FragmentDialogTheme.java
index c0bdbf0c3c..3eaae290e5 100644
--- a/app/src/main/java/eu/faircode/email/FragmentDialogTheme.java
+++ b/app/src/main/java/eu/faircode/email/FragmentDialogTheme.java
@@ -208,6 +208,9 @@ public class FragmentDialogTheme extends FragmentDialogBase {
case "black":
rgTheme.check(R.id.rbThemeBlack);
break;
+ case "white":
+ rgTheme.check(R.id.rbThemeWhite);
+ break;
case "black_and_white":
rgTheme.check(R.id.rbThemeBlackAndWhite);
break;
@@ -306,6 +309,8 @@ public class FragmentDialogTheme extends FragmentDialogBase {
"solarized" + (dark ? "_dark" : "_light")).apply();
} else if (checkedRadioButtonId == R.id.rbThemeBlack) {
editor.putString("theme", "black").apply();
+ } else if (checkedRadioButtonId == R.id.rbThemeWhite) {
+ editor.putString("theme", "white").apply();
} else if (checkedRadioButtonId == R.id.rbThemeBlackAndWhite) {
editor.putString("theme", "black_and_white").apply();
} else if (checkedRadioButtonId == R.id.rbThemeYou) {
@@ -452,6 +457,12 @@ public class FragmentDialogTheme extends FragmentDialogBase {
else
return R.style.AppThemeBlack;
+ case "white":
+ if (light)
+ return R.style.AppThemeGreySteelBlueLight;
+ else
+ return R.style.AppThemeWhite;
+
case "black_and_white":
if (light)
return R.style.AppThemeGreySteelBlueLight;
diff --git a/app/src/main/res/layout-v31/dialog_theme.xml b/app/src/main/res/layout-v31/dialog_theme.xml
index a7f13e6229..7b98a18571 100644
--- a/app/src/main/res/layout-v31/dialog_theme.xml
+++ b/app/src/main/res/layout-v31/dialog_theme.xml
@@ -81,6 +81,14 @@
android:text="@string/title_setup_theme_black"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
+
+
+
+
Grey
Solarized
Black
+ White
Black and white
Material You
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index e6894bc4fe..5ce070d071 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -410,6 +410,31 @@
- @color/black
+
+
+
+
+
+