Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change background color for PWA from primary to white #13034

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

andreslucena
Copy link
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
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.

👍

@alecslupu alecslupu added this to the 0.29.0 milestone Jul 5, 2024
@alecslupu alecslupu merged commit f9f8f02 into develop Jul 5, 2024
110 checks passed
@alecslupu alecslupu deleted the fix/pwa-background-color branch July 5, 2024 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: core type: fix PRs that implement a fix for a bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants