스크롤 시 파랗게 보이는 진짜 원인 발견 - PWA manifest 기본 파란색 제거
manifest.json의 theme_color/background_color가 Flutter 프로젝트 템플릿의 기본값(#0175C2, Flutter 브랜드 파란색)으로 그대로 남아있었음. Safari가 스크롤 시 툴바 주변을 이 색으로 물들여서 파란 줄이 보인 것. - manifest.json: theme_color를 앱의 ink색(#1C1C1C)으로, background_color를 앱 배경색(#EEF0F2)으로 교체 - index.html에도 <meta name="theme-color">를 명시적으로 추가해 이중으로 보장 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -3,8 +3,8 @@
|
||||
"short_name": "school_attendance",
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"background_color": "#0175C2",
|
||||
"theme_color": "#0175C2",
|
||||
"background_color": "#EEF0F2",
|
||||
"theme_color": "#1C1C1C",
|
||||
"description": "A new Flutter project.",
|
||||
"orientation": "portrait-primary",
|
||||
"prefer_related_applications": false,
|
||||
|
||||
Reference in New Issue
Block a user