mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-17 10:17:05 +00:00
- Add Radix UI scroll-area and tabs components - Redesign settings dialog with tabbed layout for better organization - Add Card components for structured content display - Update accounts and profiles tables UI - Add scrollable areas for better content management - Improve overall dialog loading and styling
131 lines
4.0 KiB
CSS
131 lines
4.0 KiB
CSS
@import 'tailwindcss';
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
:root {
|
|
/* CCS Brand Colors - Calculated from Crail, Pampas, White, Cloudy */
|
|
/* Primary: Neutral (Dark Warm Grey) - Demoted Crail from Primary */
|
|
--primary: oklch(0.2 0.02 40);
|
|
--primary-foreground: oklch(0.9635 0.0067 97.35); /* Pampas */
|
|
|
|
--secondary: oklch(0.9 0.01 95); /* Light Cloudy */
|
|
--secondary-foreground: oklch(0.2 0.02 40);
|
|
|
|
/* Accent: Crail (Moved from Primary) */
|
|
--accent: oklch(0.5971 0.1352 39.87); /* Crail */
|
|
--accent-foreground: oklch(1 0 0); /* White */
|
|
|
|
--background: oklch(0.9635 0.0067 97.35); /* Pampas */
|
|
--foreground: oklch(0.2 0.02 40); /* Dark warm grey */
|
|
|
|
--muted: oklch(0.92 0.01 95);
|
|
--muted-foreground: oklch(0.55 0.02 40);
|
|
|
|
--border: oklch(0.85 0.015 91.6); /* Based on Cloudy */
|
|
--input: oklch(0.85 0.015 91.6);
|
|
|
|
--ring: oklch(0.2 0.02 40); /* Match primary */
|
|
--radius: 0.5rem;
|
|
|
|
--popover: oklch(0.9635 0.0067 97.35); /* Match background */
|
|
--popover-foreground: oklch(0.2 0.02 40); /* Match foreground */
|
|
|
|
/* Sidebar colors - Light */
|
|
--sidebar: oklch(0.9635 0.0067 97.35); /* Pampas */
|
|
--sidebar-foreground: oklch(0.2 0.02 40);
|
|
--sidebar-primary: oklch(0.2 0.02 40); /* Neutral */
|
|
--sidebar-primary-foreground: oklch(0.9635 0.0067 97.35);
|
|
--sidebar-accent: oklch(0.5971 0.1352 39.87); /* Crail */
|
|
--sidebar-accent-foreground: oklch(1 0 0);
|
|
--sidebar-border: oklch(0.85 0.015 91.6);
|
|
--sidebar-ring: oklch(0.2 0.02 40);
|
|
}
|
|
|
|
.dark {
|
|
/* Dark Theme */
|
|
/* Primary: Neutral (Pampas) */
|
|
--primary: oklch(0.9635 0.0067 97.35);
|
|
--primary-foreground: oklch(0.2 0.02 40);
|
|
|
|
/* Background: RGB(38, 38, 36) -> approx oklch(0.21 0.006 100) */
|
|
--background: oklch(0.21 0.006 100);
|
|
--foreground: oklch(0.9635 0.0067 97.35); /* Pampas */
|
|
|
|
--secondary: oklch(0.25 0.01 40);
|
|
--secondary-foreground: oklch(0.96 0.007 97);
|
|
|
|
--muted: oklch(0.25 0.01 40);
|
|
--muted-foreground: oklch(0.7 0.01 40);
|
|
|
|
/* Accent: Crail */
|
|
--accent: oklch(0.65 0.14 39.87);
|
|
--accent-foreground: oklch(1 0 0);
|
|
|
|
--border: oklch(0.35 0.01 40);
|
|
--input: oklch(0.35 0.01 40);
|
|
|
|
--ring: oklch(0.9635 0.0067 97.35);
|
|
|
|
--popover: oklch(0.21 0.006 100); /* Match dark bg */
|
|
--popover-foreground: oklch(0.9635 0.0067 97.35); /* Match dark fg */
|
|
|
|
/* Sidebar Dark Theme */
|
|
--sidebar: oklch(0.21 0.006 100); /* Match bg */
|
|
--sidebar-foreground: oklch(0.9635 0.0067 97.35);
|
|
--sidebar-primary: oklch(0.9635 0.0067 97.35);
|
|
--sidebar-primary-foreground: oklch(0.2 0.02 40);
|
|
--sidebar-accent: oklch(0.65 0.14 39.87);
|
|
--sidebar-accent-foreground: oklch(1 0 0);
|
|
--sidebar-border: oklch(0.35 0.01 40);
|
|
--sidebar-ring: oklch(0.9635 0.0067 97.35);
|
|
}
|
|
|
|
@theme inline {
|
|
--color-primary: var(--primary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--color-muted: var(--muted);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-border: var(--border);
|
|
--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);
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: var(--radius);
|
|
--radius-lg: calc(var(--radius) + 4px);
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
0% {
|
|
transform: translateX(-100%);
|
|
}
|
|
100% {
|
|
transform: translateX(100%);
|
|
}
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
font-family: 'Fira Sans', system-ui, sans-serif;
|
|
margin: 0;
|
|
}
|
|
code,
|
|
pre {
|
|
font-family: 'Fira Code', monospace;
|
|
}
|
|
}
|