-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (35 loc) · 1.45 KB
/
Copy pathindex.html
File metadata and controls
35 lines (35 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!doctype html>
<html lang="vi">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#1f2630" />
<title>PDF Reader</title>
<!-- Apply the saved theme before first paint to avoid a flash of the wrong theme. -->
<script>
(function () {
try {
var t = null
var raw = localStorage.getItem('drive-pdf-reader/settings')
if (raw) t = (JSON.parse(raw).state || {}).theme || null
var valid = ['light','gray','sepia','solarized-light','dark','dim','night','black','contrast','one-dark','dracula','nord','gruvbox','monokai','solarized-dark']
if (!t || valid.indexOf(t) === -1) {
t = matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'
}
document.documentElement.setAttribute('data-theme', t)
} catch (e) {
document.documentElement.setAttribute('data-theme', 'light')
}
})()
</script>
<!-- Google Identity Services (OAuth token client) -->
<script src="https://accounts.google.com/gsi/client" async defer></script>
<!-- Google API loader (used to load the Picker) -->
<script src="https://apis.google.com/js/api.js" async defer></script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>