-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcredits.html
56 lines (50 loc) · 1.43 KB
/
credits.html
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>GekoWarp Credits</title>
<style>
body[data-splash-theme="dark"] {
background: #111;
}
noscript {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
</style>
</head>
<body>
<noscript>
<h1>This page requires JavaScript</h1>
</noscript>
<script>
(function() {
var theme = '';
try {
var themeSetting = localStorage.getItem('tw:theme');
} catch (e) {
// ignore
}
if (themeSetting === 'light') {
theme = 'light';
} else if (themeSetting === 'dark') {
theme = 'dark';
} else if (themeSetting) {
try {
var parsed = JSON.parse(themeSetting);
if (parsed.gui === 'dark' || parsed.gui === 'light') {
theme = parsed.gui;
}
} catch (e) {
// ignore
}
}
if (!theme) {
theme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
}
document.body.setAttribute('data-splash-theme', theme);
})();
</script>
<div id="app"></div>
<script src="js/vendors~addon-settings~credits~editor~embed~fullscreen~player.js"></script><script src="js/credits.js"></script></body>
</html>