-
Notifications
You must be signed in to change notification settings - Fork 0
Add manifest json for PWA installation #3
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
Changes from all commits
fd164b6
25e475c
6b59f01
86c31c2
b312694
7e45811
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "name": "GitHub Workflow Status Wall", | ||
| "short_name": "Badge Wall", | ||
| "start_url": "/", | ||
| "display": "standalone", | ||
| "background_color": "#f6f8fa", | ||
| "theme_color": "#24292e", | ||
| "icons": [ | ||
| { | ||
| "src": "assets/icon-192x192.png", | ||
| "sizes": "192x192", | ||
| "type": "image/png" | ||
| }, | ||
| { | ||
| "src": "assets/icon-512x512.png", | ||
| "sizes": "512x512", | ||
| "type": "image/png" | ||
| } | ||
| ] | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -0,0 +1,45 @@ | ||||
| const CACHE_NAME = 'badge-wall-cache-v1'; | ||||
| const urlsToCache = [ | ||||
| '/', | ||||
| '/index.html', | ||||
| '/styles.css', | ||||
|
||||
| '/styles.css', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The theme_color in manifest.json is '#24292e' (dark gray), but the meta theme-color in base.html is '#f6f8fa' (light gray). These should match for consistent theming across different contexts. Consider using the same value in both files.