Add pink themes

This commit is contained in:
Matéo Duparc 2022-10-04 12:57:23 +02:00
parent 991e435e5e
commit cdc269f2f7
Signed by: hardcoresushi
GPG Key ID: AFE384344A45E13A
10 changed files with 29 additions and 25 deletions

View File

@ -31,6 +31,8 @@ open class BaseActivity: AppCompatActivity() {
"black_orange" -> setTheme(R.style.BlackOrange)
"dark_purple" -> setTheme(R.style.DarkPurple)
"black_purple" -> setTheme(R.style.BlackPurple)
"dark_pink" -> setTheme(R.style.DarkPink)
"black_pink" -> setTheme(R.style.BlackPink)
}
}
super.onCreate(savedInstanceState)

View File

@ -21,6 +21,8 @@ open class CustomAlertDialogBuilder(context: Context, theme: String) : AlertDial
"black_orange" -> R.style.BlackOrangeDialog
"dark_purple" -> R.style.DarkPurpleDialog
"black_purple" -> R.style.BlackPurpleDialog
"dark_pink" -> R.style.DarkPinkDialog
"black_pink" -> R.style.BlackPinkDialog
else -> R.style.DarkGreenDialog
}
) {

View File

@ -21,30 +21,7 @@
<item>أسود برتقالي</item>
<item>داكن بنفسجي</item>
<item>أسود بنفسجي</item>
</string-array>
<!-- don't translate the following otherwise the app will crash -->
<string-array name="sort_orders_values">
<item>name</item>
<item>size</item>
<item>date</item>
<item>name_desc</item>
<item>size_desc</item>
<item>date_desc</item>
</string-array>
<string-array name="themes_values">
<item>dark_green</item>
<item>black_green</item>
<item>dark_red</item>
<item>black_red</item>
<item>dark_blue</item>
<item>black_blue</item>
<item>dark_yellow</item>
<item>black_yellow</item>
<item>dark_orange</item>
<item>black_orange</item>
<item>dark_purple</item>
<item>black_purple</item>
<item>Dark Pink</item>
<item>Black Pink</item>
</string-array>
</resources>

View File

@ -21,5 +21,7 @@
<item>Naranja Negro</item>
<item>Morado Oscuro</item>
<item>Morado Negro</item>
<item>Dark Pink</item>
<item>Black Pink</item>
</string-array>
</resources>

View File

@ -21,5 +21,7 @@
<item>Laranja preto</item>
<item>Roxo escuro</item>
<item>Roxo preto</item>
<item>Dark Pink</item>
<item>Black Pink</item>
</string-array>
</resources>

View File

@ -21,5 +21,7 @@
<item>Чёрно-оранжевая</item>
<item>Тёмно-фиолетовая</item>
<item>Чёрно-фиолетовая</item>
<item>Dark Pink</item>
<item>Black Pink</item>
</string-array>
</resources>

View File

@ -41,6 +41,8 @@
<item>Black Orange</item>
<item>Dark Purple</item>
<item>Black Purple</item>
<item>Dark Pink</item>
<item>Black Pink</item>
</string-array>
<!-- don't translate the following otherwise the app will crash -->
@ -66,5 +68,7 @@
<item>black_orange</item>
<item>dark_purple</item>
<item>black_purple</item>
<item>dark_pink</item>
<item>black_pink</item>
</string-array>
</resources>

View File

@ -9,6 +9,7 @@
<color name="yellow">#FFD600</color>
<color name="orange">#FF6D00</color>
<color name="purple">#AA00FF</color>
<color name="pink">#FF76D8</color>
<color name="neutralIconTint">@color/white</color>
<color name="fullScreenBackgroundColor">@color/black</color>
<color name="textColor">@color/white</color>

View File

@ -20,6 +20,9 @@
<style name="DarkPurpleDialog" parent="DarkGreenDialog">
<item name="colorAccent">@color/purple</item>
</style>
<style name="DarkPinkDialog" parent="DarkGreenDialog">
<item name="colorAccent">@color/pink</item>
</style>
<style name="BlackGreenDialog" parent="Theme.AppCompat.Dialog.Alert">
<item name="colorAccent">@color/secondary</item>
@ -40,5 +43,8 @@
<style name="BlackPurpleDialog" parent="BlackGreenDialog">
<item name="colorAccent">@color/purple</item>
</style>
<style name="BlackPinkDialog" parent="BlackGreenDialog">
<item name="colorAccent">@color/pink</item>
</style>
</resources>

View File

@ -26,6 +26,9 @@
<style name="DarkPurple" parent="BaseTheme">
<item name="colorAccent">@color/purple</item>
</style>
<style name="DarkPink" parent="BaseTheme">
<item name="colorAccent">@color/pink</item>
</style>
<style name="BlackGreen" parent="BaseTheme">
<item name="android:windowBackground">@color/black</item>
@ -49,6 +52,9 @@
<style name="BlackPurple" parent="BlackGreen">
<item name="colorAccent">@color/purple</item>
</style>
<style name="BlackPink" parent="BlackGreen">
<item name="colorAccent">@color/pink</item>
</style>
<style name="DarkButton" parent="Widget.AppCompat.Button">
<item name="android:background">@drawable/button_background</item>