commonMain.com.softartdev.theme.pref.ThemeEnum.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of theme-prefs Show documentation
Show all versions of theme-prefs Show documentation
Kotlin Multiplatform library for easy switching Dark/Light Material themes on Compose.
The newest version!
package com.softartdev.theme.pref
import io.github.softartdev.theme_prefs.generated.resources.Res
import io.github.softartdev.theme_prefs.generated.resources.dark
import io.github.softartdev.theme_prefs.generated.resources.light
import io.github.softartdev.theme_prefs.generated.resources.system_default
import org.jetbrains.compose.resources.StringResource
enum class ThemeEnum(val stringRes: StringResource) {
Light(Res.string.light),
Dark(Res.string.dark),
SystemDefault(Res.string.system_default)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy