From ba659eef80dfa6755d2d97313b3c58855541722c Mon Sep 17 00:00:00 2001
From: Marco Allegretti
Date: Fri, 30 Jan 2026 09:59:48 +0100
Subject: [PATCH] ux: migrate demo cards to ui-card primitives
---
.../components/ui/DesignSystemStyles.astro | 8 +++
frontend/src/pages/demo.astro | 56 ++++++-------------
2 files changed, 24 insertions(+), 40 deletions(-)
diff --git a/frontend/src/components/ui/DesignSystemStyles.astro b/frontend/src/components/ui/DesignSystemStyles.astro
index f095861..98374df 100644
--- a/frontend/src/components/ui/DesignSystemStyles.astro
+++ b/frontend/src/components/ui/DesignSystemStyles.astro
@@ -469,6 +469,14 @@
padding: 1.1rem;
}
+ .ui-card-pad-lg {
+ padding: 1.5rem;
+ }
+
+ .ui-card-pad-xl {
+ padding: 2rem;
+ }
+
.ui-card-interactive {
transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}
diff --git a/frontend/src/pages/demo.astro b/frontend/src/pages/demo.astro
index 713894a..06d9b2b 100644
--- a/frontend/src/pages/demo.astro
+++ b/frontend/src/pages/demo.astro
@@ -56,7 +56,7 @@ const nextQuery = nextParam ? `&next=${encodeURIComponent(nextParam)}` : '';