feat(Card): new component

This commit is contained in:
Benjamin Canac
2024-03-12 16:07:46 +01:00
parent 69b281c408
commit 78908c3d64
5 changed files with 97 additions and 0 deletions

8
src/theme/card.ts Normal file
View File

@@ -0,0 +1,8 @@
export default {
slots: {
root: 'bg-white dark:bg-gray-900 ring ring-gray-200 dark:ring-gray-800 rounded-lg shadow',
header: 'p-4 sm:px-6',
body: 'px-4 py-5 sm:p-6',
footer: 'p-4 sm:px-6'
}
}