Skip to content

Commit

Permalink
Add card
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Oct 8, 2024
1 parent 14480c3 commit 37a425a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions assets/styles/presets/aura/card.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.p-card {
@apply flex flex-col rounded-xl
bg-surface-0 dark:bg-surface-900
text-surface-700 dark:text-surface-0
shadow-[0_1px_3px_0_rgba(0,0,0,0.1),0_1px_2px_-1px_rgba(0,0,0,0.1)]
}

.p-card-caption {
@apply flex flex-col gap-2
}

.p-card-body {
@apply p-5 flex flex-col gap-2
}

.p-card-title {
@apply font-medium text-xl
}

.p-card-subtitle {
@apply text-surface-500 dark:text-surface-400
}
1 change: 1 addition & 0 deletions assets/styles/presets/aura/components.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import './card';
@import './divider';
@import './inputtext';
@import './fieldset';
Expand Down

0 comments on commit 37a425a

Please sign in to comment.