add dark mode toggle in installation step

This commit is contained in:
yashkanakiya
2023-08-21 13:14:20 +05:30
parent a03d4138fd
commit b2d181975c
3 changed files with 7 additions and 4 deletions

View File

@ -14,7 +14,7 @@
"
@click="onChange"
>
<BaseIcon v-if="!globalStore.isDarkModeOn" class="h-5 w-5 text-black" name="SunIcon" />
<BaseIcon v-if="!globalStore.isDarkModeOn" class="h-5 w-5 text-yellow-500" name="SunIcon" />
<BaseIcon v-else class="h-5 w-5 text-white" name="MoonIcon" />
</button>
</template>