Initialize the basic framework

This commit is contained in:
2024-03-14 17:09:28 +08:00
commit 51261e5be9
90 changed files with 3926 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package top.fatweb.oxygen.toolbox.model
enum class DarkThemeConfig {
FOLLOW_SYSTEM,
LIGHT,
DARK,
}

View File

@@ -0,0 +1,7 @@
package top.fatweb.oxygen.toolbox.model
enum class LanguageConfig(val code: String? = null) {
FOLLOW_SYSTEM,
CHINESE("cn"),
ENGLISH("en")
}

View File

@@ -0,0 +1,6 @@
package top.fatweb.oxygen.toolbox.model
enum class LaunchPageConfig {
TOOLS,
STAR
}

View File

@@ -0,0 +1,6 @@
package top.fatweb.oxygen.toolbox.model
enum class ThemeBrandConfig {
DEFAULT,
ANDROID
}

View File

@@ -0,0 +1,9 @@
package top.fatweb.oxygen.toolbox.model
data class UserData(
val languageConfig: LanguageConfig,
val launchPageConfig: LaunchPageConfig,
val themeBrandConfig: ThemeBrandConfig,
val darkThemeConfig: DarkThemeConfig,
val useDynamicColor: Boolean
)