accept string and date in toLocalDate() util

This commit is contained in:
2025-11-10 16:09:53 +01:00
parent b03ae2b3de
commit 67a0ef2180
7 changed files with 220 additions and 15 deletions
+6 -3
View File
@@ -65,6 +65,8 @@ @theme inline {
--color-status-reminded: var(--status-reminded);
--text-xs: 0.694rem;
--shadow-arrow: 0 2px 1px rgb(0 0 0 / 0.1)
}
@@ -111,7 +113,7 @@ :root {
--secondary-foreground: hsl(0 0% 9%);
--muted: var(--color-slate-50);
--muted-foreground: var(--color-slate-400);
--accent: var(--color-stone-50);
--accent: var(--color-slate-50);
--accent-foreground: hsl(0 0% 9%);
--destructive: var(--color-red-500);
--destructive-foreground: hsl(0 0% 98%);
@@ -143,9 +145,10 @@ :root {
.dark {
--background: var(--color-neutral-800);
--foreground: var(--color-neutral-300);
--card: hsl(0 0% 3.9%);
--card: var(--color-neutral-800);
--card-foreground: hsl(0 0% 98%);
--popover: hsl(0 0% 3.9%);
/* --popover: hsl(0 0% 3.9%); */
--popover: var(--color-neutral-900);
--popover-foreground: hsl(0 0% 98%);
--primary: var(--color-orange-300);
--primary-foreground: var(--color-orange-600);