Files
Nexumi/apps/webui/src/app/globals.css
TheOnlyMace 75ac91eecc Add new features and enhancements to the WebUI and dashboard components
- Updated package.json to include new dependencies: `@radix-ui/react-dialog` and `cmdk`.
- Enhanced global styles in globals.css for improved visual depth in dark mode.
- Refactored dashboard page components to improve layout and accessibility, including new icons and responsive design adjustments.
- Implemented suspense handling in commands page for better loading states.
- Improved sidebar navigation with new icons and mobile responsiveness.
- Added FieldAnchor components across various forms for better accessibility and structure.
- Enhanced commands manager with search parameter handling for improved user experience.
- Updated multiple module forms to include FieldAnchor for consistent layout and accessibility.
2026-07-22 19:44:55 +02:00

92 lines
2.5 KiB
CSS

@import 'tailwindcss';
@custom-variant dark (&:is(.dark *));
:root {
--background: #f8f8fb;
--foreground: #111116;
--card: #ffffff;
--card-foreground: #111116;
--popover: #ffffff;
--popover-foreground: #111116;
--primary: #6366f1;
--primary-foreground: #ffffff;
--secondary: #f1f1f5;
--secondary-foreground: #111116;
--muted: #f1f1f5;
--muted-foreground: #6b7280;
--accent: #eef0ff;
--accent-foreground: #312e81;
--destructive: #dc2626;
--destructive-foreground: #ffffff;
--border: #e4e4ea;
--input: #e4e4ea;
--ring: #6366f1;
--radius: 0.625rem;
}
.dark {
--background: #0a0a0d;
--foreground: #e6e6ea;
--card: #131318;
--card-foreground: #e6e6ea;
--popover: #15151b;
--popover-foreground: #e6e6ea;
--primary: #6366f1;
--primary-foreground: #ffffff;
--secondary: #1b1b22;
--secondary-foreground: #e6e6ea;
--muted: #1b1b22;
--muted-foreground: #9a9aa5;
--accent: #1e1b4b;
--accent-foreground: #c7d2fe;
--destructive: #f87171;
--destructive-foreground: #1a0505;
--border: #23232b;
--input: #23232b;
--ring: #6366f1;
}
@theme inline {
--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);
--radius-lg: var(--radius);
--radius-md: calc(var(--radius) - 2px);
--radius-sm: calc(var(--radius) - 4px);
--font-sans: var(--font-inter);
}
* {
border-color: var(--border);
}
body {
background: var(--background);
color: var(--foreground);
font-family: var(--font-sans), ui-sans-serif, system-ui, sans-serif;
-webkit-font-smoothing: antialiased;
}
/* Subtle page depth without full-bleed gradients (SPEC). */
.dark body {
background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.08), transparent);
background-attachment: fixed;
}