Compare commits

..

2 Commits

Author SHA1 Message Date
bd8dd3f7c4 fix tab-list border in dark-mode 2023-03-28 12:22:36 +05:30
d221431bd7 add dark mode in base tabGroup and tab 2023-03-23 16:28:46 +05:30
5 changed files with 7 additions and 4 deletions

View File

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

View File

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

View File

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

View File

@ -146,7 +146,7 @@ const props = defineProps({
defaultInputClass: {
type: String,
default:
'border-2 dark:bg-gray-700 dark:border-gray-600 dark:text-white font-base pl-8 py-2 outline-none focus:ring-primary-400 focus:outline-none focus:border-primary-400 block w-full sm:text-sm border-gray-200 rounded-md text-black',
'border-2 font-base pl-8 py-2 outline-none focus:ring-primary-400 focus:outline-none focus:border-primary-400 block w-full sm:text-sm border-gray-200 rounded-md text-black',
},
time24hr: {
type: Boolean,

View File

@ -7,7 +7,7 @@
>
<TabList
:class="[
'flex border-b border-grey-light',
'flex border-b border-grey-light dark:border-gray-600',
'relative overflow-x-auto overflow-y-hidden',
'lg:pb-0 lg:ml-0',
]"
@ -22,8 +22,8 @@
: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',
selected
? ' border-primary-400 text-black font-medium'
: 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300',
? 'border-primary-400 text-black font-medium dark:text-white'
: 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:border-gray-500',
]"
>
{{ tab.title }}