mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +01:00
Themeing improvements
- Add Tertiary color - Add theme display from Tachiyomi - Show color changes in theme display
This commit is contained in:
@@ -42,6 +42,14 @@ class UiPreferences(private val preferenceStore: PreferenceStore) {
|
||||
return preferenceStore.getInt("color_secondary_dark", 0)
|
||||
}
|
||||
|
||||
fun colorTertiaryLight(): Preference<Int> {
|
||||
return preferenceStore.getInt("color_tertiary_light", 0)
|
||||
}
|
||||
|
||||
fun colorTertiaryDark(): Preference<Int> {
|
||||
return preferenceStore.getInt("color_tertiary_dark", 0)
|
||||
}
|
||||
|
||||
fun startScreen(): Preference<StartScreen> {
|
||||
return preferenceStore.getJsonObject("start_screen", StartScreen.Library, StartScreen.serializer())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user