From 670a42dd9b0bdd2a4366354e08c2541b8f12b8f1 Mon Sep 17 00:00:00 2001 From: padreug Date: Sun, 7 Sep 2025 04:08:08 +0200 Subject: [PATCH] Fix mobile navbar icon visibility with improved contrast MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change selected route styling from 'text-primary bg-accent' to 'text-secondary bg-accent' - Uses semantic design tokens for better theme compatibility and accessibility - Improves icon visibility on mobile navigation without being too aggressive - Affects Events, Market, and Chat navigation buttons - Maintains design system consistency while ensuring proper contrast ratios Fixes issue where selected route icons were hard to see due to poor contrast between text and background colors in mobile navbar. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/components/layout/Navbar.vue | 64 +++++++++++++++----------------- 1 file changed, 30 insertions(+), 34 deletions(-) diff --git a/src/components/layout/Navbar.vue b/src/components/layout/Navbar.vue index 707ee46..de2ddb5 100644 --- a/src/components/layout/Navbar.vue +++ b/src/components/layout/Navbar.vue @@ -108,16 +108,16 @@ const handleLogout = async () => {
- + {{ totalUnreadMessages > 99 ? '99+' : totalUnreadMessages }}
{{ item.name }} {{ item.name }} -
+
@@ -132,12 +132,12 @@ const handleLogout = async () => { - @@ -164,12 +164,10 @@ const handleLogout = async () => { Profile - - + {{ item.name }} @@ -201,38 +199,38 @@ const handleLogout = async () => {
- Events - + - Market -
+
- + - Chat - + {{ totalUnreadMessages > 99 ? '99+' : totalUnreadMessages }} @@ -277,17 +275,14 @@ const handleLogout = async () => { Profile - - @@ -317,7 +312,8 @@ const handleLogout = async () => { - + Logout