docs: use mutation observer to check dark mode class

This commit is contained in:
bcakmakoglu
2022-06-10 21:11:10 +02:00
committed by Braks
parent 9a4c4d6c02
commit 8fd5505eec
2 changed files with 18 additions and 4 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ const npmData = await $fetch('https://api.npmjs.org/downloads/point/last-month/@
</script>
<template>
<div class="w-full dark:(bg-black text-white border-white) border-black border-b-1">
<div class="w-full dark:(bg-black text-white border-white) border-black border-y-1">
<div class="max-w-full md:max-w-11/12 m-auto py-4 md:py-12 <md:(dark:border-t-1 border-white)">
<div class="grid md:grid-cols-3 gap-3 text-center <md:divide-y md:divide-x dark:divide-white divide-black">
<div class="grid grid-rows-auto gap-2 py-4 md:py-0">