Types + API: - Add User, TemplatePreview, QueueCustomField types - Add getUsers, getTemplates, createTemplate, updateTemplate, previewTemplate, updateQueue, updateLifecycle, updateCustomField API functions UI: - Command palette: keyboard-first navigation with fuzzy ticket search - Admin: comprehensive redesign with tab-based layout (Queues, Lifecycles, Scrips, Custom Fields, Templates, Users) - Ticket list: improved inbox-style rows with quick actions - Ticket detail: enhanced conversation thread and properties sidebar - App shell: sidebar visual refinement with active indicator bar - Theme toggle: smoother transitions Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
147 lines
4.9 KiB
CSS
147 lines
4.9 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
@import "shadcn/tailwind.css";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--font-sans: var(--font-sans);
|
|
--font-mono: var(--font-mono);
|
|
--font-heading: var(--font-sans);
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar: var(--sidebar);
|
|
--color-chart-5: var(--chart-5);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-ring: var(--ring);
|
|
--color-input: var(--input);
|
|
--color-border: var(--border);
|
|
--color-destructive: var(--destructive);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-card: var(--card);
|
|
--radius-sm: calc(var(--radius) * 0.6);
|
|
--radius-md: calc(var(--radius) * 0.8);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) * 1.4);
|
|
--radius-2xl: calc(var(--radius) * 1.8);
|
|
--radius-3xl: calc(var(--radius) * 2.2);
|
|
--radius-4xl: calc(var(--radius) * 2.6);
|
|
}
|
|
|
|
:root {
|
|
--background: oklch(0.982 0.006 106);
|
|
--foreground: oklch(0.19 0.018 248);
|
|
--card: oklch(0.996 0.003 106);
|
|
--card-foreground: oklch(0.19 0.018 248);
|
|
--popover: oklch(0.996 0.003 106);
|
|
--popover-foreground: oklch(0.19 0.018 248);
|
|
--primary: oklch(0.31 0.046 243);
|
|
--primary-foreground: oklch(0.99 0.003 106);
|
|
--secondary: oklch(0.945 0.01 105);
|
|
--secondary-foreground: oklch(0.25 0.026 244);
|
|
--muted: oklch(0.948 0.008 106);
|
|
--muted-foreground: oklch(0.49 0.023 250);
|
|
--accent: oklch(0.925 0.024 184);
|
|
--accent-foreground: oklch(0.21 0.028 246);
|
|
--destructive: oklch(0.55 0.18 27);
|
|
--border: oklch(0.865 0.014 102);
|
|
--input: oklch(0.84 0.015 102);
|
|
--ring: oklch(0.58 0.068 185);
|
|
--chart-1: oklch(0.62 0.095 184);
|
|
--chart-2: oklch(0.53 0.078 243);
|
|
--chart-3: oklch(0.64 0.12 77);
|
|
--chart-4: oklch(0.55 0.15 28);
|
|
--chart-5: oklch(0.44 0.055 257);
|
|
--radius: 0.5rem;
|
|
--sidebar: oklch(0.245 0.026 248);
|
|
--sidebar-foreground: oklch(0.93 0.012 108);
|
|
--sidebar-primary: oklch(0.69 0.105 184);
|
|
--sidebar-primary-foreground: oklch(0.18 0.022 248);
|
|
--sidebar-accent: oklch(0.31 0.031 248);
|
|
--sidebar-accent-foreground: oklch(0.98 0.006 106);
|
|
--sidebar-border: oklch(1 0 0 / 11%);
|
|
--sidebar-ring: oklch(0.66 0.102 184);
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.18 0.018 248);
|
|
--foreground: oklch(0.94 0.011 105);
|
|
--card: oklch(0.225 0.022 248);
|
|
--card-foreground: oklch(0.94 0.011 105);
|
|
--popover: oklch(0.225 0.022 248);
|
|
--popover-foreground: oklch(0.94 0.011 105);
|
|
--primary: oklch(0.74 0.105 184);
|
|
--primary-foreground: oklch(0.17 0.018 248);
|
|
--secondary: oklch(0.27 0.026 248);
|
|
--secondary-foreground: oklch(0.94 0.011 105);
|
|
--muted: oklch(0.28 0.023 248);
|
|
--muted-foreground: oklch(0.7 0.019 105);
|
|
--accent: oklch(0.31 0.043 184);
|
|
--accent-foreground: oklch(0.94 0.011 105);
|
|
--destructive: oklch(0.68 0.17 24);
|
|
--border: oklch(1 0 0 / 12%);
|
|
--input: oklch(1 0 0 / 16%);
|
|
--ring: oklch(0.68 0.095 184);
|
|
--chart-1: oklch(0.74 0.105 184);
|
|
--chart-2: oklch(0.7 0.105 74);
|
|
--chart-3: oklch(0.66 0.12 25);
|
|
--chart-4: oklch(0.61 0.08 245);
|
|
--chart-5: oklch(0.8 0.04 108);
|
|
--sidebar: oklch(0.145 0.018 248);
|
|
--sidebar-foreground: oklch(0.94 0.011 105);
|
|
--sidebar-primary: oklch(0.74 0.105 184);
|
|
--sidebar-primary-foreground: oklch(0.17 0.018 248);
|
|
--sidebar-accent: oklch(0.24 0.026 248);
|
|
--sidebar-accent-foreground: oklch(0.94 0.011 105);
|
|
--sidebar-border: oklch(1 0 0 / 11%);
|
|
--sidebar-ring: oklch(0.68 0.095 184);
|
|
}
|
|
|
|
@keyframes slide-in-right {
|
|
from {
|
|
transform: translateX(100%);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
font-feature-settings: "cv01" 1, "ss03" 1;
|
|
background-image:
|
|
linear-gradient(to right, color-mix(in oklch, var(--border) 45%, transparent) 1px, transparent 1px),
|
|
linear-gradient(to bottom, color-mix(in oklch, var(--border) 45%, transparent) 1px, transparent 1px);
|
|
background-size: 44px 44px;
|
|
}
|
|
html {
|
|
@apply font-sans;
|
|
}
|
|
}
|