Compare commits

..

2 Commits

Author SHA1 Message Date
yashkanakiya
9d49d7f1b1 fix switch problem in mobile and installation step 2023-08-23 14:22:32 +05:30
Yash Kanakiya
d1ab4a8021 fix password eye icon and minor fix in dark mode (#1261) 2023-08-22 17:56:23 +05:30

View File

@@ -16,6 +16,13 @@ defineProps({
const globalStore = useGlobalStore()
const isDark = ref(
localStorage.getItem('theme') === 'dark'
|| document.documentElement.classList.contains('dark'),
)
globalStore.isDarkModeOn = isDark
const enabled = computed({
get: () => globalStore.isDarkModeOn,
set: (value) => {