Add theme-color meta tag and apply selection of theme (#2918)

* Add theme-color meta tag and apply selection of theme

* update logic for retrieving current theme color

* add ts-ignore

* fix ts error

---------

Co-authored-by: Hailey <me@haileyok.com>
This commit is contained in:
Eiichi Yoshikawa 2024-02-19 11:06:00 +09:00 committed by GitHub
parent a40b43dfc9
commit 7390863a10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 9 deletions

View file

@ -2,6 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<meta name="theme-color">
<!--
This viewport works for phones with notches.
It's optimized for gestures by disabling global zoom.