From 37a425aa890570221b20fa10b2f1e4f852a47560 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 8 Oct 2024 13:06:41 +0300 Subject: [PATCH] Add card --- assets/styles/presets/aura/card.css | 22 ++++++++++++++++++++++ assets/styles/presets/aura/components.css | 1 + 2 files changed, 23 insertions(+) create mode 100644 assets/styles/presets/aura/card.css diff --git a/assets/styles/presets/aura/card.css b/assets/styles/presets/aura/card.css new file mode 100644 index 00000000..5c4a9a36 --- /dev/null +++ b/assets/styles/presets/aura/card.css @@ -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 +} \ No newline at end of file diff --git a/assets/styles/presets/aura/components.css b/assets/styles/presets/aura/components.css index 75557c29..7a7fa772 100644 --- a/assets/styles/presets/aura/components.css +++ b/assets/styles/presets/aura/components.css @@ -1,3 +1,4 @@ +@import './card'; @import './divider'; @import './inputtext'; @import './fieldset';