Remove green

This commit is contained in:
pancakes 2025-01-13 16:55:18 +10:00
parent 365d65bd1e
commit 43878301ed
No known key found for this signature in database
GPG key ID: ED53D426432B861B
3 changed files with 0 additions and 70 deletions

View file

@ -1,16 +0,0 @@
import { browser } from '$app/environment';
import { redirect } from '@sveltejs/kit';
export async function load() {
if (!browser) return;
const green = window.localStorage.getItem("green");
if (green === "true") {
window.localStorage.removeItem("green");
} else {
window.localStorage.setItem("green", "true");
}
redirect(302, "/");
}

View file

@ -1 +0,0 @@
<p>Toggling green...</p>

View file

@ -1,53 +0,0 @@
:root {
--accent: #b0a64e !important;
--accent-2: #b0a64e !important;
--background: #4c5844 !important;
--background-2: #3e4637 !important;
--foreground: #a2a09c !important;
--success: #B0F950 !important;
--warn: #ffff00 !important;
--error: #AD4547 !important;
--radius: 0px !important;
}
h1 {
color: var(--accent) !important;
border-bottom: none !important;
}
h2,
h3,
h4,
h5,
h6 {
color: white !important;
border-bottom: none !important;
}
a,
a:visited {
color: white !important;
}
a:not(:has(>img)):hover,
a:not(:has(>img)):visited:hover {
background-color: transparent !important;
color: white !important;
text-decoration: underline solid white 1px !important;
}
pre code {
background-color: var(--background-2) !important;
color: white !important;
border-color: white !important;
}
.language-md,
.token {
color: white !important;
}
.icon-link>img.invert {
filter: hue-rotate(180deg) invert() !important;
}