Spaces:
Running
Running
Create index.html
Browse files- index.html +18 -0
index.html
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
<!doctype html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>TurboWarp Packager - Convert Scratch projects to HTML, EXE, and more</title><meta name="description" content="Converts Scratch 3, 2, or 1 projects into HTML files, zip archives, or executable programs for Windows, macOS, and Linux. Faster and more customizable than HTMLifier and forkphorus."><style>body[p4-splash-theme="dark"]:not([p4-loaded]) {
|
| 3 |
+
background-color: #111;
|
| 4 |
+
color-scheme: dark;
|
| 5 |
+
}
|
| 6 |
+
.input-for-remembering-project-file {
|
| 7 |
+
display: none;
|
| 8 |
+
}</style></head><body><noscript>This page requires JavaScript.</noscript><input type="file" class="input-for-remembering-project-file" autocomplete="on"><div id="app"></div><script>(function() {
|
| 9 |
+
// This logic is only for the "splash" screen.
|
| 10 |
+
// It's used to prevent a momentary white screen while the page is loading in dark mode.
|
| 11 |
+
var theme = 'system';
|
| 12 |
+
try {
|
| 13 |
+
var local = localStorage.getItem('P4.theme')
|
| 14 |
+
if (typeof local === 'string') theme = local;
|
| 15 |
+
} catch (e) { /* ignore */ }
|
| 16 |
+
if (theme === 'system') theme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
|
| 17 |
+
document.body.setAttribute('p4-splash-theme', theme);
|
| 18 |
+
})();</script><script src="js/p4.613592325c8f611b2ae4.js"></script></body></html>
|