updated react example with todo example

This commit is contained in:
dswbx
2025-03-15 16:37:03 +01:00
parent 0e81e14421
commit 2531c2d8d4
15 changed files with 261 additions and 37 deletions

View File

@@ -0,0 +1,25 @@
/* @todo: currently not working nicely */
#app {
@import "tailwindcss";
:root {
--background: #ffffff;
--foreground: #171717;
}
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}
@theme {
--color-background: var(--background);
--color-foreground: var(--foreground);
}
width: 100%;
min-height: 100dvh;
@apply bg-background text-foreground flex;
font-family: Arial, Helvetica, sans-serif;
}