feat(ui): initial channel browser and some ui groundwork

This commit is contained in:
Cilly Leang 2026-01-29 00:51:59 +11:00
parent 41f2b9782a
commit c5cf0b5aa7
Signed by: cilly
GPG key ID: 6500251E087653C9
11 changed files with 358 additions and 3 deletions

View file

@ -0,0 +1,17 @@
package moe.lava.neon.ui
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.ColorScheme
import androidx.compose.material3.ExperimentalMaterial3ExpressiveApi
import androidx.compose.material3.darkColorScheme
import androidx.compose.material3.expressiveLightColorScheme
import androidx.compose.runtime.Composable
@OptIn(ExperimentalMaterial3ExpressiveApi::class)
@Composable
actual fun getColorScheme(): ColorScheme {
return when (isSystemInDarkTheme()) {
true -> darkColorScheme()
false -> expressiveLightColorScheme()
}
}