Skip to content

Commit a9a34e1

Browse files
committed
V5.2.4 - Added Inverted Theme + Formatted
1 parent 5302206 commit a9a34e1

File tree

17 files changed

+60
-25
lines changed

17 files changed

+60
-25
lines changed

static/404.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
88
<link rel="shortcut icon" id="tab-favicon" href="/favicon.png" />
99
<title id="tab-title">Home</title>
10-
<link rel="stylesheet" href="/assets/css/global.css" />
10+
<link rel="stylesheet" href="/assets/css/global.css?v=2" />
1111
<link rel="stylesheet" href="/assets/css/error.css" />
1212
<link rel="stylesheet" href="/assets/css/nav.css" />
1313
<script src="https://kit.fontawesome.com/1237c86ba0.js" crossorigin="anonymous"></script>
@@ -26,7 +26,7 @@ <h3>Page not found.</h3>
2626
<script src="/assets/scripts/i.js?V=42"></script>
2727
<script src="/assets/-/bundle.js?v=5-5-2024"></script>
2828
<script src="/assets/-/config.js?v=5-5-2024"></script>
29-
<script src="/assets/scripts/m.js?v=78"></script>
29+
<script src="/assets/scripts/m.js?v=80"></script>
3030
<div>
3131
<script type="text/javascript" src="//alleygoat.com/5e/6b/27/5e6b2776400180cc548a7dfd8ab3f717.js"></script>
3232
</div>

static/apps.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
<script src="./assets/-/bundle.js?v=5-5-2024"></script>
1111
<script src="./assets/-/config.js?v=5-5-2024"></script>
1212
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
13-
<link rel="stylesheet" href="/assets/css/global.css" />
13+
<link rel="stylesheet" href="/assets/css/global.css?v=2" />
1414
<link rel="stylesheet" href="/assets/css/container.css" />
1515
<link rel="stylesheet" href="/assets/css/nav.css" />
16-
<script src="/assets/scripts/m.js?v=78"></script>
16+
<script src="/assets/scripts/m.js?v=80"></script>
1717
<script src="/assets/scripts/i.js?V=42"></script>
1818
<script src="https://kit.fontawesome.com/1237c86ba0.js" crossorigin="anonymous"></script>
1919
</head>
@@ -39,7 +39,7 @@
3939
<div class="pinned-apps"></div>
4040
<div class="container-apps"></div>
4141
<script src="assets/scripts/ap.js?v=116"></script>
42-
<script src="/assets/scripts/m.js?v=78"></script>
42+
<script src="/assets/scripts/m.js?v=80"></script>
4343
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WKJQ5QHQTJ"></script>
4444
<!-- DO NOT REMOVE-->
4545
<script>

static/assets/css/global.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
--background-accent: #444; /* Accent Color for Tabs */
1515
--background-slider: #4caf50; /* Active Slider Background Color */
1616
--slider-accent: #ccc; /* Slider Background Color */
17+
--nav-image: url("/./assets/media/favicon/main.png"); /* Nav Logo */
1718
/* Text Variables */
1819
--text-primary: #fff; /* Primary Text Color */
1920
--text-dark: #555; /* Dark Text Color for Error Page, Scrollbar, and Particles */
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
:root {
2+
/* Background Variables */
3+
--background-image: url("/./assets/media/background/full-inverted.png"); /* Background Image */
4+
--backdrop-filter: blur(10px) brightness(80%); /* Nav Backdrop filter */
5+
--background-nav: rgba(0, 0, 0, 0.02); /* Nav Background */
6+
--background-color: #ddd; /* Main Background Color */
7+
--background-input: #cccccc; /* Input Field Background Color */
8+
--background-column: #cacaca; /* Background for Apps Container */
9+
--background-settings: #d5d5d5; /* Settings Card Background */
10+
--background-buttons: #ccc; /* Button Background Color */
11+
--background-accent: #bbb; /* Accent Color for Tabs */
12+
--background-slider: #b3b0af; /* Active Slider Background Color */
13+
--slider-accent: #333; /* Slider Background Color */
14+
--nav-image: url("/./assets/media/favicon/main-inverted.png"); /* Nav Logo */
15+
/* Text Variables */
16+
--text-primary: #000; /* Primary Text Color */
17+
--text-dark: #aaa; /* Dark Text Color for Error Page, Scrollbar, and Particles */
18+
--text-placeholder: #555; /* Placeholder Text Color */
19+
/* Other Variables */
20+
--tab-hover: #9391,8; /* Tab Color on Hover */
21+
}
125 KB
Loading
File renamed without changes.
9.44 KB
Loading
-742 Bytes
Binary file not shown.

static/assets/scripts/m.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,17 @@ document.addEventListener("DOMContentLoaded", function () {
6868
var nav = document.querySelector(".fixed-nav-bar")
6969

7070
if (nav) {
71+
var themeId = localStorage.getItem("theme")
72+
var LogoUrl = "/assets/media/favicon/main.png"
73+
var LogoUrl
74+
if (themeId === "Inverted") {
75+
LogoUrl = "/assets/media/favicon/main-inverted.png"
76+
} else {
77+
LogoUrl = LogoUrl
78+
}
7179
var html = `
7280
<div class="fixed-nav-bar-container">
73-
<a class="icon" href="/./"><img alt="nav" id="INImg" src="/assets/media/favicon/main.png"/></a>
81+
<a class="icon" href="/./"><img alt="nav" id="INImg" src="${LogoUrl}"/></a>
7482
</div>
7583
<div class="fixed-nav-bar-right">
7684
<a class="navbar-link" href="/./gm"><i class="fa-solid fa-gamepad navbar-icon"></i><an>Ga</an><an>mes</an></a>
@@ -101,6 +109,9 @@ if (themeid == "catppuccinFrappe") {
101109
if (themeid == "catppuccinLatte") {
102110
themeEle.href = "/assets/css/themes/catppuccin/latte.css?v=1"
103111
document.body.appendChild(themeEle)
112+
} if (themeid == "Inverted") {
113+
themeEle.href = "/assets/css/themes/colors/inverted.css?v=1"
114+
document.body.appendChild(themeEle)
104115
} else {
105116
var customThemeEle = document.createElement("style")
106117
customThemeEle.textContent = localStorage.getItem("theme-" + themeid)

static/assets/scripts/s.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ function newCustomTheme() {
280280
themeName == "catppuccinMacchiato" ||
281281
themeName == "catppuccinFrappe" ||
282282
themeName == "catppuccinLatte" ||
283+
themeName == "Inverted" ||
283284
themeName == "d"
284285
) {
285286
alert("This theme name cannot be used.")
@@ -346,7 +347,7 @@ if (themeId == "") {
346347
themeId = "d"
347348
}
348349

349-
if (themeId == "catppuccinMocha" || themeId == "catppuccinMacchiato" || themeId == "catppuccinFrappe" || themeId == "catppuccinLatte" || themeId == "d") {
350+
if (themeId == "catppuccinMocha" || themeId == "catppuccinMacchiato" || themeId == "catppuccinFrappe" || themeId == "catppuccinLatte" || themeId == "d" || themeId == "Inverted") {
350351
document.getElementById("currentThemeText").textContent = "Selected Theme: Default Themes"
351352
document.getElementById("et").disabled = true
352353
document.getElementById("ext").disabled = true

0 commit comments

Comments
 (0)