From add2586cb10b0290fd8155ea1700a279604d2b41 Mon Sep 17 00:00:00 2001 From: Ned Halksworth Date: Wed, 27 May 2026 17:31:00 +0100 Subject: [PATCH] rebuild theme system and restyle ui flatten themes to 3 colors without categories, rewrite css in vanilla layers, simplify onboarding flow, tighten greeting punctuation, adjust viewport meta --- index.html | 2 +- src/components/DailyLimitsCard.tsx | 6 +- src/components/LimitsSettingsForm.tsx | 8 +- src/components/OnboardingScreen.tsx | 65 +- src/data/themes.ts | 277 +--- src/index.css | 2156 ++++++++++++++++--------- src/lib/greeting.ts | 14 +- 7 files changed, 1466 insertions(+), 1062 deletions(-) diff --git a/index.html b/index.html index 418e042..3c91a47 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - +
-

Daily limits

-

+

Daily limits

+

Set how many cans you want per day, when to stop, and a spend cap. Limits are optional and stored on your account.

@@ -37,7 +37,7 @@ export function DailyLimitsCard({ limits, check, onOpenSettings }: DailyLimitsCa return (
-

Daily limits

+

Daily limits

- ); - })} -
-
- {visibleThemes.map((theme) => { + {APP_THEMES.map((theme) => { const isActive = activeThemeId === theme.id; return (