mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
style: adjust dark mode style
This commit is contained in:
@@ -21,7 +21,7 @@ if (isFirefox) {
|
||||
setTimeout(() => {
|
||||
document.documentElement.style.opacity = '1'
|
||||
// document.documentElement.style.transition = 'unset'
|
||||
}, 800)
|
||||
}, 500)
|
||||
|
||||
isFirstScriptExecute = false
|
||||
})
|
||||
@@ -32,7 +32,7 @@ else {
|
||||
setTimeout(() => {
|
||||
document.documentElement.style.opacity = '1'
|
||||
// document.documentElement.style.transition = 'unset'
|
||||
}, 800)
|
||||
}, 500)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ import Anime from './Anime/Anime.vue'
|
||||
import History from './History/History.vue'
|
||||
import WatchLater from './WatchLater/WatchLater.vue'
|
||||
import Favorites from './Favorites/Favorites.vue'
|
||||
import Video from './Video/Video.vue'
|
||||
import { accessKey, settings } from '~/logic'
|
||||
import '~/styles/index.ts'
|
||||
import { AppPage, LanguageType } from '~/enums/appEnums'
|
||||
@@ -37,7 +36,7 @@ const isDark = useDark({
|
||||
},
|
||||
})
|
||||
const toggleDark = useToggle(isDark)
|
||||
const pages = { Home, Search, Anime, History, WatchLater, Favorites, Video }
|
||||
const pages = { Home, Search, Anime, History, WatchLater, Favorites }
|
||||
const mainAppRef = ref<HTMLElement>() as Ref<HTMLElement>
|
||||
const mainAppOpacity = ref<number>(0)
|
||||
const showTopbarMask = ref<boolean>(false)
|
||||
|
||||
Reference in New Issue
Block a user