Remove green
This commit is contained in:
parent
365d65bd1e
commit
43878301ed
3 changed files with 0 additions and 70 deletions
|
@ -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, "/");
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
<p>Toggling green...</p>
|
|
@ -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;
|
||||
}
|
Loading…
Reference in a new issue