Compare commits

..

1 Commits

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

View File

@ -130,7 +130,6 @@
mt-5 mt-5
list-none list-none
border-b-2 border-gray-200 border-solid border-b-2 border-gray-200 border-solid
dark:border-gray-600
" "
> >
<!-- Tabs --> <!-- Tabs -->

View File

@ -127,7 +127,6 @@
mt-5 mt-5
list-none list-none
border-b-2 border-gray-200 border-solid border-b-2 border-gray-200 border-solid
dark:border-gray-600
" "
> >
<!-- Tabs --> <!-- Tabs -->

View File

@ -121,7 +121,6 @@
mt-5 mt-5
list-none list-none
border-b-2 border-gray-200 border-solid border-b-2 border-gray-200 border-solid
dark:border-gray-600
" "
> >
<!-- Tabs --> <!-- Tabs -->

View File

@ -12,7 +12,7 @@
> >
<ListboxLabel <ListboxLabel
v-if="label" 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 }} {{ label }}
</ListboxLabel> </ListboxLabel>
@ -28,6 +28,7 @@
pr-10 pr-10
text-left text-left
bg-white bg-white
dark:bg-gray-700
border border-gray-200 border border-gray-200
rounded-md rounded-md
shadow-sm shadow-sm
@ -89,6 +90,7 @@
ring-1 ring-black ring-opacity-5 ring-1 ring-black ring-opacity-5
focus:outline-none focus:outline-none
sm:text-sm sm:text-sm
dark:bg-gray-700
" "
> >
<ListboxOption <ListboxOption
@ -100,7 +102,7 @@
> >
<li <li
:class="[ :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', 'cursor-default select-none relative py-2 pl-3 pr-9',
]" ]"
> >

View File

@ -7,7 +7,7 @@
> >
<TabList <TabList
:class="[ :class="[
'flex border-b border-grey-light dark:border-gray-600', 'flex border-b border-grey-light',
'relative overflow-x-auto overflow-y-hidden', 'relative overflow-x-auto overflow-y-hidden',
'lg:pb-0 lg:ml-0', 'lg:pb-0 lg:ml-0',
]" ]"
@ -22,8 +22,8 @@
:class="[ :class="[
'px-8 py-2 text-sm leading-5 font-medium flex items-center relative border-b-2 mt-4 focus:outline-none whitespace-nowrap', 'px-8 py-2 text-sm leading-5 font-medium flex items-center relative border-b-2 mt-4 focus:outline-none whitespace-nowrap',
selected selected
? 'border-primary-400 text-black font-medium dark:text-white' ? ' border-primary-400 text-black font-medium'
: 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:border-gray-500', : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300',
]" ]"
> >
{{ tab.title }} {{ tab.title }}