Is there an easy way to change the bottom bar colour on android phones. Currently on dark palletes its white and the controls are also very light so hard to see.
סיכום מבוסס בינה מלאכותית
Users are experiencing issues with the bottom navigation bar color in the Discourse PWA on Android devices, particularly when using dark themes. Damian_Boon reports that the bar remains white and the buttons are hard to see in light mode, despite other websites and apps adjusting colors correctly. dax explains that the PWA’s system bar color depends on the site’s manifest file, which is restricted by Content Security Policy, making customization difficult. Don and dax note that the behavior varies by device and browser, with Chrome relying on the manifest while Firefox uses page colors. Damian_Boon confirms the issue is specific to Chrome, as Firefox displays the correct colors. dax acknowledges the issue and has opened an internal discussion, but no immediate fixes are expected due to the upcoming Discourse meetup.
Hello ![]()
I think that’s because your device is not in dark mode. The bottom navigation bar is a native Android element, and Discourse doesn’t modify it, so its color matches your device settings.
Are you sure about that?
Switching light/dark theme properly changes the navigation bar color on my Galaxy S23.
זה לא חבר, זה משתמש בצבע מהערכה או ממה שהאתר אומר לו.
כפי שדון אמר, המכשיר שלך מוגדר למצב בהיר, לא למצב כהה. עם זאת, הבעיה שדיווחת נראית שמתרחשת רק בעת שימוש ב-PWA, בעוד שהיא אינה מתרחשת בעת גישה לפורום במצב כהה דרך דפדפן.
זה לא משנה אם זה מוגדר לבהיר או כהה בכל אתר או אפליקציה אחרת שאני משתמש בה, מכיוון שהוא משתמש בצבעים שהוגדרו על ידי האתר או האפליקציה.
הבעיה מתרחשת רק ב-PWA מכיוון ש-Android קובע את צבעי סרגל המערכת בהתבסס על קובץ ה-manifest של האתר, ולא על ערכת הנושא או ה-CSS של הדף.
באתר העסק המארח שלך, אין דרך ללקוחות לשנות זאת. יש להגיש את ה-manifest מ-תחום השורש של האתר. כל ניסיון לטעון manifest מותאם אישית ממקור חיצוני, או להזריק אותו דרך ערכת נושא או JS, נחסם על ידי מדיניות אבטחת התוכן (Content Security Policy) של האתר, ולכן הם לא יעבדו.
שינוי צבע סרגל המערכת של ה-PWA אינו משהו שניתן לעשות מצדך.
אז אתה אומר שה-pwa חסר תועלת? כי אי אפשר לראות את כפתור החזרה ואת הכפתורים בתחתית.\n\n כמו כן, אם זה המצב, איך החלק העליון של המסך משתנה לצבעים הנכונים שבהם השעון והאות וכו’? בטח אם זה משתנה צבע, המניפסט יכול לעשות את זה?
האם תוכל לנסות להתקין את ה-pwa כאן
Https://www.carptalk.org
Out of curiosity: which variable did you change in the colour palette?
Its only on Discoure they are like this. Any other site is fine.
מעניין מספיק, בעת התקנת ה-PWA ב-iOS, אין לי כלל סרגל תחתון… האם יש כאן התאמה אישית כלשהי?
הצבע המשני. אני יכול לשנות בקלות את צבע הפס ואת החלק העליון











