Feat(Theme): Add RGB mode to custom theme (#3788)

* feat(theme): add RGB mode to custom theme

* i18n(theme): translate custom RGB mode

* fix(theme): stabilize custom RGB palette animation

* fix(hud): restore saved palette when RGB is disabled
This commit is contained in:
LunaDL authored and GitHub committed 2026-12-06 14:39:32 -05:00
1 parent 4958dc4c93
commit 6d925af599
37 files changed
+191 -31

No files matched your search

@@ -428,14 +428,23 @@ class DroidDeckHudView(context: Context) : View(context) {
colGraph = lighten(accent, 0.3f)
}
private fun isRgbThemeActive(): Boolean {
val theme = SessionPrefs.theme(context)
return theme == Themes.INNER_GAMER || (theme == Themes.CUSTOM && Themes.customRgbEnabled)
}
private fun startHueCycle() {
if (!isRgbThemeActive()) {
applyPalette(Themes.current(context))
rebuildAndInvalidate()
return
}
if (hueJob?.isActive == true) return
if (SessionPrefs.theme(context) != Themes.INNER_GAMER) return
hueJob = scope.launch {
var hue = Themes.rgbHue
var shown = Float.NaN
var last = SystemClock.uptimeMillis()
while (isActive && SessionPrefs.theme(context) == Themes.INNER_GAMER) {
while (isActive && isRgbThemeActive()) {
val now = SystemClock.uptimeMillis()
val cycle = Themes.rgbCycleMillis(Themes.rgbSpeed).toFloat()
if (Motion.scale == 0f) {
@@ -449,7 +458,7 @@ class DroidDeckHudView(context: Context) : View(context) {
if (stepped != shown) {
shown = stepped
Themes.moveRgbHue(stepped)
applyPalette(Themes.innerGamer(stepped))
applyPalette(Themes.current(context))
rebuildAndInvalidate()
}
delay((cycle * Themes.RGB_HUE_STEP / 360f).toLong().coerceAtLeast(16L))
@@ -1817,6 +1817,13 @@ object SessionPrefs {
prefs(context).edit().putInt("innerGamerSpeed", speed.coerceIn(1, com.droiddeck.launcher.ui.Themes.RGB_SPEEDS)).apply()
}
fun customRgbEnabled(context: Context): Boolean =
prefs(context).getBoolean("customThemeRgb", false)
fun setCustomRgbEnabled(context: Context, enabled: Boolean) {
prefs(context).edit().putBoolean("customThemeRgb", enabled).apply()
}
fun setGradientColors(context: Context, primary: Int, secondary: Int) {
prefs(context).edit().putInt("gradientPrimary", primary).putInt("gradientSecondary", secondary).apply()
}
@@ -1427,6 +1427,13 @@ private fun CustomColorRows() {
val colors = Themes.customColors
var picking by remember { mutableStateOf<String?>(null) }
SettingsRow(stringResource(R.string.theme_custom_rgb), stringResource(R.string.theme_custom_rgb_hint)) {
ToggleSwitch(Themes.customRgbEnabled, label = stringResource(R.string.theme_custom_rgb)) {
Themes.setCustomRgbEnabled(ctx, it)
}
}
if (Themes.customRgbEnabled) RgbSpeedRow()
val rows = listOf(
Triple("background", stringResource(R.string.theme_custom_background), colors.background),
Triple("surface", stringResource(R.string.theme_custom_surface), colors.surface),
@@ -1444,8 +1451,13 @@ private fun CustomColorRows() {
)
rows.forEach { (key, label, argb) ->
SettingsRow(label, null) {
ColorCube(Color(argb), label) { picking = key }
val rgbDriven = Themes.customRgbEnabled && (key == "primary" || key == "onPrimary" || key == "signal")
SettingsRow(label, if (rgbDriven) stringResource(R.string.theme_custom_rgb_locked) else null) {
if (rgbDriven) {
Text(stringResource(R.string.theme_custom_rgb))
} else {
ColorCube(Color(argb), label) { picking = key }
}
}
}
@@ -89,6 +89,9 @@ object Themes {
var rgbSpeed by mutableStateOf(DEFAULT_RGB_SPEED)
private set
var customRgbEnabled by mutableStateOf(false)
private set
@Volatile var rgbHue = 0f
private set
@@ -102,11 +105,17 @@ object Themes {
rgbSpeed = value
}
fun setCustomRgbEnabled(context: Context, enabled: Boolean) {
SessionPrefs.setCustomRgbEnabled(context, enabled)
customRgbEnabled = enabled
}
fun rgbCycleMillis(speed: Int): Int = 30_000 / speed.coerceIn(1, RGB_SPEEDS)
fun loadGradient(context: Context) {
gradientColors = SessionPrefs.gradientColors(context)
rgbSpeed = SessionPrefs.rgbSpeed(context)
customRgbEnabled = SessionPrefs.customRgbEnabled(context)
trueBlackHighlight = SessionPrefs.trueBlackHighlight(context)
customColors = SessionPrefs.customThemeColors(context)
}
@@ -152,23 +161,28 @@ object Themes {
setCustomColors(context, updated)
}
private fun customPalette(colors: CustomThemeColors): Palette = Palette(
CUSTOM, R.string.theme_custom, R.string.theme_custom_detail,
background = Color(colors.background),
surface = Color(colors.surface),
surfaceVariant = Color(colors.surfaceVariant),
line = Color(colors.line),
line2 = Color(colors.line2),
onBackground = Color(colors.onBackground),
onSurfaceVariant = Color(colors.onSurfaceVariant),
primary = Color(colors.primary),
primary2 = Color(colors.primary),
onPrimary = Color(colors.onPrimary),
signal = Color(colors.signal),
good = Color(colors.good),
error = Color(colors.error),
warning = Color(colors.warning),
)
private fun customPalette(colors: CustomThemeColors, hue: Float? = null): Palette {
val rgbPrimary = hue?.let { Color.hsv(it % 360f, 0.9f, 1f) }
return Palette(
CUSTOM, R.string.theme_custom, R.string.theme_custom_detail,
background = Color(colors.background),
surface = Color(colors.surface),
surfaceVariant = Color(colors.surfaceVariant),
line = Color(colors.line),
line2 = Color(colors.line2),
onBackground = Color(colors.onBackground),
onSurfaceVariant = Color(colors.onSurfaceVariant),
primary = rgbPrimary ?: Color(colors.primary),
primary2 = hue?.let { Color.hsv((it + 60f) % 360f, 0.9f, 1f) } ?: Color(colors.primary),
onPrimary = rgbPrimary?.let { if (it.luminance() > 0.18f) Color(0xFF03111F) else Color.White } ?: Color(colors.onPrimary),
signal = rgbPrimary ?: Color(colors.signal),
good = Color(colors.good),
error = Color(colors.error),
warning = Color(colors.warning),
)
}
fun customRgb(hue: Float): Palette = customPalette(customColors, hue)
fun current(context: Context): Palette {
val id = SessionPrefs.theme(context)
@@ -221,7 +235,7 @@ object Themes {
fun byId(id: String): Palette {
if (id == INNER_GAMER) return innerGamer(rgbHue)
if (id == TRUE_BLACK) return ThemeColors.trueBlack(trueBlackHighlight)
if (id == CUSTOM) return customPalette(customColors)
if (id == CUSTOM) return if (customRgbEnabled) customPalette(customColors, rgbHue) else customPalette(customColors)
if (id == GRADIENT) return ThemeColors.palette(gradientColors.first, gradientColors.second, R.string.theme_gradient, R.string.theme_gradient_detail)
return all.firstOrNull { it.id == id } ?: all[0]
}
@@ -238,18 +252,23 @@ fun DroidDeckTheme(theme: String? = null, appScale: Int = AppUiPrefs.DEFAULT_SCA
val context = LocalContext.current
remember(context) { Themes.loadGradient(context) }
val id = theme ?: SessionPrefs.theme(context)
val solid = if (id == Themes.INNER_GAMER) {
rememberInnerGamerPalette(Themes.rgbSpeed)
} else {
Themes.byId(id)
val animatedHue = when {
id == Themes.INNER_GAMER -> AnimatedThemeHue(Themes.rgbSpeed, "innerGamer")
id == Themes.CUSTOM && Themes.customRgbEnabled -> AnimatedThemeHue(Themes.rgbSpeed, "customThemeRgb")
else -> null
}
DroidDeckThemePalette(solid, appScale, frost, content)
val palette = when (id) {
Themes.INNER_GAMER -> Themes.innerGamer(animatedHue ?: Themes.rgbHue)
Themes.CUSTOM -> if (Themes.customRgbEnabled) Themes.customRgb(animatedHue ?: Themes.rgbHue) else Themes.byId(id)
else -> Themes.byId(id)
}
DroidDeckThemePalette(palette, appScale, frost, content)
}
@Composable
private fun rememberInnerGamerPalette(speed: Int): Palette = key(speed) {
private fun AnimatedThemeHue(speed: Int, label: String): Float = key(speed) {
val start = remember { Themes.rgbHue }
val animatedHue by rememberInfiniteTransition(label = "innerGamer").animateFloat(
val animatedHue by rememberInfiniteTransition(label = label).animateFloat(
start, start + 360f,
infiniteRepeatable(
tween(Themes.rgbCycleMillis(speed).coerceAtLeast(1), easing = LinearEasing),
@@ -263,7 +282,7 @@ private fun rememberInnerGamerPalette(speed: Int): Palette = key(speed) {
}
}
SideEffect { Themes.moveRgbHue(steppedHue) }
Themes.innerGamer(steppedHue)
steppedHue
}
@Composable
@@ -315,3 +334,17 @@ private val ContentDirected = Typography().run {
)
}
@Composable
private fun InnerGamerHue(speed: Int) {
key(speed) { InnerGamerCycle(speed) }
}
@Composable
private fun InnerGamerCycle(speed: Int) {
val start = remember { Themes.rgbHue }
val hue by rememberInfiniteTransition(label = "innerGamer").animateFloat(
start, start + 360f, infiniteRepeatable(tween(Themes.rgbCycleMillis(speed).coerceAtLeast(1), easing = LinearEasing), RepeatMode.Restart), label = "hue",
)
val stepped = ((hue % 360f) / Themes.RGB_HUE_STEP).toInt() * Themes.RGB_HUE_STEP
SideEffect { Themes.moveRgbHue(stepped) }
}
+3
View File
@@ -4359,4 +4359,7 @@
<string name="display_filter_default_profile">استخدام الملف التعريفي الافتراضي: %1$s</string>
<string name="settings_search_history">سجل البحث</string>
<string name="settings_search_history_clear">مسح سجل البحث</string>
<string name="theme_custom_rgb">وضع RGB</string>
<string name="theme_custom_rgb_hint">تدوير اللونين الأساسي والإبراز عبر ألوان قوس قزح.</string>
<string name="theme_custom_rgb_locked">يتم التحكم فيه بواسطة وضع RGB عند تفعيله.</string>
</resources>
@@ -4237,4 +4237,7 @@
<string name="display_filter_default_profile">Usando el perfil predeterminado: %1$s</string>
<string name="settings_search_history">Historial de búsqueda</string>
<string name="settings_search_history_clear">Borrar historial de búsqueda</string>
<string name="theme_custom_rgb">Modo RGB</string>
<string name="theme_custom_rgb_hint">Alterna los colores principal y de resaltado por todo el arcoíris.</string>
<string name="theme_custom_rgb_locked">Controlado por el modo RGB mientras esté activado.</string>
</resources>
+3
View File
@@ -4199,4 +4199,7 @@
<string name="display_filter_default_profile">Използва се профилът по подразбиране: %1$s</string>
<string name="settings_search_history">История на търсенето</string>
<string name="settings_search_history_clear">Изчистване на историята на търсенето</string>
<string name="theme_custom_rgb">RGB режим</string>
<string name="theme_custom_rgb_hint">Превключва основния цвят и цвета за акценти през дъгата.</string>
<string name="theme_custom_rgb_locked">Управлява се от RGB режима, докато е включен.</string>
</resources>
+3
View File
@@ -4279,4 +4279,7 @@
<string name="display_filter_default_profile">Používá se výchozí profil: %1$s</string>
<string name="settings_search_history">Historie hledání</string>
<string name="settings_search_history_clear">Vymazat historii hledání</string>
<string name="theme_custom_rgb">Režim RGB</string>
<string name="theme_custom_rgb_hint">Mění hlavní barvu a barvu zvýraznění v celém spektru duhy.</string>
<string name="theme_custom_rgb_locked">Při zapnutí je řízeno režimem RGB.</string>
</resources>
+3
View File
@@ -4199,4 +4199,7 @@
<string name="display_filter_default_profile">Bruger standardprofilen: %1$s</string>
<string name="settings_search_history">Søgehistorik</string>
<string name="settings_search_history_clear">Ryd søgehistorik</string>
<string name="theme_custom_rgb">RGB-tilstand</string>
<string name="theme_custom_rgb_hint">Skifter primærfarven og fremhævningsfarven gennem regnbuen.</string>
<string name="theme_custom_rgb_locked">Styres af RGB-tilstand, når den er aktiveret.</string>
</resources>
+3
View File
@@ -4199,4 +4199,7 @@
<string name="display_filter_default_profile">Standardprofil wird verwendet: %1$s</string>
<string name="settings_search_history">Suchverlauf</string>
<string name="settings_search_history_clear">Suchverlauf löschen</string>
<string name="theme_custom_rgb">RGB-Modus</string>
<string name="theme_custom_rgb_hint">Lässt die Haupt- und Akzentfarbe durch das gesamte Farbspektrum wechseln.</string>
<string name="theme_custom_rgb_locked">Bei aktiviertem RGB-Modus gesteuert.</string>
</resources>
+3
View File
@@ -4199,4 +4199,7 @@
<string name="display_filter_default_profile">Χρήση προεπιλεγμένου προφίλ: %1$s</string>
<string name="settings_search_history">Ιστορικό αναζήτησης</string>
<string name="settings_search_history_clear">Εκκαθάριση ιστορικού αναζήτησης</string>
<string name="theme_custom_rgb">Λειτουργία RGB</string>
<string name="theme_custom_rgb_hint">Εναλλάσσει το βασικό χρώμα και το χρώμα επισήμανσης σε όλο το ουράνιο τόξο.</string>
<string name="theme_custom_rgb_locked">Ελέγχεται από τη λειτουργία RGB όταν είναι ενεργή.</string>
</resources>
+3
View File
@@ -4239,4 +4239,7 @@
<string name="display_filter_default_profile">Usando el perfil predeterminado: %1$s</string>
<string name="settings_search_history">Historial de búsqueda</string>
<string name="settings_search_history_clear">Borrar historial de búsqueda</string>
<string name="theme_custom_rgb">Modo RGB</string>
<string name="theme_custom_rgb_hint">Alterna los colores principal y de resaltado por todo el arcoíris.</string>
<string name="theme_custom_rgb_locked">Controlado por el modo RGB mientras esté activado.</string>
</resources>
+3
View File
@@ -4199,4 +4199,7 @@
<string name="display_filter_default_profile">Käytössä oletusprofiili: %1$s</string>
<string name="settings_search_history">Hakuhistoria</string>
<string name="settings_search_history_clear">Tyhjennä hakuhistoria</string>
<string name="theme_custom_rgb">RGB-tila</string>
<string name="theme_custom_rgb_hint">Vaihtaa pää- ja korostusväriä sateenkaaren koko värikirjossa.</string>
<string name="theme_custom_rgb_locked">RGB-tila ohjaa tätä, kun se on käytössä.</string>
</resources>
+3
View File
@@ -4238,4 +4238,7 @@
<string name="display_filter_default_profile">Profil par défaut utilisé : %1$s</string>
<string name="settings_search_history">Historique de recherche</string>
<string name="settings_search_history_clear">Effacer l\'historique de recherche</string>
<string name="theme_custom_rgb">Mode RGB</string>
<string name="theme_custom_rgb_hint">Fait défiler les couleurs principale et de mise en évidence dans tout l’arc-en-ciel.</string>
<string name="theme_custom_rgb_locked">Contrôlé par le mode RGB lorsqu’il est activé.</string>
</resources>
+3
View File
@@ -4199,4 +4199,7 @@
<string name="display_filter_default_profile">डिफ़ॉल्ट प्रोफ़ाइल का उपयोग: %1$s</string>
<string name="settings_search_history">खोज इतिहास</string>
<string name="settings_search_history_clear">खोज इतिहास मिटाएं</string>
<string name="theme_custom_rgb">RGB मोड</string>
<string name="theme_custom_rgb_hint">मुख्य और हाइलाइट रंगों को इंद्रधनुष के रंगों में बदलता है।</string>
<string name="theme_custom_rgb_locked">सक्रिय रहने पर RGB मोड द्वारा नियंत्रित।</string>
</resources>
+3
View File
@@ -4199,4 +4199,7 @@
<string name="display_filter_default_profile">Alapértelmezett profil használata: %1$s</string>
<string name="settings_search_history">Keresési előzmények</string>
<string name="settings_search_history_clear">Keresési előzmények törlése</string>
<string name="theme_custom_rgb">RGB mód</string>
<string name="theme_custom_rgb_hint">A fő- és kiemelőszínt végigváltja a szivárvány színein.</string>
<string name="theme_custom_rgb_locked">Bekapcsolt állapotban az RGB mód vezérli.</string>
</resources>
+3
View File
@@ -4169,4 +4169,7 @@
<string name="display_filter_default_profile">Menggunakan profil default: %1$s</string>
<string name="settings_search_history">Riwayat pencarian</string>
<string name="settings_search_history_clear">Hapus riwayat pencarian</string>
<string name="theme_custom_rgb">Mode RGB</string>
<string name="theme_custom_rgb_hint">Menggilir warna utama dan sorotan melalui seluruh spektrum pelangi.</string>
<string name="theme_custom_rgb_locked">Dikendalikan oleh mode RGB saat aktif.</string>
</resources>
+3
View File
@@ -4238,4 +4238,7 @@
<string name="display_filter_default_profile">Profilo predefinito in uso: %1$s</string>
<string name="settings_search_history">Cronologia ricerche</string>
<string name="settings_search_history_clear">Cancella cronologia ricerche</string>
<string name="theme_custom_rgb">Modalità RGB</string>
<string name="theme_custom_rgb_hint">Alterna i colori principale e di evidenziazione lungo tutto l’arcobaleno.</string>
<string name="theme_custom_rgb_locked">Controllato dalla modalità RGB quando è attiva.</string>
</resources>
+3
View File
@@ -4169,4 +4169,7 @@
<string name="display_filter_default_profile">デフォルトプロファイルを使用中: %1$s</string>
<string name="settings_search_history">検索履歴</string>
<string name="settings_search_history_clear">検索履歴を消去</string>
<string name="theme_custom_rgb">RGB モード</string>
<string name="theme_custom_rgb_hint">メインカラーと強調表示の色を虹色に切り替えます。</string>
<string name="theme_custom_rgb_locked">有効時は RGB モードによって制御されます。</string>
</resources>
+3
View File
@@ -4169,4 +4169,7 @@
<string name="display_filter_default_profile">기본 프로필 사용 중: %1$s</string>
<string name="settings_search_history">검색 기록</string>
<string name="settings_search_history_clear">검색 기록 지우기</string>
<string name="theme_custom_rgb">RGB 모드</string>
<string name="theme_custom_rgb_hint">기본 색상과 강조 색상을 무지개 색상으로 순환합니다.</string>
<string name="theme_custom_rgb_locked">활성화된 동안 RGB 모드로 제어됩니다.</string>
</resources>
+3
View File
@@ -4169,4 +4169,7 @@
<string name="display_filter_default_profile">Menggunakan profil lalai: %1$s</string>
<string name="settings_search_history">Sejarah carian</string>
<string name="settings_search_history_clear">Kosongkan sejarah carian</string>
<string name="theme_custom_rgb">Mod RGB</string>
<string name="theme_custom_rgb_hint">Mengitar warna utama dan sorotan melalui seluruh spektrum pelangi.</string>
<string name="theme_custom_rgb_locked">Dikawal oleh mod RGB apabila diaktifkan.</string>
</resources>
+3
View File
@@ -4199,4 +4199,7 @@
<string name="display_filter_default_profile">Bruker standardprofilen: %1$s</string>
<string name="settings_search_history">Søkelogg</string>
<string name="settings_search_history_clear">Tøm søkeloggen</string>
<string name="theme_custom_rgb">RGB-modus</string>
<string name="theme_custom_rgb_hint">Veksler hovedfargen og fremhevingsfargen gjennom regnbuens farger.</string>
<string name="theme_custom_rgb_locked">Styres av RGB-modus når den er aktivert.</string>
</resources>
+3
View File
@@ -4199,4 +4199,7 @@
<string name="display_filter_default_profile">Standaardprofiel in gebruik: %1$s</string>
<string name="settings_search_history">Zoekgeschiedenis</string>
<string name="settings_search_history_clear">Zoekgeschiedenis wissen</string>
<string name="theme_custom_rgb">RGB-modus</string>
<string name="theme_custom_rgb_hint">Laat de primaire kleur en accentkleur door alle regenboogkleuren wisselen.</string>
<string name="theme_custom_rgb_locked">Wordt geregeld door de RGB-modus zolang deze is ingeschakeld.</string>
</resources>
+3
View File
@@ -4279,4 +4279,7 @@
<string name="display_filter_default_profile">Używany profil domyślny: %1$s</string>
<string name="settings_search_history">Historia wyszukiwania</string>
<string name="settings_search_history_clear">Wyczyść historię wyszukiwania</string>
<string name="theme_custom_rgb">Tryb RGB</string>
<string name="theme_custom_rgb_hint">Zmienia kolor główny i kolor wyróżnienia przez wszystkie barwy tęczy.</string>
<string name="theme_custom_rgb_locked">Po włączeniu steruje tym tryb RGB.</string>
</resources>
@@ -4238,4 +4238,7 @@
<string name="display_filter_default_profile">Perfil predefinido em utilização: %1$s</string>
<string name="settings_search_history">Histórico de pesquisa</string>
<string name="settings_search_history_clear">Limpar histórico de pesquisa</string>
<string name="theme_custom_rgb">Modo RGB</string>
<string name="theme_custom_rgb_hint">Percorre as cores principal e de destaque por todo o arco-íris.</string>
<string name="theme_custom_rgb_locked">Controlado pelo modo RGB enquanto estiver ativado.</string>
</resources>
+3
View File
@@ -4246,4 +4246,7 @@
<string name="display_filter_default_profile">Perfil predefinido em uso: %1$s</string>
<string name="settings_search_history">Histórico de pesquisa</string>
<string name="settings_search_history_clear">Limpar histórico de pesquisa</string>
<string name="theme_custom_rgb">Modo RGB</string>
<string name="theme_custom_rgb_hint">Alterna as cores principal e de destaque por todo o arco-íris.</string>
<string name="theme_custom_rgb_locked">Controlado pelo modo RGB enquanto estiver ativado.</string>
</resources>
+3
View File
@@ -4239,4 +4239,7 @@
<string name="display_filter_default_profile">Se folosește profilul implicit: %1$s</string>
<string name="settings_search_history">Istoricul căutărilor</string>
<string name="settings_search_history_clear">Șterge istoricul căutărilor</string>
<string name="theme_custom_rgb">Mod RGB</string>
<string name="theme_custom_rgb_hint">Parcurge culorile curcubeului pentru culoarea principală și cea de evidențiere.</string>
<string name="theme_custom_rgb_locked">Este controlat de modul RGB cât timp este activat.</string>
</resources>
+3
View File
@@ -4280,4 +4280,7 @@
<string name="display_filter_default_profile">Используется профиль по умолчанию: %1$s</string>
<string name="settings_search_history">История поиска</string>
<string name="settings_search_history_clear">Очистить историю поиска</string>
<string name="theme_custom_rgb">Режим RGB</string>
<string name="theme_custom_rgb_hint">Переключает основной цвет и цвет выделения по всему спектру радуги.</string>
<string name="theme_custom_rgb_locked">Управляется режимом RGB, пока он включён.</string>
</resources>
+3
View File
@@ -4199,4 +4199,7 @@
<string name="display_filter_default_profile">Använder standardprofilen: %1$s</string>
<string name="settings_search_history">Sökhistorik</string>
<string name="settings_search_history_clear">Rensa sökhistorik</string>
<string name="theme_custom_rgb">RGB-läge</string>
<string name="theme_custom_rgb_hint">Växlar huvudfärgen och markeringsfärgen genom regnbågens färger.</string>
<string name="theme_custom_rgb_locked">Styrs av RGB-läget när det är aktiverat.</string>
</resources>
+3
View File
@@ -4169,4 +4169,7 @@
<string name="display_filter_default_profile">ใช้โปรไฟล์เริ่มต้น: %1$s</string>
<string name="settings_search_history">ประวัติการค้นหา</string>
<string name="settings_search_history_clear">ล้างประวัติการค้นหา</string>
<string name="theme_custom_rgb">โหมด RGB</string>
<string name="theme_custom_rgb_hint">เปลี่ยนสีหลักและสีเน้นวนไปตามสีรุ้ง</string>
<string name="theme_custom_rgb_locked">ควบคุมโดยโหมด RGB ขณะเปิดใช้งาน</string>
</resources>
+3
View File
@@ -4199,4 +4199,7 @@
<string name="display_filter_default_profile">Varsayılan profil kullanılıyor: %1$s</string>
<string name="settings_search_history">Arama geçmişi</string>
<string name="settings_search_history_clear">Arama geçmişini temizle</string>
<string name="theme_custom_rgb">RGB modu</string>
<string name="theme_custom_rgb_hint">Ana rengi ve vurgu rengini gökkuşağının tüm renkleri arasında döndürür.</string>
<string name="theme_custom_rgb_locked">Etkin olduğunda RGB modu tarafından kontrol edilir.</string>
</resources>
+3
View File
@@ -4279,4 +4279,7 @@
<string name="display_filter_default_profile">Використовується профіль за замовчуванням: %1$s</string>
<string name="settings_search_history">Історія пошуку</string>
<string name="settings_search_history_clear">Очистити історію пошуку</string>
<string name="theme_custom_rgb">Режим RGB</string>
<string name="theme_custom_rgb_hint">Змінює основний колір і колір виділення в усьому спектрі веселки.</string>
<string name="theme_custom_rgb_locked">Керується режимом RGB, коли його ввімкнено.</string>
</resources>
+3
View File
@@ -4169,4 +4169,7 @@
<string name="display_filter_default_profile">Đang dùng hồ sơ mặc định: %1$s</string>
<string name="settings_search_history">Lịch sử tìm kiếm</string>
<string name="settings_search_history_clear">Xóa lịch sử tìm kiếm</string>
<string name="theme_custom_rgb">Chế độ RGB</string>
<string name="theme_custom_rgb_hint">Luân phiên màu chính và màu nhấn qua toàn bộ dải màu cầu vồng.</string>
<string name="theme_custom_rgb_locked">Được điều khiển bởi chế độ RGB khi bật.</string>
</resources>
@@ -4167,4 +4167,7 @@
<string name="display_filter_default_profile">正在使用默认配置:%1$s</string>
<string name="settings_search_history">搜索历史</string>
<string name="settings_search_history_clear">清除搜索历史</string>
<string name="theme_custom_rgb">RGB 模式</string>
<string name="theme_custom_rgb_hint">让主色和强调色循环显示彩虹色谱。</string>
<string name="theme_custom_rgb_locked">启用时由 RGB 模式控制。</string>
</resources>
@@ -4167,4 +4167,7 @@
<string name="display_filter_default_profile">正在使用預設設定檔:%1$s</string>
<string name="settings_search_history">搜尋記錄</string>
<string name="settings_search_history_clear">清除搜尋記錄</string>
<string name="theme_custom_rgb">RGB 模式</string>
<string name="theme_custom_rgb_hint">讓主要顏色和強調色循環顯示彩虹色譜。</string>
<string name="theme_custom_rgb_locked">啟用時由 RGB 模式控制。</string>
</resources>
@@ -4167,4 +4167,7 @@
<string name="display_filter_default_profile">正在使用預設設定檔:%1$s</string>
<string name="settings_search_history">搜尋記錄</string>
<string name="settings_search_history_clear">清除搜尋記錄</string>
<string name="theme_custom_rgb">RGB 模式</string>
<string name="theme_custom_rgb_hint">讓主要顏色和強調色循環顯示彩虹色譜。</string>
<string name="theme_custom_rgb_locked">啟用時由 RGB 模式控制。</string>
</resources>
+3
View File
@@ -2095,6 +2095,9 @@
<string name="theme_color_hex">Hex color</string>
<string name="theme_custom">Custom</string>
<string name="theme_custom_detail">Choose each interface color independently.</string>
<string name="theme_custom_rgb">RGB mode</string>
<string name="theme_custom_rgb_hint">Cycle the primary and signal colors through the rainbow.</string>
<string name="theme_custom_rgb_locked">Controlled by RGB mode while enabled.</string>
<string name="theme_custom_background">Background</string>
<string name="theme_custom_surface">Panels</string>
<string name="theme_custom_surface_variant">Raised panels</string>