mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Added "Green Apple" theme (#5184)
* Added "Green Apple" theme Totally not stolen from other forks. Although to cover all my bases I co-author all people who adapted the theme in any form. Neko, J2K and Tako Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com> Co-Authored-By: Jays2Kings <jays@outlook.com> Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com> * Add black as the OnSecondary color Co-authored-by: Carlos <2092019+CarlosEsco@users.noreply.github.com> Co-authored-by: Jays2Kings <jays@outlook.com> Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
This commit is contained in:
		| @@ -25,6 +25,7 @@ object PreferenceValues { | ||||
|     enum class DarkThemeVariant { | ||||
|         default, | ||||
|         blue, | ||||
|         greenapple, | ||||
|         midnightdusk, | ||||
|         amoled, | ||||
|         hotpink, | ||||
|   | ||||
| @@ -25,6 +25,7 @@ abstract class BaseThemedActivity : AppCompatActivity() { | ||||
|             when (preferences.themeDark().get()) { | ||||
|                 DarkThemeVariant.default -> R.style.Theme_Tachiyomi_Dark | ||||
|                 DarkThemeVariant.blue -> R.style.Theme_Tachiyomi_Dark_Blue | ||||
|                 DarkThemeVariant.greenapple -> R.style.Theme_Tachiyomi_Dark_GreenApple | ||||
|                 DarkThemeVariant.midnightdusk -> R.style.Theme_Tachiyomi_Dark_MidnightDusk | ||||
|                 DarkThemeVariant.amoled -> R.style.Theme_Tachiyomi_Amoled | ||||
|                 DarkThemeVariant.hotpink -> R.style.Theme_Tachiyomi_Amoled_HotPink | ||||
|   | ||||
| @@ -143,6 +143,7 @@ class SettingsGeneralController : SettingsController() { | ||||
|                 entriesRes = arrayOf( | ||||
|                     R.string.theme_dark_default, | ||||
|                     R.string.theme_dark_blue, | ||||
|                     R.string.theme_dark_greenapple, | ||||
|                     R.string.theme_dark_midnightdusk, | ||||
|                     R.string.theme_dark_amoled, | ||||
|                     R.string.theme_dark_amoled_hotpink | ||||
| @@ -150,6 +151,7 @@ class SettingsGeneralController : SettingsController() { | ||||
|                 entryValues = arrayOf( | ||||
|                     Values.DarkThemeVariant.default.name, | ||||
|                     Values.DarkThemeVariant.blue.name, | ||||
|                     Values.DarkThemeVariant.greenapple.name, | ||||
|                     Values.DarkThemeVariant.midnightdusk.name, | ||||
|                     Values.DarkThemeVariant.amoled.name, | ||||
|                     Values.DarkThemeVariant.hotpink.name | ||||
|   | ||||
		Reference in New Issue
	
	Block a user