Compare commits

..

4 Commits

4 changed files with 31 additions and 11 deletions

View File

@ -1,5 +1,9 @@
<template>
<div class="bg-white rounded-lg shadow">
<div
class="bg-white rounded-lg shadow dark:bg-gray-800 dark:text-white dark:shadow-glass dark:border dark:border-white/10 dark:bg-gray-800/70 relative"
>
<BaseDarkHighlight class="z-[-1] mt-10" />
<div
v-if="hasHeaderSlot"
class="px-5 py-4 text-black border-b border-gray-100 border-solid"

View File

@ -0,0 +1,21 @@
<template>
<div
class="
hidden
top-0
w-full
absolute
ml-auto
mr-auto
left-0
right-0
text-center
h-full
rounded-full
bg-highlight/[.10]
blur-2xl
dark:block
z-[-1]
"
/>
</template>

View File

@ -21,7 +21,6 @@
group
min-h-[100px]
bg-gray-50
dark:bg-gray-700 dark:border-gray-600
"
:class="avatar ? 'w-32 h-32' : 'w-full'"
>
@ -50,7 +49,7 @@
<a
href="#"
class="absolute z-30 bg-white rounded-full -bottom-3 -right-3 group dark:bg-gray-900"
class="absolute z-30 bg-white rounded-full -bottom-3 -right-3 group"
@click.prevent.stop="onBrowse"
>
<BaseIcon
@ -96,7 +95,7 @@
<div
v-else-if="localFiles.length && avatar && !multiple"
class="flex w-full h-full border border-gray-200 rounded dark:border-gray-600"
class="flex w-full h-full border border-gray-200 rounded"
>
<img
v-if="localFiles[0].image"
@ -170,11 +169,10 @@
-right-3
group
hover:border-gray-300
dark:border-gray-600 dark:bg-gray-900 dark:hover:border-gray-700
"
@click.prevent.stop="onAvatarRemove(localFiles[0])"
>
<BaseIcon name="XIcon" class="h-4 text-xl leading-6 text-black dark:text-white" />
<BaseIcon name="XIcon" class="h-4 text-xl leading-6 text-black" />
</a>
</div>
@ -197,7 +195,6 @@
hover:border-gray-500
relative
max-w-md
dark:border-gray-600 dark:bg-transparent dark:hover:border-gray-700
"
@click.prevent
>
@ -273,7 +270,6 @@
-right-3
group
hover:border-gray-300
dark:border-gray-600 dark:bg-gray-900 dark:hover:border-gray-700
"
@click.prevent.stop="onFileRemove(index)"
>
@ -297,7 +293,6 @@
hover:border-gray-500
relative
max-w-md
dark:border-gray-600 dark:bg-gray-800 dark:hover:border-gray-700
"
@click.prevent
>
@ -373,11 +368,10 @@
-right-3
group
hover:border-gray-300
dark:border-gray-600 dark:bg-gray-900 dark:hover:border-gray-700
"
@click.prevent.stop="onFileRemove(index)"
>
<BaseIcon name="XIcon" class="h-4 text-xl leading-6 text-black dark:text-white" />
<BaseIcon name="XIcon" class="h-4 text-xl leading-6 text-black" />
</a>
</a>
</div>

View File

@ -36,6 +36,7 @@ module.exports = {
900: withOpacityValue('--color-primary-900'),
},
black: '#040405',
highlight: 'rgb(56, 189, 248)',
red: colors.red,
teal: colors.teal,
gray: colors.slate,