From 00db93e03f6ab4167336586fa93769887adac86f Mon Sep 17 00:00:00 2001 From: MacRimi Date: Mon, 29 Sep 2025 23:56:33 +0200 Subject: [PATCH] Update AppImage --- AppImage/app/globals.css | 47 ++++++++++++++++++++++--- AppImage/components/system-overview.tsx | 2 +- 2 files changed, 43 insertions(+), 6 deletions(-) diff --git a/AppImage/app/globals.css b/AppImage/app/globals.css index d41829b..e306679 100644 --- a/AppImage/app/globals.css +++ b/AppImage/app/globals.css @@ -1,8 +1,6 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; +@import "tailwindcss"; +@import "tw-animate-css"; -/* === Design tokens (CSS variables) === */ :root { --background: oklch(1 0 0); --foreground: oklch(0.145 0 0); @@ -74,7 +72,46 @@ --sidebar-ring: oklch(0.439 0 0); } -/* Base: ahora ya sin @theme inline (v4) */ +@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); +} + @layer base { * { @apply border-border outline-ring/50; diff --git a/AppImage/components/system-overview.tsx b/AppImage/components/system-overview.tsx index db397f1..c65eed9 100644 --- a/AppImage/components/system-overview.tsx +++ b/AppImage/components/system-overview.tsx @@ -199,7 +199,7 @@ export function SystemOverview() { setSystemData(newDemoData) setChartData(generateChartData(newDemoData)) } - }, 5000) // Update every 5 seconds instead of 30 + }, 30000) // Update every 30 seconds instead of 5 return () => { clearInterval(interval)