Added more things
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 34s

This commit is contained in:
2026-03-20 00:07:23 +01:00
parent b1c5535420
commit 2def9a207c
9 changed files with 425 additions and 27 deletions

View File

@@ -1,3 +1,5 @@
<template>
<head>
<title>Aran Central</title>
@@ -11,17 +13,10 @@
</template>
<script setup lang="ts">
import { onMounted } from 'vue';
onMounted(() => {
const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (isDarkMode) {
document.documentElement.setAttribute("data-theme", "dark");
} else {
document.documentElement.setAttribute("data-theme", "light");
}
setupTheme()
});
</script>
<style lang="scss" scoped>