fix(web): add dark mode theme-color meta tag for PWA status bar - #6320
fix(web): add dark mode theme-color meta tag for PWA status bar#6320ocfox wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. WalkthroughThe HTML document now declares light and dark Suggested reviewers: Priority: ➖ Normal Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to The change provides adaptive light and dark status-bar colors without an established material runtime or deployment risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Warning Some tools did not complete. Review the errors below. 🔧 Biome (2.5.10)web/src/utils/theme.tsBiome could not lint this file: nested root configuration. Check the repository's Biome configuration and plugins. web/tests/theme.test.tsBiome could not lint this file: nested root configuration. Check the repository's Biome configuration and plugins. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fixes #6319
When Memos is installed as a PWA on Android, the system status bar remained white even when dark mode was enabled. Changes adds declarative
theme-colormeta tags withprefers-color-schememedia queries so that the Android status bar adapts to dark mode.