Skip to content
Snippets Groups Projects
Commit 3e2be271 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

refactor: default to default style when none is set

parent 7a84de92
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,8 @@
'tw-border-rose-200 tw-bg-rose-50 tw-text-rose-950 dark:tw-bg-rose-800 dark:tw-border-rose-800 dark:tw-text-rose-50':
isError,
'tw-border-emerald-200 tw-bg-emerald-50 tw-text-emerald-950': isSuccess,
'tw-border-gray-200 tw-bg-white tw-text-gray-950': isDefault,
'tw-border-gray-200 tw-bg-white tw-text-gray-950':
isDefault || (!isWarning && !isSuccess && !isError),
}"
>
<p v-if="title" class="tw-font-semibold tw-mb-1">{{ title }}</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment