From ab3fa587170db08d0d5a422174ba9bdf754cab3e Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Mon, 4 Nov 2024 12:39:21 -0800 Subject: [PATCH] Set default pwa_background_color --- cookiecutter.json | 4 ++-- {{cookiecutter.out_dir}}/web/manifest.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cookiecutter.json b/cookiecutter.json index f92c6a1..77f4524 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -17,8 +17,8 @@ "route_url_strategy": "path", "web_renderer": "canvaskit", "use_color_emoji": "false", - "pwa_background_color": "", - "pwa_theme_color": "", + "pwa_background_color": "#0175C2", + "pwa_theme_color": "#0175C2", "split_per_abi": false, "options": null } \ No newline at end of file diff --git a/{{cookiecutter.out_dir}}/web/manifest.json b/{{cookiecutter.out_dir}}/web/manifest.json index 9e2b3e3..2afd07a 100644 --- a/{{cookiecutter.out_dir}}/web/manifest.json +++ b/{{cookiecutter.out_dir}}/web/manifest.json @@ -3,8 +3,8 @@ "short_name": "{{ cookiecutter.project_name }}", "start_url": ".", "display": "standalone", - "background_color": "{{ cookiecutter.pwa_background_color if cookiecutter.pwa_background_color else '#0175C2' }}", - "theme_color": "{{ cookiecutter.pwa_theme_color if cookiecutter.pwa_theme_color else '#0175C2' }}", + "background_color": "{{ cookiecutter.pwa_background_color }}", + "theme_color": "{{ cookiecutter.pwa_theme_color }}", "description": "{{ cookiecutter.project_description }}", "orientation": "portrait-primary", "prefer_related_applications": false,