From 48d72f54ebf98e0c08e5c8b254e9bd879ed7851e Mon Sep 17 00:00:00 2001 From: oltimaloku Date: Fri, 2 Feb 2024 20:04:53 -0800 Subject: [PATCH] Colour changes --- .../geo_sphere/views/geo_spheres_view.dart | 2 +- client/lib/home_router.dart | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/client/lib/features/geo_sphere/views/geo_spheres_view.dart b/client/lib/features/geo_sphere/views/geo_spheres_view.dart index a5bbbb4..dad4eec 100644 --- a/client/lib/features/geo_sphere/views/geo_spheres_view.dart +++ b/client/lib/features/geo_sphere/views/geo_spheres_view.dart @@ -15,7 +15,7 @@ class GeoSphereView extends StatelessWidget { //final geoSphereViewModel = // Provider.of(context, listen: false); return Scaffold( - backgroundColor: GlobalVariables.backgroundColor, + backgroundColor: const Color.fromARGB(255, 18, 18, 26), body: SafeArea( child: Column( children: [ diff --git a/client/lib/home_router.dart b/client/lib/home_router.dart index 1cd16b1..88664f8 100644 --- a/client/lib/home_router.dart +++ b/client/lib/home_router.dart @@ -40,7 +40,8 @@ class _HomeRouterState extends State { extendBody: true, floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked, floatingActionButton: FloatingActionButton( - foregroundColor: const Color.fromARGB(255, 3, 179, 0), + foregroundColor: + GlobalVariables.secondaryColor, //Color.fromARGB(255, 3, 179, 0), backgroundColor: const Color.fromARGB(255, 10, 10, 10), shape: const RoundedRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(50.0)), @@ -69,12 +70,14 @@ class _HomeRouterState extends State { height: 64, color: const Color.fromARGB(255, 10, 10, 10), shape: const CircularNotchedRectangle(), - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: [ - buildBottomNavItem(Icons.map_outlined, 'Map', 0), - buildBottomNavItem(Icons.language, 'Spaces', 1), - ], + child: Container( + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceEvenly, + children: [ + buildBottomNavItem(Icons.map_outlined, 'Map', 0), + buildBottomNavItem(Icons.language, 'Spaces', 1), + ], + ), ), ), body: screens[_page],