From fe2ce947479d6e161edc4c98c830c9b980669b8c Mon Sep 17 00:00:00 2001
From: Sara <sarasdj@stud.ntnu.no>
Date: Tue, 20 Feb 2024 13:01:52 +0100
Subject: [PATCH] update: font specs

---
 app/lib/pages/consts.dart             | 7 ++++---
 app/lib/pages/widgets/map_widget.dart | 5 +++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/app/lib/pages/consts.dart b/app/lib/pages/consts.dart
index c1e12101..d902d50f 100644
--- a/app/lib/pages/consts.dart
+++ b/app/lib/pages/consts.dart
@@ -23,12 +23,13 @@ final titleStyle = GoogleFonts.dmSans(
   color: textColor,
   fontWeight: FontWeight.bold, // Add this line to make the text bold
 );
-final regTextStyle = GoogleFonts.dmSans(fontSize: 20, color: textColor);
+final regTextStyle = GoogleFonts.dmSans(fontSize: 19, color: textColor);
 final chartTextStyle = GoogleFonts.dmSans(fontSize: 14, color: textColor);
+final subHeadingStyle = GoogleFonts.dmSans(fontSize: 22, color: textColor, fontWeight: FontWeight.bold);
 
 // Colors
-const mediumBlue = Color(0xFF015E8F);
-const darkBlue = Color(0xFF00B4D8);
+const darkBlue = Color(0xFF015E8F);
+const teal = Color(0xFF00B4D8);
 const darkestBlue = Color(0xFF03045E);
 const lightBlue = Color(0xFFCAF0F8);
 const superLightBlue = Color(0xFFCAF0F8);
diff --git a/app/lib/pages/widgets/map_widget.dart b/app/lib/pages/widgets/map_widget.dart
index 91675444..cc83e425 100644
--- a/app/lib/pages/widgets/map_widget.dart
+++ b/app/lib/pages/widgets/map_widget.dart
@@ -214,9 +214,10 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
                           'Ice stats',
                           style: titleStyle,
                         ),
+                        const Divider(),
                         Text(
                           'Time of measurement',
-                          style: regTextStyle,
+                          style: subHeadingStyle,
                         ),
                         Text(
                           'Date ${(selectedMarker?.timeMeasured.day ?? '-')}/${(selectedMarker?.timeMeasured.month ?? '-')}/${(selectedMarker?.timeMeasured.year ?? '-')}',
@@ -228,7 +229,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
                         ),
                         const SizedBox(height: contPadding),
                         Text(
-                          'Location: (placeholder, placeholder)',
+                          'Measuring point: (${selectedMarker?.dataList[0].latitude}, ${selectedMarker?.dataList[0].latitude})',
                           style: regTextStyle,
                         ),
                         const SizedBox(height: contPadding),
-- 
GitLab