All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.softartdev.theme.pref.ThemeEnum.kt Maven / Gradle / Ivy

Go to download

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