From 069a85cf1175f9a9e438fb9296b2d996cda6c7fb Mon Sep 17 00:00:00 2001 From: Ovidiu U Date: Sat, 11 Apr 2026 16:26:34 +0100 Subject: [PATCH] refactor: migrate from hardcoded hex colors to Tailwind CSS color tokens MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace all hardcoded hex color values with semantic Tailwind design tokens: - `#bb5b3e` → `accent` - `#a34a31` → `accent-content` / `primary-dark` - `#4a3f3b`, `#89726c` → `zinc-800`, `zinc-500` - `#e5ded7`, `#faf6f3` → `zinc-300`, `zinc-50` - `#8 --- resources/js/components/LeafletMap.vue | 4 +- resources/js/components/PredictionCard.vue | 30 +- resources/js/components/SearchBar.vue | 6 +- resources/js/components/StationCard.vue | 18 +- resources/js/components/StationList.vue | 6 +- resources/js/views/Home.vue | 478 +++++++++++++----- .../js/views/dashboard/DashboardLayout.vue | 28 +- resources/js/views/dashboard/Overview.vue | 20 +- resources/js/views/dashboard/Preferences.vue | 14 +- .../js/views/dashboard/SavedStations.vue | 12 +- .../views/dashboard/settings/Appearance.vue | 16 +- .../js/views/dashboard/settings/Profile.vue | 36 +- .../js/views/dashboard/settings/Security.vue | 68 +-- .../dashboard/settings/SettingsLayout.vue | 10 +- skills-lock.json | 85 ++++ 15 files changed, 581 insertions(+), 250 deletions(-) diff --git a/resources/js/components/LeafletMap.vue b/resources/js/components/LeafletMap.vue index 000fcb1..22bfc13 100644 --- a/resources/js/components/LeafletMap.vue +++ b/resources/js/components/LeafletMap.vue @@ -2,7 +2,7 @@
diff --git a/resources/js/components/PredictionCard.vue b/resources/js/components/PredictionCard.vue index 2523553..706a8d7 100644 --- a/resources/js/components/PredictionCard.vue +++ b/resources/js/components/PredictionCard.vue @@ -5,11 +5,11 @@ v-if="!isPaidTier" class="absolute inset-0 z-10 rounded-2xl backdrop-blur-sm bg-white/60 flex flex-col items-center justify-center gap-3 text-center px-6" > - -

Price predictions are available on paid plans

+ +

Price predictions are available on paid plans

Upgrade from £0.99/mo @@ -17,15 +17,15 @@
-

Price Prediction

+

Price Prediction

@@ -33,22 +33,22 @@