Skip to content

Change background color for PWA from primary to white#13034

Merged
alecslupu merged 1 commit intodevelopfrom
fix/pwa-background-color
Jul 5, 2024
Merged

Change background color for PWA from primary to white#13034
alecslupu merged 1 commit intodevelopfrom
fix/pwa-background-color

Conversation

@andreslucena
Copy link
Copy Markdown
Member

🎩 What? Why?

With the redesign we have removed the theme color from the PWA, and we're reusing the primary color.

This generated a bug as although it works for the top bar of the PWA, it doesn't work for the background color. You can check it out by adding https://meta.decidim.org to your home screen in a mobile device and then opening the app:

Background color in Metadecidim

We've talked about adding the theme color (again) to the Appearence settings, or adding the background color as a setting there. But we think this is giving yet another setting and also it's something else that we need to explain/document, etc.

📌 Related Issues

Testing

  1. Go to http://localhost:3000/manifest.json
  2. Check the background_color attribute

♥️ Thank you!

@andreslucena andreslucena added the type: fix PRs that implement a fix for a bug label Jun 21, 2024
github-actions[bot]
github-actions bot previously approved these changes Jun 21, 2024
@andreslucena andreslucena changed the title Change background color for PWA from primary to black Change background color for PWA from primary to white Jun 21, 2024
@andreslucena andreslucena marked this pull request as draft June 21, 2024 12:08
@andreslucena andreslucena marked this pull request as ready for review June 25, 2024 05:25
Copy link
Copy Markdown
Contributor

@alecslupu alecslupu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@andreslucena
Copy link
Copy Markdown
Member Author

Adding the no-backport label, as this is already available in v0.29 and in v0.28

@andreslucena andreslucena added the no-backport Pull Requests that should not be backported label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: core no-backport Pull Requests that should not be backported type: fix PRs that implement a fix for a bug

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants