feat(list): add header shadow

This commit is contained in:
Kim, Jimin 2025-03-21 12:35:44 +09:00
parent 8090737996
commit d494aacd80
Signed by: pomp
GPG key ID: D3932F82A0667A3B

View file

@ -5,6 +5,7 @@ const props = defineProps<{
</script>
<template>
<div class="slant-shadow">
<div class="slant mb-12 bg-light-card-bg dark:bg-dark-card-bg">
<ThemeController class="h-12" />
@ -22,6 +23,7 @@ const props = defineProps<{
</span>
</h1>
</div>
</div>
</template>
<style scoped>
@ -34,4 +36,8 @@ const props = defineProps<{
padding-bottom: 8rem /* 128px (pb-32) */;
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 128px));
}
.slant-shadow {
filter: drop-shadow(0px 0px 20px #ccc);
}
</style>