Compare commits

..

2 Commits

Author SHA1 Message Date
df19a55ff7 add dark mode in BaseDescriptionListItem 2023-03-27 15:24:15 +05:30
5504aa1c41 add dark mode in BaseDivider 2023-03-27 15:23:42 +05:30
3 changed files with 15 additions and 21 deletions

View File

@ -10,7 +10,7 @@
{{ label }} {{ label }}
</BaseLabel> </BaseLabel>
<p class="text-sm font-bold leading-5 text-black non-italic"> <p class="text-sm font-bold leading-5 text-black non-italic dark:text-white">
{{ value }} {{ value }}
<slot /> <slot />

View File

@ -1,3 +1,3 @@
<template> <template>
<hr class="w-full text-gray-300" /> <hr class="w-full text-gray-300 dark:bg-gray-600" />
</template> </template>

View File

@ -1,24 +1,18 @@
<template> <template>
<div class="flex flex-col items-center justify-center mt-16"> <div class="flex flex-col items-center justify-center mt-16">
<div class="relative"> <div class="flex flex-col items-center justify-center">
<BaseDarkHighlight class="bg-highlight/[.07] top-2" /> <slot></slot>
</div>
<div class="relative z-5 flex flex-col items-center"> <div class="mt-2">
<div class="flex flex-col items-center justify-center"> <label class="font-medium">{{ title }}</label>
<slot /> </div>
</div> <div class="mt-2">
<div class="mt-2"> <label class="text-gray-500">
<label class="font-medium">{{ title }}</label> {{ description }}
</div> </label>
<div class="mt-2 text-center md:text-left"> </div>
<label class="text-gray-500 dark:text-gray-400"> <div class="mt-6">
{{ description }} <slot name="actions" />
</label>
</div>
<div class="mt-6">
<slot name="actions" />
</div>
</div>
</div> </div>
</div> </div>
</template> </template>