iOS: hide vocals controls without stems, paint Duo hinge gap, playlist bar per drawing, drop Album Color Background, Colour to Color

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-11-20 09:20:18 -08:00
1 parent 0516362461
commit c9fa90a840
22 files changed
+70 -112

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ A Plex music player for the OnePlus 15 that plays the stems stemd separates on y
unraid server: per-stem faders, mute/solo, karaoke-style presets, a master volume drawn
over a Plexamp-style waveform seek bar, a 10-band graphic EQ plus Equalizer APO-style
parametric filters with per-device profiles, and an
iOS look in Black, Dark or White (flat colours, no gradients).
iOS look in Black, Dark or White (flat colors, no gradients).
## Install
@@ -48,7 +48,7 @@ import java.io.IOException
import java.util.concurrent.CopyOnWriteArrayList
import java.util.concurrent.atomic.AtomicBoolean
/** Display order and colours for stems, matching the desktop app. */
/** Display order and colors for stems, matching the desktop app. */
object Stems {
val ORDER = listOf("vocals", "drums", "bass", "guitar", "piano", "other", "instrumental", "mix")
private val COLORS = mapOf(
@@ -276,7 +276,7 @@ fun Cell(
}
}
/** Settings.app-style coloured rounded-square icon. */
/** Settings.app-style colored rounded-square icon. */
@Composable
fun SettingsIcon(vector: ImageVector, bg: Color) {
Box(Modifier.size(30.dp).clip(RoundedCornerShape(7.dp)).background(bg), contentAlignment = Alignment.Center) {
@@ -113,7 +113,7 @@ private fun newFilter(type: FilterType) = EqFilter(EqController.newFilterId(), t
/**
* The EQ's response, log frequency across, dB up. Left and right are drawn separately when
* some filter applies to only one of them (right in orange). [nodes] are drawn as numbered
* handles; [highlight] gets its own curve in the accent colour.
* handles; [highlight] gets its own curve in the accent color.
*/
@Composable
fun EqCurve(
@@ -102,8 +102,8 @@ import kotlin.math.min
enum class NpPanel { Art, Mixer, Queue }
/**
* A solid colour from the album art, pushed dark (or light for the White theme) so text
* stays readable. One flat colour: no gradients.
* A solid color from the album art, pushed dark (or light for the White theme) so text
* stays readable. One flat color: no gradients.
*/
@Composable
private fun albumColor(thumb: String?, enabled: Boolean, dark: Boolean): Color? {
@@ -400,8 +400,8 @@ fun AppearanceScreen() {
}
}
})
section("np", header = "Now Playing", footer = "Paints the Now Playing screen in one solid colour taken from the album art.", rows = listOf {
Cell("Album Colour Background", trailing = { IosSwitch(albumColor, { s.albumColorNowPlaying.value = it }) })
section("np", header = "Now Playing", footer = "Paints the Now Playing screen in one solid color taken from the album art.", rows = listOf {
Cell("Album Color Background", trailing = { IosSwitch(albumColor, { s.albumColorNowPlaying.value = it }) })
})
}
}
@@ -24,7 +24,7 @@ import com.stemify.mobile.core.Accent
import com.stemify.mobile.core.ThemeMode
import kotlin.math.exp
/** iOS semantic colours, flattened to solid values for each scheme. */
/** iOS semantic colors, flattened to solid values for each scheme. */
@Immutable
data class Palette(
val dark: Boolean,
@@ -130,7 +130,7 @@ fun IosTheme(mode: ThemeMode, accent: Accent, content: @Composable () -> Unit) {
CompositionLocalProvider(LocalPalette provides p, content = content)
}
/** BasicText with iOS defaults: label colour, single line, tail ellipsis. */
/** BasicText with iOS defaults: label color, single line, tail ellipsis. */
@Composable
fun Txt(
text: String,