Pass the torch... initial commit.

This commit is contained in:
Kgothatso Ngako
2026-03-23 01:41:39 +02:00
commit 0652c6add4
68 changed files with 2794 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package ac.aux.compose
class JVMPlatform: Platform {
override val name: String = "Java ${System.getProperty("java.version")}"
}
actual fun getPlatform(): Platform = JVMPlatform()

View File

@@ -0,0 +1,13 @@
package ac.aux.compose
import androidx.compose.ui.window.Window
import androidx.compose.ui.window.application
fun main() = application {
Window(
onCloseRequest = ::exitApplication,
title = "Aux",
) {
AuxApp()
}
}

View File

@@ -0,0 +1,17 @@
package ac.aux.compose.ui.theme
import androidx.compose.material3.ColorScheme
import androidx.compose.runtime.Composable
@Composable
actual fun themeColorScheme(
darkTheme: Boolean,
dynamicColor: Boolean,
darkScheme: ColorScheme,
lightScheme: ColorScheme
): ColorScheme {
return when {
darkTheme -> darkScheme
else -> lightScheme
}
}