mirror of
https://github.com/GenShibe/website.git
synced 2025-02-12 17:44:48 +00:00
er um errrr idk lol meow? test?
This commit is contained in:
parent
6b597921b2
commit
d88f4dabf8
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
||||||
<a href="https://en.pronouns.page/@genshibe">any pronouns :3</a>
|
<a href="https://en.pronouns.page/@genshibe">any pronouns :3</a>
|
||||||
</h2>
|
</h2>
|
||||||
<hr />
|
<hr />
|
||||||
<h2>I'm a 19 year old...</h2>
|
<h2>I'm a...</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Transit enthusiast 🚍</li>
|
<li>Transit enthusiast 🚍</li>
|
||||||
<li>Photographer 📸</li>
|
<li>Photographer 📸</li>
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("DOMContentLoaded", () => {
|
window.addEventListener("DOMContentLoaded", () => {
|
||||||
const selector = document.querySelector(".theme-selector");
|
const selector = document.querySelector(".theme-selector");
|
||||||
selector.value = localStorage.getItem("theme") || window.matchMedia('(prefers-color-scheme: dark)').matches ? "mocha" : "latte";
|
selector.value = localStorage.getItem("theme") || window.matchMedia('(prefers-color-scheme: dark)').matches ? "frappe" : "latte";
|
||||||
document.documentElement.setAttribute("theme", selector.value);
|
document.documentElement.setAttribute("theme", selector.value);
|
||||||
selector.addEventListener("change", function () {
|
selector.addEventListener("change", function () {
|
||||||
localStorage.setItem("theme", this.value);
|
localStorage.setItem("theme", this.value);
|
||||||
|
|
Loading…
Add table
Reference in a new issue