From 2a7c4f969874b850e30170f3aef5b578677220b0 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sat, 12 Sep 2026 22:26:09 +0200 Subject: Scope badges, titles, and one-off styles; add Button outline ScoreBadge/StatusBadge carry their own color scales, no bg-*/text-* globals. SectionTitle unifies category-name and section-title dupes (h2/h3 via level prop). Grocery add-bar buttons use Button, new outline variant for the secondary action. save-status moves into its only page. Delete dead globals and page overrides. --- src/routes/projects/[id]/+page.svelte | 14 ++------------ .../[projectId]/routine/[routineId]/+page.svelte | 16 +++------------- 2 files changed, 5 insertions(+), 25 deletions(-) (limited to 'src/routes/projects') diff --git a/src/routes/projects/[id]/+page.svelte b/src/routes/projects/[id]/+page.svelte index b48a331..8d62a39 100644 --- a/src/routes/projects/[id]/+page.svelte +++ b/src/routes/projects/[id]/+page.svelte @@ -11,6 +11,7 @@ parseIntervalToDays, type RoutineState, } from '$lib/shared/routine-metrics'; + import SectionTitle from '$lib/components/SectionTitle.svelte'; import { formatDayMonth } from '$lib/shared/temporal'; let { data, form } = $props(); @@ -44,7 +45,7 @@ {#if data.healthSeries.length > 0}
-

Santé

+ Santé