From d1997794c80dd78e1031e886b2639b9f1bee4467 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Mon, 29 Sep 2025 23:40:45 +0200 Subject: [PATCH] Update globals.css --- AppImage/app/globals.css | 47 +++++----------------------------------- 1 file changed, 5 insertions(+), 42 deletions(-) diff --git a/AppImage/app/globals.css b/AppImage/app/globals.css index e306679..d41829b 100644 --- a/AppImage/app/globals.css +++ b/AppImage/app/globals.css @@ -1,6 +1,8 @@ -@import "tailwindcss"; -@import "tw-animate-css"; +@tailwind base; +@tailwind components; +@tailwind utilities; +/* === Design tokens (CSS variables) === */ :root { --background: oklch(1 0 0); --foreground: oklch(0.145 0 0); @@ -72,46 +74,7 @@ --sidebar-ring: oklch(0.439 0 0); } -@theme inline { - /* optional: --font-sans, --font-serif, --font-mono if they are applied in the layout.tsx */ - --color-background: var(--background); - --color-foreground: var(--foreground); - --color-card: var(--card); - --color-card-foreground: var(--card-foreground); - --color-popover: var(--popover); - --color-popover-foreground: var(--popover-foreground); - --color-primary: var(--primary); - --color-primary-foreground: var(--primary-foreground); - --color-secondary: var(--secondary); - --color-secondary-foreground: var(--secondary-foreground); - --color-muted: var(--muted); - --color-muted-foreground: var(--muted-foreground); - --color-accent: var(--accent); - --color-accent-foreground: var(--accent-foreground); - --color-destructive: var(--destructive); - --color-destructive-foreground: var(--destructive-foreground); - --color-border: var(--border); - --color-input: var(--input); - --color-ring: var(--ring); - --color-chart-1: var(--chart-1); - --color-chart-2: var(--chart-2); - --color-chart-3: var(--chart-3); - --color-chart-4: var(--chart-4); - --color-chart-5: var(--chart-5); - --radius-sm: calc(var(--radius) - 4px); - --radius-md: calc(var(--radius) - 2px); - --radius-lg: var(--radius); - --radius-xl: calc(var(--radius) + 4px); - --color-sidebar: var(--sidebar); - --color-sidebar-foreground: var(--sidebar-foreground); - --color-sidebar-primary: var(--sidebar-primary); - --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); - --color-sidebar-accent: var(--sidebar-accent); - --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); - --color-sidebar-border: var(--sidebar-border); - --color-sidebar-ring: var(--sidebar-ring); -} - +/* Base: ahora ya sin @theme inline (v4) */ @layer base { * { @apply border-border outline-ring/50;