-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
laurent.abbal
committed
Nov 29, 2024
1 parent
053312d
commit af5bb1b
Showing
1,878 changed files
with
573,542 additions
and
1,223,594 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>Addon Settings - TurboWarp</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/addon-settings~addons~editor~fullscreen~player.js"></script><script src="js/addon-settings~editor~embed~fullscreen~player.js"></script><script src="js/addon-settings.js"></script></body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.