Two month of work

This commit is contained in:
2026-02-17 10:35:03 +01:00
parent 0ffbeeedff
commit d9fd3d1ccb
158 changed files with 5637 additions and 1512 deletions
+79 -36
View File
@@ -45,6 +45,9 @@ @theme inline {
--color-warning: var(--warning);
--color-warning-foreground: var(--warning-foreground);
--color-action: var(--action);
--color-action-foreground: var(--action-foreground);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
@@ -57,6 +60,7 @@ @theme inline {
--color-sidebar: var(--sidebar-background);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar-icon: var(--sidebar-icon);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-accent: var(--sidebar-accent);
@@ -74,7 +78,7 @@ @theme inline {
/* https://typescale.com/ /*
/* Major Third */
--text-4xl: 3.815rem;
/* --text-4xl: 3.815rem;
--text-3xl: 3.052rem;
--text-2xl: 2.441rem;
--text-xl: 1.953rem;
@@ -82,12 +86,22 @@ @theme inline {
--text-md: 1.25rem;
--text-base: 1rem;
--text-sm: 0.8rem;
--text-xs: 0.64rem;
--text-xs: 0.64rem; */
/* Minor Third */
--text-4xl: 2.986rem;
--text-3xl: 2.488rem;
--text-2xl: 2.074rem;
--text-xl: 1.728rem;
--text-lg: 1.44rem;
--text-md: 1.2rem;
--text-base: 1rem;
--text-sm: 0.833rem;
--text-xs: 0.694rem;
--shadow-arrow: 0 2px 1px rgb(0 0 0 / 0.1)
}
/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
@@ -103,7 +117,7 @@ @layer base {
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
border-color: var(--color-zinc-200, currentColor);
}
}
@@ -112,11 +126,31 @@ @layer utilities {
body,
html {
--font-sans: system-ui, sans-serif;
font-size: 18px;
background-color: var(--sidebar-background);
/* background: linear-gradient(45deg, var(--color-slate-100), var(--color-orange-100)); */
font-size: 16px;
background-color: var(--main-background);
letter-spacing: 0.006em;
}
@media (min-width: 1281px) { body, html { font-size: 16px; } }
/* @media (min-width: 1921px) { body, html { font-size: 18px; } } */
/* Fluid scaling */
/* @media screen and (min-width: 320px) {
body,
html {
font-size: calc(16px + 2 * ((100vw - 320px) / 1120));
}
}
@media screen and (min-width: 1440px) {
body,
html {
font-size: 18px;
}
} */
}
:root {
@@ -126,14 +160,14 @@ :root {
--card-foreground: hsl(0 0% 3.9%);
--popover-foreground: hsl(0 0% 3.9%);
--popover: var(--color-background);
--popover-foreground: var(--color-gray-900);
--primary: var(--color-orange-200);
--primary-foreground: var(--color-orange-600);
--popover-foreground: var(--color-zinc-900);
--primary: var(--color-orange-500);
--primary-foreground: var(--color-white);
--secondary: hsl(0 0% 92.1%);
--secondary-foreground: hsl(0 0% 9%);
--muted: var(--color-gray-50);
--muted-foreground: var(--color-gray-400);
--accent: var(--color-gray-50);
--muted: var(--color-zinc-50);
--muted-foreground: var(--color-zinc-500);
--accent: var(--color-zinc-100);
--accent-foreground: hsl(0 0% 9%);
--destructive: var(--color-red-500);
--destructive-foreground: hsl(0 0% 98%);
@@ -141,26 +175,29 @@ :root {
--success-foreground: var(--color-foreground);
--warning: var(--color-amber-300);
--warning-foreground: var(--color-amber-900);
--border: hsl(0 0% 92.8%);
--action: var(--color-blue-500);
--action-foreground: var(--color-white);
--border: var(--color-zinc-200);
--input: var(--color-zinc-100);
--ring: hsl(0 0% 3.9%);
--ring: var(--color-zinc-200);
--chart-1: hsl(12 76% 61%);
--chart-2: hsl(313, 58%, 39%);
--chart-3: hsl(197 37% 24%);
--chart-4: hsl(43 74% 66%);
--chart-5: hsl(27 87% 67%);
--radius: 0.5rem;
--main-background: transparent;
--sidebar-background: var(--color-slate-100);
--sidebar-foreground: hsl(240 5.3% 26.1%);
--main-background: var(--color-zinc-50);
--sidebar-background: oklch(95.5% 0.003 286.35);;
--sidebar-foreground: var(--foreground);
--sidebar-icon: var(--color-zinc-500);
--sidebar-primary: hsl(0 0% 10%);
--sidebar-primary-foreground: hsl(0 0% 98%);
--sidebar-accent: var(--color-white);
--sidebar-accent-foreground: hsl(0 0% 30%);
--sidebar-border: var(--color-gray-300);
--sidebar-accent-foreground: var(--color-foreground);
--sidebar-border: oklch(84% 0.008 286.2);
--sidebar-ring: hsl(217.2 91.2% 59.8%);
--sidebar: hsl(0 0% 98%);
--status-draft: var(--color-gray-100);
--status-draft: var(--color-zinc-100);
--status-sent: var(--color-sky-400);
--status-paid: var(--color-lime-500);
--status-due: var(--color-warning);
@@ -170,27 +207,28 @@ :root {
}
.dark {
--background: var(--color-neutral-800);
--background: oklch(24% 0 0);
--foreground: var(--color-neutral-300);
--card: var(--color-neutral-800);
--card-foreground: var(--color-neutral-300);
/* --popover: hsl(0 0% 3.9%); */
--popover: var(--color-neutral-900);
--popover-foreground: var(--color-neutral-300);
--primary: var(--color-orange-300);
--primary-foreground: var(--color-orange-400);
--primary: var(--color-amber-600);
--primary-foreground: var(--color-amber-200);
--secondary: hsl(0 0% 14.9%);
--secondary-foreground: var(--color-neutral-300);
--muted: var(--color-neutral-700);
--muted-foreground: var(--color-neutral-500);
--accent: oklch(25% 0 0);
--accent: var(--color-neutral-800);
--accent-foreground: var(--color-neutral-300);
--destructive: var(--color-red-600);
--destructive-foreground: var(--color-red-200);
--success: var(--color-lime-900);
--success-foreground: var(--color-lime-400);
--destructive-foreground: var(--color-red-100);
--success: var(--color-lime-700);
--success-foreground: var(--color-lime-200);
--warning: var(--color-amber-900);
--warning-foreground: var(--color-amber-400);
--action: var(--color-blue-600);
--action-foreground: var(--color-blue-200);
--border: var(--color-neutral-700);
--input: var(--color-neutral-700);
--ring: var(--color-neutral-500);
@@ -199,17 +237,18 @@ .dark {
--chart-3: hsl(30 80% 55%);
--chart-4: hsl(280 65% 60%);
--chart-5: hsl(340 75% 55%);
--main-background: transparent;
--sidebar-background: var(--color-neutral-700);
--sidebar-foreground: hsl(0 0% 95.9%);
--main-background: oklch(29% 0 0);
--sidebar-background: var(--color-neutral-800);
--sidebar-foreground: var(--foreground);
--sidebar-icon: var(--color-neutral-500);
--sidebar-primary: hsl(360, 100%, 100%);
--sidebar-primary-foreground: hsl(0 0% 100%);
--sidebar-accent: hsl(0 0% 15.9%);
--sidebar-accent: var(--color-neutral-700);
--sidebar-accent-foreground: hsl(240 4.8% 95.9%);
--sidebar-border: var(--color-neutral-600);
--sidebar-border: var(--color-neutral-700);
--sidebar-ring: hsl(217.2 91.2% 59.8%);
--sidebar: hsl(240 5.9% 10%);
--status-draft: var(--color-zinc-500);
--status-draft: var(--color-neutral-500);
--status-sent: var(--color-sky-700);
--status-paid: var(--color-lime-700);
--status-due: var(--color-warning);
@@ -226,6 +265,10 @@ @layer base {
body {
@apply bg-background text-foreground;
}
.lucide {
stroke-width: 1.666;
}
}
@layer components {
@@ -251,6 +294,6 @@ @layer utilities {
/* Backdrop */
[data-slot=dialog-overlay] {
backdrop-filter: blur(2px);
backdrop-filter: blur(0.75px);
}
}