Fix2
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 1m46s

This commit is contained in:
2026-03-12 00:47:07 +01:00
parent 8099a687fd
commit 4c561738c4
2 changed files with 21 additions and 6 deletions

View File

@@ -11,13 +11,17 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches; 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");
}
});
if (isDarkMode) {
document.documentElement.setAttribute("data-theme", "dark");
} else {
document.documentElement.setAttribute("data-theme", "light");
}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

View File

@@ -22,4 +22,15 @@ body {
/* OR for standard crisp images */ /* OR for standard crisp images */
image-rendering: crisp-edges; image-rendering: crisp-edges;
pointer-events: none; pointer-events: none;
}
ul {
list-style: none; /* Remove default bullets */
}
ul > li {padding: 10px 25px} /* Stretching li elements a little so it looks prettier */
li::before {
content: "";
width: 16px;
height: 16px;
background-color: #d050ff;
} }