From 5c1e0821e762c2dd098a01b2bb6231c7f8568736 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 7 Sep 2026 19:55:08 +0200 Subject: Extract duplicated styles into shared molecules and color atoms Move .score, .status, .add-bar and .btn-accent molecules into app.css and replace BEM color modifiers with bare atoms (bg-success, bg-accent, bg-danger, bg-accent-soft, text-accent, text-white). Rename the category-specific cat-add-bar to add-bar and the groceries page's sticky autocomplete bar to grocery-add-bar to avoid the collision. Cuts dcd duplicate lines from 1288 to 780. --- src/routes/groceries/+page.svelte | 14 +++++----- src/routes/groceries/categories/+page.svelte | 39 +--------------------------- 2 files changed, 8 insertions(+), 45 deletions(-) (limited to 'src/routes/groceries') diff --git a/src/routes/groceries/+page.svelte b/src/routes/groceries/+page.svelte index a159209..df1b97b 100644 --- a/src/routes/groceries/+page.svelte +++ b/src/routes/groceries/+page.svelte @@ -65,7 +65,7 @@ } -
+