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

View File

@@ -23,3 +23,14 @@ body {
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;
}