195 lines
6.8 KiB
CSS
195 lines
6.8 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
@import "shadcn/tailwind.css";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme inline {
|
|
--font-heading: var(--font-ui);
|
|
--font-sans: var(--font-ui);
|
|
--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);
|
|
--color-foreground: var(--foreground);
|
|
--color-background: var(--background);
|
|
--color-diff-add: var(--diff-add);
|
|
--color-diff-update: var(--diff-update);
|
|
--color-diff-delete: var(--diff-delete);
|
|
--color-diff-insync: var(--diff-insync);
|
|
--color-diff-readonly: var(--diff-readonly);
|
|
--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 {
|
|
/* Typography: distinctive UI grotesk + mono for DNS-shaped data. */
|
|
--font-ui: "Hanken Grotesk Variable", ui-sans-serif, sans-serif;
|
|
--font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
|
|
|
|
--background: oklch(0.98 0.003 260);
|
|
--foreground: oklch(0.2 0.012 260);
|
|
--card: oklch(1 0 0);
|
|
--card-foreground: oklch(0.2 0.012 260);
|
|
--popover: oklch(1 0 0);
|
|
--popover-foreground: oklch(0.2 0.012 260);
|
|
--primary: oklch(0.45 0.1 224);
|
|
--primary-foreground: oklch(0.98 0.005 260);
|
|
--secondary: oklch(0.94 0.006 260);
|
|
--secondary-foreground: oklch(0.25 0.012 260);
|
|
--muted: oklch(0.94 0.006 260);
|
|
--muted-foreground: oklch(0.5 0.012 260);
|
|
--accent: oklch(0.92 0.015 224);
|
|
--accent-foreground: oklch(0.25 0.012 260);
|
|
--destructive: oklch(0.58 0.21 20);
|
|
--border: oklch(0.88 0.006 260);
|
|
--input: oklch(0.88 0.006 260);
|
|
--ring: oklch(0.6 0.1 224 / 50%);
|
|
--chart-1: oklch(0.72 0.15 155);
|
|
--chart-2: oklch(0.8 0.14 85);
|
|
--chart-3: oklch(0.68 0.19 20);
|
|
--chart-4: oklch(0.55 0.1 224);
|
|
--chart-5: oklch(0.5 0.02 260);
|
|
--radius: 0.375rem;
|
|
--sidebar: oklch(0.96 0.005 260);
|
|
--sidebar-foreground: oklch(0.2 0.012 260);
|
|
--sidebar-primary: oklch(0.45 0.1 224);
|
|
--sidebar-primary-foreground: oklch(0.98 0.005 260);
|
|
--sidebar-accent: oklch(0.92 0.015 224);
|
|
--sidebar-accent-foreground: oklch(0.25 0.012 260);
|
|
--sidebar-border: oklch(0.88 0.006 260);
|
|
--sidebar-ring: oklch(0.6 0.1 224 / 50%);
|
|
|
|
/* Diff semantics — used across the domain-diff console (Task 3-6). */
|
|
--diff-add: oklch(0.72 0.15 155); /* emerald */
|
|
--diff-update: oklch(0.8 0.14 85); /* amber */
|
|
--diff-delete: oklch(0.68 0.19 20); /* rose */
|
|
--diff-insync: oklch(0.55 0.02 260); /* muted */
|
|
--diff-readonly: oklch(0.5 0.02 260); /* dimmed */
|
|
}
|
|
|
|
/* "Refined technical console" — dark by default (html.dark). Cool slate
|
|
surfaces, a single steel-cyan accent (never purple), hairline borders,
|
|
and a faint drafting-table grid for atmosphere instead of noise/blur. */
|
|
.dark {
|
|
--background: oklch(0.16 0.011 258);
|
|
--foreground: oklch(0.94 0.006 258);
|
|
--card: oklch(0.195 0.012 258);
|
|
--card-foreground: oklch(0.94 0.006 258);
|
|
--popover: oklch(0.185 0.012 258);
|
|
--popover-foreground: oklch(0.94 0.006 258);
|
|
--primary: oklch(0.74 0.11 224);
|
|
--primary-foreground: oklch(0.16 0.02 258);
|
|
--secondary: oklch(0.26 0.012 258);
|
|
--secondary-foreground: oklch(0.94 0.006 258);
|
|
--muted: oklch(0.23 0.011 258);
|
|
--muted-foreground: oklch(0.64 0.016 258);
|
|
--accent: oklch(0.28 0.03 224);
|
|
--accent-foreground: oklch(0.94 0.006 258);
|
|
--destructive: oklch(0.68 0.19 20);
|
|
--border: oklch(1 0 0 / 9%);
|
|
--input: oklch(1 0 0 / 12%);
|
|
--ring: oklch(0.74 0.11 224 / 45%);
|
|
--chart-1: oklch(0.72 0.15 155);
|
|
--chart-2: oklch(0.8 0.14 85);
|
|
--chart-3: oklch(0.68 0.19 20);
|
|
--chart-4: oklch(0.74 0.11 224);
|
|
--chart-5: oklch(0.55 0.02 258);
|
|
--sidebar: oklch(0.135 0.012 258);
|
|
--sidebar-foreground: oklch(0.88 0.008 258);
|
|
--sidebar-primary: oklch(0.74 0.11 224);
|
|
--sidebar-primary-foreground: oklch(0.16 0.02 258);
|
|
--sidebar-accent: oklch(0.22 0.014 258);
|
|
--sidebar-accent-foreground: oklch(0.94 0.006 258);
|
|
--sidebar-border: oklch(1 0 0 / 8%);
|
|
--sidebar-ring: oklch(0.74 0.11 224 / 45%);
|
|
|
|
--diff-add: oklch(0.72 0.15 155);
|
|
--diff-update: oklch(0.8 0.14 85);
|
|
--diff-delete: oklch(0.68 0.19 20);
|
|
--diff-insync: oklch(0.55 0.02 258);
|
|
--diff-readonly: oklch(0.42 0.014 258);
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
|
|
html {
|
|
@apply font-sans;
|
|
color-scheme: dark;
|
|
}
|
|
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
font-family: var(--font-ui);
|
|
background-image:
|
|
linear-gradient(to right, oklch(1 0 0 / 3%) 1px, transparent 1px),
|
|
linear-gradient(to bottom, oklch(1 0 0 / 3%) 1px, transparent 1px);
|
|
background-size: 32px 32px;
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
::selection {
|
|
background: oklch(0.74 0.11 224 / 30%);
|
|
color: var(--foreground);
|
|
}
|
|
|
|
/* Thin, muted scrollbars — a console tool doesn't shout. */
|
|
* {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--border) transparent;
|
|
}
|
|
*::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
*::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
*::-webkit-scrollbar-thumb {
|
|
background-color: var(--border);
|
|
border-radius: 999px;
|
|
border: 2px solid transparent;
|
|
background-clip: padding-box;
|
|
}
|
|
}
|
|
|
|
/* DNS-shaped data (record names, TTLs, IPs, zone files) reads in mono. */
|
|
.font-dns {
|
|
font-family: var(--font-mono);
|
|
font-feature-settings: "tnum" 1, "zero" 1;
|
|
letter-spacing: -0.01em;
|
|
}
|