Skip to content

Commit

Permalink
V5.2.4 - Added Inverted Theme + Formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
xbubbo committed Jun 8, 2024
1 parent 5302206 commit a9a34e1
Show file tree
Hide file tree
Showing 17 changed files with 60 additions and 25 deletions.
4 changes: 2 additions & 2 deletions static/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" id="tab-favicon" href="/favicon.png" />
<title id="tab-title">Home</title>
<link rel="stylesheet" href="/assets/css/global.css" />
<link rel="stylesheet" href="/assets/css/global.css?v=2" />
<link rel="stylesheet" href="/assets/css/error.css" />
<link rel="stylesheet" href="/assets/css/nav.css" />
<script src="https://kit.fontawesome.com/1237c86ba0.js" crossorigin="anonymous"></script>
Expand All @@ -26,7 +26,7 @@ <h3>Page not found.</h3>
<script src="/assets/scripts/i.js?V=42"></script>
<script src="/assets/-/bundle.js?v=5-5-2024"></script>
<script src="/assets/-/config.js?v=5-5-2024"></script>
<script src="/assets/scripts/m.js?v=78"></script>
<script src="/assets/scripts/m.js?v=80"></script>
<div>
<script type="text/javascript" src="//alleygoat.com/5e/6b/27/5e6b2776400180cc548a7dfd8ab3f717.js"></script>
</div>
Expand Down
6 changes: 3 additions & 3 deletions static/apps.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<script src="./assets/-/bundle.js?v=5-5-2024"></script>
<script src="./assets/-/config.js?v=5-5-2024"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/assets/css/global.css" />
<link rel="stylesheet" href="/assets/css/global.css?v=2" />
<link rel="stylesheet" href="/assets/css/container.css" />
<link rel="stylesheet" href="/assets/css/nav.css" />
<script src="/assets/scripts/m.js?v=78"></script>
<script src="/assets/scripts/m.js?v=80"></script>
<script src="/assets/scripts/i.js?V=42"></script>
<script src="https://kit.fontawesome.com/1237c86ba0.js" crossorigin="anonymous"></script>
</head>
Expand All @@ -39,7 +39,7 @@
<div class="pinned-apps"></div>
<div class="container-apps"></div>
<script src="assets/scripts/ap.js?v=116"></script>
<script src="/assets/scripts/m.js?v=78"></script>
<script src="/assets/scripts/m.js?v=80"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WKJQ5QHQTJ"></script>
<!-- DO NOT REMOVE-->
<script>
Expand Down
1 change: 1 addition & 0 deletions static/assets/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
--background-accent: #444; /* Accent Color for Tabs */
--background-slider: #4caf50; /* Active Slider Background Color */
--slider-accent: #ccc; /* Slider Background Color */
--nav-image: url("/./assets/media/favicon/main.png"); /* Nav Logo */
/* Text Variables */
--text-primary: #fff; /* Primary Text Color */
--text-dark: #555; /* Dark Text Color for Error Page, Scrollbar, and Particles */
Expand Down
21 changes: 21 additions & 0 deletions static/assets/css/themes/colors/inverted.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
:root {
/* Background Variables */
--background-image: url("/./assets/media/background/full-inverted.png"); /* Background Image */
--backdrop-filter: blur(10px) brightness(80%); /* Nav Backdrop filter */
--background-nav: rgba(0, 0, 0, 0.02); /* Nav Background */
--background-color: #ddd; /* Main Background Color */
--background-input: #cccccc; /* Input Field Background Color */
--background-column: #cacaca; /* Background for Apps Container */
--background-settings: #d5d5d5; /* Settings Card Background */
--background-buttons: #ccc; /* Button Background Color */
--background-accent: #bbb; /* Accent Color for Tabs */
--background-slider: #b3b0af; /* Active Slider Background Color */
--slider-accent: #333; /* Slider Background Color */
--nav-image: url("/./assets/media/favicon/main-inverted.png"); /* Nav Logo */
/* Text Variables */
--text-primary: #000; /* Primary Text Color */
--text-dark: #aaa; /* Dark Text Color for Error Page, Scrollbar, and Particles */
--text-placeholder: #555; /* Placeholder Text Color */
/* Other Variables */
--tab-hover: #9391,8; /* Tab Color on Hover */
}
Binary file added static/assets/media/background/full-inverted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added static/assets/media/favicon/main-inverted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/assets/media/favicon/main_inverted.png
Binary file not shown.
13 changes: 12 additions & 1 deletion static/assets/scripts/m.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,17 @@ document.addEventListener("DOMContentLoaded", function () {
var nav = document.querySelector(".fixed-nav-bar")

if (nav) {
var themeId = localStorage.getItem("theme")
var LogoUrl = "/assets/media/favicon/main.png"
var LogoUrl
if (themeId === "Inverted") {
LogoUrl = "/assets/media/favicon/main-inverted.png"
} else {
LogoUrl = LogoUrl
}
var html = `
<div class="fixed-nav-bar-container">
<a class="icon" href="/./"><img alt="nav" id="INImg" src="/assets/media/favicon/main.png"/></a>
<a class="icon" href="/./"><img alt="nav" id="INImg" src="${LogoUrl}"/></a>
</div>
<div class="fixed-nav-bar-right">
<a class="navbar-link" href="/./gm"><i class="fa-solid fa-gamepad navbar-icon"></i><an>Ga</an><an>mes</an></a>
Expand Down Expand Up @@ -101,6 +109,9 @@ if (themeid == "catppuccinFrappe") {
if (themeid == "catppuccinLatte") {
themeEle.href = "/assets/css/themes/catppuccin/latte.css?v=1"
document.body.appendChild(themeEle)
} if (themeid == "Inverted") {
themeEle.href = "/assets/css/themes/colors/inverted.css?v=1"
document.body.appendChild(themeEle)
} else {
var customThemeEle = document.createElement("style")
customThemeEle.textContent = localStorage.getItem("theme-" + themeid)
Expand Down
3 changes: 2 additions & 1 deletion static/assets/scripts/s.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ function newCustomTheme() {
themeName == "catppuccinMacchiato" ||
themeName == "catppuccinFrappe" ||
themeName == "catppuccinLatte" ||
themeName == "Inverted" ||
themeName == "d"
) {
alert("This theme name cannot be used.")
Expand Down Expand Up @@ -346,7 +347,7 @@ if (themeId == "") {
themeId = "d"
}

if (themeId == "catppuccinMocha" || themeId == "catppuccinMacchiato" || themeId == "catppuccinFrappe" || themeId == "catppuccinLatte" || themeId == "d") {
if (themeId == "catppuccinMocha" || themeId == "catppuccinMacchiato" || themeId == "catppuccinFrappe" || themeId == "catppuccinLatte" || themeId == "d" || themeId == "Inverted") {
document.getElementById("currentThemeText").textContent = "Selected Theme: Default Themes"
document.getElementById("et").disabled = true
document.getElementById("ext").disabled = true
Expand Down
4 changes: 2 additions & 2 deletions static/games.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="shortcut icon" id="tab-favicon" href="favicon.png" />
<title id="tab-title">Home</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/assets/css/global.css" />
<link rel="stylesheet" href="/assets/css/global.css?v=2" />
<link rel="stylesheet" href="/assets/css/container.css" />
<link rel="stylesheet" href="/assets/css/nav.css" />
<script src="/assets/scripts/i.js?V=42"></script>
Expand All @@ -33,7 +33,7 @@
<script src="./assets/-/bundle.js?v=5-5-2024"></script>
<script src="./assets/-/config.js?v=5-5-2024"></script>
<script src="https://kit.fontawesome.com/1237c86ba0.js" crossorigin="anonymous"></script>
<script src="/assets/scripts/m.js?v=78"></script>
<script src="/assets/scripts/m.js?v=80"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WKJQ5QHQTJ"></script>
<!-- DO NOT REMOVE-->
<script>
Expand Down
4 changes: 2 additions & 2 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" id="tab-favicon" href="favicon.png" />
<title id="tab-title">Home</title>
<link rel="stylesheet" href="/assets/css/global.css" />
<link rel="stylesheet" href="/assets/css/global.css?v=2" />
<link rel="stylesheet" href="/assets/css/home.css" />
<link rel="stylesheet" href="/assets/css/nav.css" />
</head>
Expand All @@ -30,7 +30,7 @@ <h1 class="title"><an>Inter</an>stellar</h1>
<script src="./assets/-/bundle.js?v=5-5-2024"></script>
<script src="./assets/-/config.js?v=5-5-2024"></script>
<script src="https://kit.fontawesome.com/1237c86ba0.js" crossorigin="anonymous"></script>
<script src="/assets/scripts/m.js?v=78"></script>
<script src="/assets/scripts/m.js?v=80"></script>
<!-- DO NOT REMOVE-->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WKJQ5QHQTJ"></script>
<script>
Expand Down
4 changes: 2 additions & 2 deletions static/privacy.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" id="tab-favicon" href="favicon.png" />
<title id="tab-title">Home</title>
<link rel="stylesheet" href="/assets/css/global.css" />
<link rel="stylesheet" href="/assets/css/global.css?v=2" />
<link rel="stylesheet" href="/assets/css/nav.css" />
<script src="https://kit.fontawesome.com/1237c86ba0.js" crossorigin="anonymous"></script>
</head>
Expand Down Expand Up @@ -57,7 +57,7 @@ <h3>Privacy Policy</h3>
<!--some day we gotta add it-->
</div>
</div>
<script src="/assets/scripts/m.js?v=78"></script>
<script src="/assets/scripts/m.js?v=80"></script>
<!-- DO NOT REMOVE-->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WKJQ5QHQTJ"></script>
<script>
Expand Down
11 changes: 6 additions & 5 deletions static/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" id="tab-favicon" href="favicon.png" />
<title id="tab-title">Home</title>
<link rel="stylesheet" href="/assets/css/global.css" />
<link rel="stylesheet" href="/assets/css/global.css?v=2" />
<link rel="stylesheet" href="/assets/css/container.css" />
<link rel="stylesheet" href="/assets/css/nav.css" />
<link rel="stylesheet" href="/assets/css/settings.css" />
Expand Down Expand Up @@ -151,6 +151,7 @@ <h3>Themes!</h3>
<select placeholder="Solid Color Themes" id="dropdown" class="td" onchange="themeChange(this)">
<option disabled selected>Solid Color Themes</option>
<option value="d">Default</option>
<option value="Inverted">Inverted</option>
<option disabled selected>Catppuccin Themes</option>
<option value="catppuccinMocha">Mocha</option>
<option value="catppuccinMacchiato">Macchiato</option>
Expand All @@ -170,8 +171,8 @@ <h3>Custom Themes</h3>
</div>
<div class="settings-card">
<h3>Information</h3>
<p>Version: 5.2.3</p>
<p id="last-updated">Last Updated: June 2nd, 2024</p>
<p>Version: 5.2.4</p>
<p id="last-updated">Last Updated: June 8th, 2024</p>
<!--<p>Privacy Policy</p>
<p>Terms of Service</p>
<p>Cookie Policy</p> --->
Expand All @@ -182,8 +183,8 @@ <h3>Information</h3>
</div>
</div>
</div>
<script src="/assets/scripts/m.js?v=78"></script>
<script src="/assets/scripts/s.js?v=46"></script>
<script src="/assets/scripts/m.js?v=80"></script>
<script src="/assets/scripts/s.js?v=48"></script>
<!-- DO NOT REMOVE-->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WKJQ5QHQTJ"></script>
<script>
Expand Down
4 changes: 2 additions & 2 deletions static/tabs.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" id="tab-favicon" href="favicon.png" />
<title id="tab-title">Home</title>
<link rel="stylesheet" href="/assets/css/global.css" />
<link rel="stylesheet" href="/assets/css/global.css?v=2" />
<link rel="stylesheet" href="/assets/css/tabs.css" />
<script src="https://kit.fontawesome.com/1237c86ba0.js" crossorigin="anonymous"></script>
<script>
Expand Down Expand Up @@ -59,7 +59,7 @@
<script src="assets/scripts/ta.js?v=54"></script>
<script src="./assets/-/bundle.js?v=5-5-2024"></script>
<script src="./assets/-/config.js?v=5-5-2024"></script>
<script src="/assets/scripts/m.js?v=78"></script>
<script src="/assets/scripts/m.js?v=80"></script>
<!-- DO NOT REMOVE-->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WKJQ5QHQTJ"></script>
<script>
Expand Down
6 changes: 3 additions & 3 deletions static/tools.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<script src="./assets/-/bundle.js?v=5-5-2024"></script>
<script src="./assets/-/config.js?v=5-5-2024"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/assets/css/global.css" />
<link rel="stylesheet" href="/assets/css/global.css?v=2" />
<link rel="stylesheet" href="/assets/css/container.css" />
<link rel="stylesheet" href="/assets/css/nav.css" />
<script src="/assets/scripts/m.js?v=78"></script>
<script src="/assets/scripts/m.js?v=80"></script>
<script src="/assets/scripts/i.js?V=42"></script>
<script src="https://kit.fontawesome.com/1237c86ba0.js" crossorigin="anonymous"></script>
</head>
Expand All @@ -36,7 +36,7 @@
<div class="pinned-apps"></div>
<div class="container-apps"></div>
<script src="assets/scripts/ap.js?v=116"></script>
<script src="/assets/scripts/m.js?v=78"></script>
<script src="/assets/scripts/m.js?v=80"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WKJQ5QHQTJ"></script>
<!-- DO NOT REMOVE-->
<script>
Expand Down
4 changes: 2 additions & 2 deletions static/tos.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" id="tab-favicon" href="favicon.png" />
<title id="tab-title">Home</title>
<link rel="stylesheet" href="/assets/css/global.css" />
<link rel="stylesheet" href="/assets/css/global.css?v=2" />
<link rel="stylesheet" href="/assets/css/nav.css" />
<script src="https://kit.fontawesome.com/1237c86ba0.js" crossorigin="anonymous"></script>

Expand Down Expand Up @@ -281,7 +281,7 @@ <h2>Section 8: Supporters ❤</h2>
<h2>Last Updated</h2>
<p>April 25, 2024 - Made some clauses easier to read and understand.</p>
<p>April 12, 2024 - Privacy Policy & ToS created.</p>
<script src="/assets/scripts/m.js?v=78"></script>
<script src="/assets/scripts/m.js?v=80"></script>
<!-- DO NOT REMOVE-->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WKJQ5QHQTJ"></script>
<script>
Expand Down

0 comments on commit a9a34e1

Please sign in to comment.