Added "Hot Pink" theme (#238)
* first test * added hot pink theme * moved string to correct place
This commit is contained in:
parent
6cad8411fe
commit
f7d52e0372
@ -25,6 +25,7 @@ object PreferenceValues {
|
||||
amoled,
|
||||
red,
|
||||
midnightdusk,
|
||||
hotpink,
|
||||
}
|
||||
|
||||
enum class DisplayMode {
|
||||
|
@ -50,6 +50,7 @@ abstract class BaseThemedActivity : AppCompatActivity() {
|
||||
Values.DarkThemeVariant.amoled -> R.style.Theme_Tachiyomi_Amoled
|
||||
Values.DarkThemeVariant.red -> R.style.Theme_Tachiyomi_Red
|
||||
Values.DarkThemeVariant.midnightdusk -> R.style.Theme_Tachiyomi_MidnightDusk
|
||||
Values.DarkThemeVariant.hotpink -> R.style.Theme_Tachiyomi_HotPink
|
||||
else -> R.style.Theme_Tachiyomi_Dark
|
||||
}
|
||||
}
|
||||
|
@ -135,6 +135,7 @@ class SettingsGeneralController : SettingsController() {
|
||||
R.string.theme_dark_amoled,
|
||||
R.string.theme_dark_red,
|
||||
R.string.theme_dark_midnightdusk,
|
||||
R.string.theme_dark_hotpink,
|
||||
)
|
||||
entryValues = arrayOf(
|
||||
Values.DarkThemeVariant.default.name,
|
||||
@ -142,6 +143,7 @@ class SettingsGeneralController : SettingsController() {
|
||||
Values.DarkThemeVariant.amoled.name,
|
||||
Values.DarkThemeVariant.red.name,
|
||||
Values.DarkThemeVariant.midnightdusk.name,
|
||||
Values.DarkThemeVariant.hotpink.name,
|
||||
)
|
||||
defaultValue = Values.DarkThemeVariant.default.name
|
||||
summary = "%s"
|
||||
|
@ -47,6 +47,15 @@
|
||||
<color name="dialogDusk">#201F27</color>
|
||||
<color name="selectorColorDusk">#80F02475</color>
|
||||
|
||||
<!-- Hot Pink Theme -->
|
||||
<color name="colorAccentPink">#FF3399</color>
|
||||
<color name="textColorPrimaryPink">@color/md_white_1000</color>
|
||||
<color name="textColorSecondaryPink">@color/md_white_1000_70</color>
|
||||
<color name="textColorHintPink">@color/md_white_1000_50</color>
|
||||
<color name="backgroundPink">@color/md_black_1000</color>
|
||||
<color name="dialogPink">@color/md_black_1000</color>
|
||||
<color name="selectorColorPink">#80FF69B4</color>
|
||||
|
||||
<!-- Reader Theme -->
|
||||
<color name="readerColorDarkPrimary">@color/colorDarkPrimary</color>
|
||||
<color name="pageNumberBackgroundLight">@color/md_grey_50_75</color>
|
||||
|
@ -165,6 +165,7 @@
|
||||
<!-- General Settings -->
|
||||
<string name="theme_dark_red">Black-Red</string>
|
||||
<string name="theme_dark_midnightdusk">Midnight Dusk</string>
|
||||
<string name="theme_dark_hotpink">Hot Pink</string>
|
||||
<string name="toggle_expand_search_filters">Expand all search filters by default</string>
|
||||
<string name="auto_solve_captchas">Automatically solve captcha</string>
|
||||
<string name="auto_solve_captchas_summary">Use HIGHLY EXPERIMENTAL automatic ReCAPTCHA solver. Will be grayed out if unsupported by your device.</string>
|
||||
|
@ -14,6 +14,10 @@
|
||||
<item name="android:textColorPrimary">@color/md_white_1000</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Toolbar.HotPink" parent="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar">
|
||||
<item name="android:textColorPrimary">@color/md_white_1000</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Toolbar.Light" parent="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar">
|
||||
<item name="popupTheme">@style/ThemeOverlay.MaterialComponents.Light</item>
|
||||
</style>
|
||||
|
@ -27,4 +27,27 @@
|
||||
<item name="colorLibrarySelectionActive">@color/selectorColorDark</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="Theme.Tachiyomi.HotPink" parent="Theme.Base.Dark">
|
||||
<item name="colorPrimary">@color/dialogPink</item>
|
||||
<item name="colorPrimaryDark">@color/dialogPink</item>
|
||||
<item name="colorOnPrimary">@color/textColorPrimaryPink</item>
|
||||
<item name="colorAccentOnPrimary">@color/colorAccentPink</item>
|
||||
<item name="colorPrimaryVariant">@color/dialogPink</item>
|
||||
<item name="colorSecondary">@color/colorAccentPink</item>
|
||||
<item name="colorOnSecondary">@color/textColorPrimaryPink</item>
|
||||
<item name="colorSurface">@color/dialogPink</item>
|
||||
<item name="colorOnSurface">@color/textColorPrimaryPink</item>
|
||||
<item name="colorOnBackground">@color/textColorPrimaryPink</item>
|
||||
<item name="colorAccent">@color/colorAccentPink</item>
|
||||
<item name="background">@color/backgroundPink</item>
|
||||
|
||||
<item name="android:colorBackground">@android:color/transparent</item>
|
||||
<item name="android:windowBackground">@color/backgroundPink</item>
|
||||
<item name="android:statusBarColor">@color/dialogPink</item>
|
||||
|
||||
<!-- Some ROMs make black navbars white (e.g. OxygenOS) -->
|
||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
Loading…
x
Reference in New Issue
Block a user