feat: dynamic colour, and android maps dark theme

This commit is contained in:
LavaDesu 2025-04-29 16:13:29 +10:00
parent 34923ce743
commit ea08db364e
Signed by: cilly
GPG key ID: 6500251E087653C9
5 changed files with 72 additions and 2 deletions

View file

@ -0,0 +1,12 @@
package moe.lava.banksia.native
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.runtime.Composable
@Composable
expect fun BanksiaTheme(
darkTheme: Boolean = isSystemInDarkTheme(),
// Dynamic color is available on Android 12+
dynamicColor: Boolean = true,
content: @Composable () -> Unit
)