fix password eye icon and minor fix in dark mode (#1261)

This commit is contained in:
Yash Kanakiya
2023-08-22 17:56:23 +05:30
committed by GitHub
parent 45aaee72d8
commit d1ab4a8021
18 changed files with 79 additions and 165 deletions

View File

@ -23,23 +23,11 @@
>
<BaseInput
v-model="loginData.password"
:type="isShowPassword ? 'text' : 'password'"
type="password"
name="password"
:invalid="v$.password.$error"
@input="v$.password.$touch()"
>
<template #right>
<EyeOffIcon
v-if="isShowPassword"
class="w-5 h-5 mr-1 text-gray-500 cursor-pointer"
@click="isShowPassword = !isShowPassword"
/>
<EyeIcon
v-else
class="w-5 h-5 mr-1 text-gray-500 cursor-pointer"
@click="isShowPassword = !isShowPassword"
/> </template
></BaseInput>
/>
</BaseInputGroup>
<BaseInputGroup
@ -93,7 +81,6 @@ const loginData = reactive({
const globalStore = useGlobalStore()
let isShowPassword = ref(false)
let isLoading = ref(false)
const rules = computed(() => {