Skip to content

Commit

Permalink
Fix PWA theme background color.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee authored Aug 17, 2023
1 parent 9b1015b commit 4b27ea6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
<meta name="apple-mobile-web-app-capable" content="no">
<meta content='True' name='HandheldFriendly'>
<link rel="alternate" type="application/rss+xml" title="Subscribe" href="<%= main_app.feed_topics_url %>">
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#FFFFFF">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#171717">
<link rel="manifest" href="/manifest.webmanifest">
<%= stylesheet_pack_tag "front", "data-turbolinks-track": "reload" %>
<%= stylesheet_pack_tag "turbolinks-app", 'data-turbolinks-track': 'reload' if turbolinks_app? %>
Expand Down

0 comments on commit 4b27ea6

Please sign in to comment.