Compare commits

..

1 Commits

Author SHA1 Message Date
ab998dec1c add dark mode in BreadCrumb and PageHeader. 2023-03-23 12:09:57 +05:30
4 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<template>
<nav>
<ol class="flex flex-wrap py-4 text-gray-900 rounded list-reset">
<ol class="flex flex-wrap py-4 text-gray-900 rounded list-reset dark:text-gray-400">
<slot />
</ol>
</nav>

View File

@ -8,7 +8,9 @@
font-medium
leading-5
text-gray-900
dark:text-gray-400
outline-none
dark:focus:ring-offset-gray-900
focus:ring-2 focus:ring-offset-2 focus:ring-primary-400
"
:to="to"

View File

@ -15,12 +15,12 @@
v-if="label"
:for="id"
:class="`font-medium ${
disabled ? 'text-gray-400 cursor-not-allowed' : 'text-gray-600 dark:text-white'
disabled ? 'text-gray-400 cursor-not-allowed' : 'text-gray-600'
} cursor-pointer `"
>
{{ label }}
</label>
<p v-if="description" class="text-gray-500 dark:text-gray-400">{{ description }}</p>
<p v-if="description" class="text-gray-500">{{ description }}</p>
</div>
</div>
</template>
@ -51,7 +51,7 @@ const props = defineProps({
},
checkboxClass: {
type: String,
default: 'w-4 h-4 border-gray-300 rounded cursor-pointer dark:bg-gray-600 dark:border-gray-500',
default: 'w-4 h-4 border-gray-300 rounded cursor-pointer',
},
setInitialValue: {
type: Boolean,

View File

@ -1,7 +1,7 @@
<template>
<div class="flex flex-wrap justify-between">
<div>
<h3 class="text-2xl font-bold text-left text-black">
<h3 class="text-2xl font-bold text-left text-black dark:text-white">
{{ title }}
</h3>
<slot />