cheeaun / cheeaun/phanpy

Bug: theme-color doesn't work as expected

Open
#582 0 comments 0 reactions 0 assignees View on GitHub
bug need investigation
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

**Describe the bug**

According to the [code](https://github.com/cheeaun/phanpy/blob/5d6a43e5d2230077ff958c4e4864470995c0ee4e/index.html#L21), the `theme-color` or navigation bar color of the PWA should be the same color as the header bar, but it's not in my case.

- Which site: dev.phanpy.social
- Which site version: 2024.06.23.5d6a43e
- Which instance: N/A

**To Reproduce**
Steps to reproduce the behavior:
1. Go to dev.phanpy.social
2. Install it as the PWA
3. Switch dark/light mode and check the navigation bar color
4. See error

**Expected behavior**
The navigation bar color should be the same color as the header bar.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Smartphone (please complete the following information):**
- OS: Android 14
- Browser: Chromium
- Version: 126

**Additional context**
![tmp-1719435867331](https://github.com/cheeaun/phanpy/assets/63153334/bf6ab63a-c054-4595-8114-cd6ed7c15a28)
![tmp-1719435880561](https://github.com/cheeaun/phanpy/assets/63153334/851edf3d-0c16-409d-acd1-af4c659eb848)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the theme-color declaration in index.html at the linked line, then reproduce the issue on dev.phanpy.social as an installed PWA using Android 14 and Chromium 126. Verify dark and light mode navigation bar colors against the header bar; done means they match in both modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.