Pass the torch... initial commit.

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

No files matched your search

@@ -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()
@@ -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()
}
}
@@ -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
}
}