Compare commits

..

1 Commits

Author SHA1 Message Date
yashkanakiya
982125a199 Add dark mode in BaseErrorAlert 2023-03-27 13:47:58 +05:30
3 changed files with 12 additions and 5 deletions

View File

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

View File

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

View File

@@ -1,11 +1,18 @@
<template>
<div class="rounded-md bg-red-50 p-4">
<div
class="
rounded-md
bg-red-50
p-4
dark:border dark:border-red-400 dark:bg-transparent
"
>
<div class="flex">
<div class="shrink-0">
<XCircleIcon class="h-5 w-5 text-red-400" aria-hidden="true" />
<XCircleIcon class="h-5 w-5 text-red-400 dark:text-red-500" aria-hidden="true" />
</div>
<div class="ml-3">
<h3 class="text-sm font-medium text-red-800">
<h3 class="text-sm font-medium text-red-800 dark:text-red-500">
{{ errorTitle }}
</h3>
<div class="mt-2 text-sm text-red-700">