package pl.firmatpp.kierowca.ui.theme

enum class AppThemeMode(val storedValue: String) {
    Current("current"),
    Material3("material3");

    companion object {
        val Default: AppThemeMode = Material3

        fun fromStoredValue(value: String?): AppThemeMode =
            entries.firstOrNull { it.storedValue == value } ?: Default
    }
}
