From 8bf2b9e3ddf1b8fab6cc61970040004b6e6c3971 Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Mon, 12 Jan 2026 17:31:30 +0100 Subject: [PATCH] Updated navbar item color & size --- lib/core/custom_theme.dart | 4 ++-- lib/presentation/widgets/navbar_item.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/custom_theme.dart b/lib/core/custom_theme.dart index 3f15ad9..cfe9b5a 100644 --- a/lib/core/custom_theme.dart +++ b/lib/core/custom_theme.dart @@ -11,8 +11,8 @@ class CustomTheme { static Color onBoxColor = const Color(0xFF181818); static Color boxBorder = const Color(0xFF272727); static const Color textColor = Colors.white; - static Color navBarItemSelectedColor = primaryColor.withValues(green: 0.4); - static Color navBarItemUnselectedColor = Colors.white.withValues(alpha: 0.6); + static Color navBarItemSelectedColor = primaryColor.withGreen(100); + static Color navBarItemUnselectedColor = Colors.grey.shade400; // ==================== Border Radius ==================== static const double standardBorderRadius = 12.0; diff --git a/lib/presentation/widgets/navbar_item.dart b/lib/presentation/widgets/navbar_item.dart index 6e2e24e..abf7acc 100644 --- a/lib/presentation/widgets/navbar_item.dart +++ b/lib/presentation/widgets/navbar_item.dart @@ -96,7 +96,7 @@ class _NavbarItemState extends State color: widget.isSelected ? CustomTheme.navBarItemSelectedColor : CustomTheme.navBarItemUnselectedColor, - size: 26, + size: 32, ), ), const SizedBox(height: 4), diff --git a/pubspec.yaml b/pubspec.yaml index a7a2df7..7978e22 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: game_tracker description: "Game Tracking App for Card Games" publish_to: 'none' -version: 0.0.1+153 +version: 0.0.1+159 environment: sdk: ^3.8.1