refactor: revamp the importers & exporters systems to be reused (#3425)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
This commit is contained in:
@@ -31,7 +31,8 @@ const applyColorMode = (app: App) => {
|
||||
const selection = computed<Exclude<HoppBgColor, "system">>(() => {
|
||||
if (currentLocalPreference.value === "system") {
|
||||
return systemPrefersDark.value ? "dark" : "light"
|
||||
} else return currentLocalPreference.value
|
||||
}
|
||||
return currentLocalPreference.value
|
||||
})
|
||||
|
||||
watch(
|
||||
|
||||
Reference in New Issue
Block a user