From a1f2a778a27ce54f3fc83409c5496870cf3447a3 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 12 Feb 2024 14:38:57 -0800 Subject: [PATCH 1/3] manifest.json: update background and theme_color --- web/manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/manifest.json b/web/manifest.json index df44ce20..c7dd1164 100644 --- a/web/manifest.json +++ b/web/manifest.json @@ -3,8 +3,8 @@ "short_name": "Wonderous", "start_url": ".", "display": "standalone", - "background_color": "#0175C2", - "theme_color": "#0175C2", + "background_color": "#1e1b18", + "theme_color": "#1e1b18", "description": "Navigate the intersection of history, art, and culture. Be educated and entertained as your learn about world-famous structures.", "orientation": "portrait-primary", "prefer_related_applications": false, From 648eac729808cb940dd2ad3c0f86576803bae86b Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 12 Feb 2024 15:10:55 -0800 Subject: [PATCH 2/3] also set the theme-color --- web/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/web/index.html b/web/index.html index e63f0f0a..da4a11ec 100644 --- a/web/index.html +++ b/web/index.html @@ -35,6 +35,7 @@ + From 095205d0472922c899eec1968ccca971af50ef7c Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 12 Feb 2024 15:16:15 -0800 Subject: [PATCH 3/3] document that the "black" color should be updated in other places --- lib/styles/colors.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/styles/colors.dart b/lib/styles/colors.dart index accf9e63..6501f8b6 100644 --- a/lib/styles/colors.dart +++ b/lib/styles/colors.dart @@ -13,6 +13,9 @@ class AppColors { final Color greyStrong = const Color(0xFF272625); final Color greyMedium = const Color(0xFF9D9995); final Color white = Colors.white; + // NOTE: If this color is changed, also change it in + // - web/manifest.json + // - web/index.html - final Color black = const Color(0xFF1E1B18); final bool isDark = false;