Compare commits

..

1 Commits

Author SHA1 Message Date
9260aa6720 add dark mode in BaseFilterWrapper 2023-03-25 17:00:37 +05:30
2 changed files with 8 additions and 7 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">
<div v-show="show" class="relative z-10 p-4 md:p-8 bg-gray-200 rounded dark:bg-gray-800">
<slot name="filter-header" />
<label
@ -20,6 +20,7 @@
hover:text-gray-700
top-2.5
right-3.5
dark:text-gray-300
"
@click="$emit('clear')"
>

View File

@ -19,7 +19,7 @@
]"
aria-hidden="true"
>
<span class="rounded-full bg-white w-1.5 h-1.5" :class="{ 'bg-white': checked }"/>
<span class="rounded-full bg-white w-1.5 h-1.5" />
</span>
<div class="flex flex-col ml-3">
<RadioGroupLabel
@ -66,11 +66,11 @@ const props = defineProps({
},
checkedStateClass: {
type: String,
default: 'bg-primary-600 ',
default: 'bg-primary-600',
},
unCheckedStateClass: {
type: String,
default: 'bg-white dark:bg-transparent',
default: 'bg-white ',
},
optionGroupActiveStateClass: {
type: String,
@ -78,16 +78,16 @@ const props = defineProps({
},
checkedStateLabelClass: {
type: String,
default: 'text-primary-900 dark:text-primary-400',
default: 'text-primary-900 ',
},
unCheckedStateLabelClass: {
type: String,
default: 'text-gray-900 dark:text-white',
default: 'text-gray-900',
},
optionGroupClass: {
type: String,
default:
'h-4 w-4 mt-0.5 cursor-pointer rounded-full border flex items-center justify-center dark:border-gray-600',
'h-4 w-4 mt-0.5 cursor-pointer rounded-full border flex items-center justify-center',
},
optionGroupLabelClass: {
type: String,