modo oscuro básico

This commit is contained in:
Cat /dev/Nulo 2023-12-29 23:50:33 -03:00
parent c4e626dbc3
commit 4d32ea99f3
2 changed files with 5 additions and 2 deletions

View file

@ -6,7 +6,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head% %sveltekit.head%
</head> </head>
<body data-sveltekit-preload-data="hover"> <body
class="bg-neutral-100 dark:bg-neutral-900 dark:text-neutral-200"
data-sveltekit-preload-data="hover"
>
<div style="display: contents">%sveltekit.body%</div> <div style="display: contents">%sveltekit.body%</div>
</body> </body>
</html> </html>

View file

@ -42,7 +42,7 @@
} }
</script> </script>
<div class="h-[300px] w-full min-w-[500px]"> <div class="h-[300px] w-full min-w-[500px] bg-neutral-200 dark:invert">
<ChartJs <ChartJs
type="line" type="line"
data={{ datasets }} data={{ datasets }}