aboutsummaryrefslogtreecommitdiffstats
path: root/components/Panel.vue
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2025-01-17 13:42:21 +0000
committerLeonardo Bishop <me@leonardobishop.com>2025-01-17 13:42:21 +0000
commit70ebc77f843207a1d4b46c8d960dafbff37e7e2e (patch)
tree2d03f7a66b877bb6ffa2f92c0504ac90f26db55f /components/Panel.vue
Initial commit
Diffstat (limited to 'components/Panel.vue')
-rw-r--r--components/Panel.vue15
1 files changed, 15 insertions, 0 deletions
diff --git a/components/Panel.vue b/components/Panel.vue
new file mode 100644
index 0000000..007d2b6
--- /dev/null
+++ b/components/Panel.vue
@@ -0,0 +1,15 @@
+<template>
+ <div class="card">
+ <slot />
+ </div>
+</template>
+
+<style>
+.card {
+ background-color: white;
+ padding: 1rem;
+ border-radius: 0.5rem;
+ /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06); */
+ border: 0.1rem solid var(--color-border);
+}
+</style> \ No newline at end of file