mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
fix color in customer light-dark button
This commit is contained in:
@ -2,22 +2,20 @@
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="
|
class="
|
||||||
bg-white
|
flex
|
||||||
p-1.5
|
h-8
|
||||||
rounded-full
|
w-8
|
||||||
text-gray-400
|
items-center
|
||||||
hover:text-gray-500
|
justify-center
|
||||||
focus:outline-none
|
rounded-md
|
||||||
focus:ring-2
|
transition
|
||||||
focus:ring-primary-500
|
hover:bg-zinc-900/5
|
||||||
dark:bg-transparent
|
dark:hover:bg-white/5
|
||||||
dark:focus:ring-gray-500
|
|
||||||
"
|
"
|
||||||
@click="onChange"
|
@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" />
|
||||||
<BaseIcon v-else class="h-5 w-5 text-primary-400" name="MoonIcon" />
|
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
|
|||||||
Reference in New Issue
Block a user