Compare commits

..

1 Commits

Author SHA1 Message Date
5116ba3ee1 add dark mode in BaseSelectInput 2023-03-25 15:13:27 +05:30
2 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,7 @@
leave-from-class="opacity-100"
leave-to-class="opacity-0"
>
<div v-show="show" class="relative z-10 p-4 md:p-8 bg-gray-200 rounded dark:bg-gray-800">
<div v-show="show" class="relative z-10 p-4 md:p-8 bg-gray-200 rounded">
<slot name="filter-header" />
<label
@ -20,7 +20,6 @@
hover:text-gray-700
top-2.5
right-3.5
dark:text-gray-300
"
@click="$emit('clear')"
>

View File

@ -12,7 +12,7 @@
>
<ListboxLabel
v-if="label"
class="block text-sm not-italic font-medium text-gray-800 mb-0.5"
class="block text-sm not-italic font-medium text-gray-800 mb-0.5 dark:text-white"
>
{{ label }}
</ListboxLabel>
@ -28,6 +28,7 @@
pr-10
text-left
bg-white
dark:bg-gray-700
border border-gray-200
rounded-md
shadow-sm
@ -89,6 +90,7 @@
ring-1 ring-black ring-opacity-5
focus:outline-none
sm:text-sm
dark:bg-gray-700
"
>
<ListboxOption
@ -100,7 +102,7 @@
>
<li
:class="[
active ? 'text-white bg-primary-600' : 'text-gray-900',
active ? 'text-white bg-primary-600' : 'text-gray-900 dark:text-white',
'cursor-default select-none relative py-2 pl-3 pr-9',
]"
>