From 0379dc475dbd6c64c73a95bcf2803d7e0c254ab4 Mon Sep 17 00:00:00 2001 From: Gabriel20xx Date: Sat, 29 Aug 2026 12:34:39 +0200 Subject: [PATCH] Standardize container gaps to 16px Syncs the shared package (16px AppShell title-to-content gap) and fixes the stat-card row gap on the home page (12px -> 16px). --- frontend/src/routes/+page.svelte | 2 +- shared/.changeset/shared-notifications.md | 5 +++++ shared/packages/web-ui/src/lib/styles.css | 4 ++-- shared/shared-styles.css | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 shared/.changeset/shared-notifications.md diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte index d762348..3b805fa 100644 --- a/frontend/src/routes/+page.svelte +++ b/frontend/src/routes/+page.svelte @@ -56,7 +56,7 @@
-
+
Lists
{overview.stats.lists}
diff --git a/shared/.changeset/shared-notifications.md b/shared/.changeset/shared-notifications.md new file mode 100644 index 0000000..b47dbca --- /dev/null +++ b/shared/.changeset/shared-notifications.md @@ -0,0 +1,5 @@ +--- +"@gabriel20xx/web-ui": minor +--- + +Add a shared `NotificationStack` component and `notify` API (`notify.success/error/warning/info`) for toast-style action feedback. `AppShell` now mounts `NotificationStack` automatically, so any application using `AppShell` gets it without further wiring. diff --git a/shared/packages/web-ui/src/lib/styles.css b/shared/packages/web-ui/src/lib/styles.css index e1af440..8a9f3bb 100644 --- a/shared/packages/web-ui/src/lib/styles.css +++ b/shared/packages/web-ui/src/lib/styles.css @@ -31,7 +31,7 @@ .sc-main { width: min(100% - 2rem, 90rem); margin: 0 auto; - padding: 2rem 0 3rem; + padding: 1rem 0 1rem; } .sc-header { @@ -216,7 +216,7 @@ align-items: flex-start; justify-content: space-between; gap: 1rem; - margin-bottom: 1.5rem; + margin-bottom: 1rem; padding: 1rem 1.25rem; background: var(--sc-surface); border: 1px solid var(--sc-border); diff --git a/shared/shared-styles.css b/shared/shared-styles.css index 2176eb9..bdfa980 100644 --- a/shared/shared-styles.css +++ b/shared/shared-styles.css @@ -33,7 +33,7 @@ .sc-main { width: min(100% - 2rem, 90rem); margin: 0 auto; - padding: 2rem 0 3rem; + padding: 1rem 0 1rem; } .sc-header { @@ -218,7 +218,7 @@ align-items: flex-start; justify-content: space-between; gap: 1rem; - margin-bottom: 1.5rem; + margin-bottom: 1rem; padding: 1rem 1.25rem; background: var(--sc-surface); border: 1px solid var(--sc-border);