From 94c906cc59b5b91a6b3a08e753e56afa2ae9820a Mon Sep 17 00:00:00 2001 From: Ned Halksworth Date: Fri, 15 May 2026 23:22:12 +0100 Subject: [PATCH] feat: update typography and color scheme; integrate Google Sans fonts - Replaced "SF Pro Text" and related fonts with "Google Sans", "Google Sans Text", and "Product Sans" in CSS and Tailwind configuration. - Adjusted color variables for primary, secondary, and error states to enhance UI consistency. - Modified background colors and button styles for improved aesthetics and usability. - Introduced new utility classes for layout and component styling in the CSS. --- src/App.tsx | 188 ++++++++------- src/index.css | 567 ++++++++++++++++++++++++++++++++++++--------- tailwind.config.ts | 25 +- 3 files changed, 572 insertions(+), 208 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 0afdf62..80128c7 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -132,10 +132,17 @@ const NAV_ITEMS: Array<{ id: AppView; label: string; icon: LucideIcon }> = [ ]; const ACCENT_OPTIONS: Array<{ id: AccentTheme; label: string }> = [ - { id: "blue", label: "Baby blue" }, { id: "pink", label: "Pastel pink" }, ]; +const MATERIAL_ACCENTS = { + primary: "var(--chart-primary)", + secondary: "var(--chart-secondary)", + tertiary: "var(--chart-tertiary)", + error: "var(--chart-error)", + custom: "#b85d84", +}; + function App() { const [themeAccent, setThemeAccent] = useState(() => readStoredAccent()); const [user, setUser] = useState(null); @@ -522,7 +529,7 @@ function App() { -
+
void logout()} /> -
+
{activeView === "overview" && (
-

Red Bull command centre

+

Red Bull tracker

{setupStatus.message}

@@ -719,9 +727,9 @@ function AuthView({ return (
-
-
-
+
+
+
@@ -729,9 +737,9 @@ function AuthView({ Red Bull Tracker App

- Glossy intake telemetry with Appwrite authentication, device sync, and finance-grade Excel exports. + Soft Material You intake tracking with Appwrite authentication, device sync, and polished Excel exports.

-
+
@@ -746,17 +754,17 @@ function AuthView({
-
-
+
+
+ +
-
-
+
+
{dataLoading ?
-
+

{user.name || user.email || "Appwrite user"}

{user.email}

+
+
- - - - + + + +
- + {chartData.length ? ( - - - + + + - - - + + + } /> - + ) : ( @@ -1131,7 +1156,7 @@ function OverviewView({ {flavourData.length ? ( - + {flavourData.map((entry) => ( ))} @@ -1169,12 +1194,12 @@ function TodayPanel({

cans logged

- - - + + +
-
+