Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
152 lines
5.3 KiB
CSS
152 lines
5.3 KiB
CSS
@import "tailwindcss" source(none);
|
|
@source "../src";
|
|
@import "tw-animate-css";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme inline {
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
--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-success: var(--success);
|
|
--color-success-foreground: var(--success-foreground);
|
|
--color-warning: var(--warning);
|
|
--color-warning-foreground: var(--warning-foreground);
|
|
--color-border: var(--border);
|
|
--color-input: var(--input);
|
|
--color-ring: var(--ring);
|
|
--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);
|
|
--font-serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
|
|
--font-sans: "Inter", system-ui, -apple-system, sans-serif;
|
|
}
|
|
|
|
:root {
|
|
--radius: 0.5rem;
|
|
|
|
/* Surfaces — warm off-white paper */
|
|
--background: oklch(0.985 0.005 85);
|
|
--foreground: oklch(0.18 0.025 250);
|
|
|
|
--card: oklch(1 0 0);
|
|
--card-foreground: oklch(0.18 0.025 250);
|
|
|
|
--popover: oklch(1 0 0);
|
|
--popover-foreground: oklch(0.18 0.025 250);
|
|
|
|
/* Brand: deep navy ink */
|
|
--primary: oklch(0.27 0.06 255);
|
|
--primary-foreground: oklch(0.98 0.005 85);
|
|
|
|
--secondary: oklch(0.94 0.012 250);
|
|
--secondary-foreground: oklch(0.27 0.06 255);
|
|
|
|
--muted: oklch(0.95 0.008 250);
|
|
--muted-foreground: oklch(0.5 0.025 250);
|
|
|
|
--accent: oklch(0.92 0.04 80); /* subtle gold/parchment accent */
|
|
--accent-foreground: oklch(0.27 0.06 255);
|
|
|
|
--destructive: oklch(0.55 0.2 27);
|
|
--destructive-foreground: oklch(0.98 0.005 85);
|
|
|
|
--success: oklch(0.55 0.13 155);
|
|
--success-foreground: oklch(0.98 0.005 85);
|
|
|
|
--warning: oklch(0.7 0.14 75);
|
|
--warning-foreground: oklch(0.18 0.025 250);
|
|
|
|
--border: oklch(0.9 0.012 250);
|
|
--input: oklch(0.9 0.012 250);
|
|
--ring: oklch(0.45 0.08 255);
|
|
|
|
--sidebar: oklch(0.22 0.04 255);
|
|
--sidebar-foreground: oklch(0.92 0.012 250);
|
|
--sidebar-primary: oklch(0.62 0.15 70);
|
|
--sidebar-primary-foreground: oklch(0.18 0.025 250);
|
|
--sidebar-accent: oklch(0.28 0.05 255);
|
|
--sidebar-accent-foreground: oklch(0.96 0.008 85);
|
|
--sidebar-border: oklch(0.3 0.04 255);
|
|
--sidebar-ring: oklch(0.55 0.1 255);
|
|
|
|
--chart-1: oklch(0.62 0.15 70);
|
|
--chart-2: oklch(0.45 0.1 255);
|
|
--chart-3: oklch(0.55 0.13 155);
|
|
--chart-4: oklch(0.55 0.2 27);
|
|
--chart-5: oklch(0.5 0.025 250);
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.16 0.025 250);
|
|
--foreground: oklch(0.96 0.008 85);
|
|
--card: oklch(0.22 0.03 255);
|
|
--card-foreground: oklch(0.96 0.008 85);
|
|
--popover: oklch(0.22 0.03 255);
|
|
--popover-foreground: oklch(0.96 0.008 85);
|
|
--primary: oklch(0.85 0.04 80);
|
|
--primary-foreground: oklch(0.18 0.025 250);
|
|
--secondary: oklch(0.28 0.04 255);
|
|
--secondary-foreground: oklch(0.96 0.008 85);
|
|
--muted: oklch(0.28 0.04 255);
|
|
--muted-foreground: oklch(0.72 0.02 250);
|
|
--accent: oklch(0.32 0.05 255);
|
|
--accent-foreground: oklch(0.96 0.008 85);
|
|
--destructive: oklch(0.65 0.18 27);
|
|
--destructive-foreground: oklch(0.98 0.005 85);
|
|
--success: oklch(0.65 0.13 155);
|
|
--success-foreground: oklch(0.18 0.025 250);
|
|
--warning: oklch(0.78 0.14 75);
|
|
--warning-foreground: oklch(0.18 0.025 250);
|
|
--border: oklch(1 0 0 / 12%);
|
|
--input: oklch(1 0 0 / 14%);
|
|
--ring: oklch(0.62 0.1 255);
|
|
--sidebar: oklch(0.18 0.03 255);
|
|
--sidebar-foreground: oklch(0.92 0.012 250);
|
|
--sidebar-primary: oklch(0.62 0.15 70);
|
|
--sidebar-primary-foreground: oklch(0.18 0.025 250);
|
|
--sidebar-accent: oklch(0.24 0.04 255);
|
|
--sidebar-accent-foreground: oklch(0.96 0.008 85);
|
|
--sidebar-border: oklch(1 0 0 / 10%);
|
|
--sidebar-ring: oklch(0.55 0.1 255);
|
|
}
|
|
|
|
@layer base {
|
|
* { border-color: var(--color-border); }
|
|
body {
|
|
background-color: var(--color-background);
|
|
color: var(--color-foreground);
|
|
font-family: var(--font-sans);
|
|
font-feature-settings: "cv11", "ss01";
|
|
}
|
|
h1, h2, h3, h4 { font-family: var(--font-serif); letter-spacing: -0.01em; }
|
|
}
|
|
|
|
/* Custom form editor: table + caption styling */
|
|
.ProseMirror table { border-collapse: collapse; margin: 8px 0; width: 100%; table-layout: fixed; }
|
|
.ProseMirror th, .ProseMirror td { border: 1px solid #999; padding: 6px 8px; vertical-align: top; min-width: 40px; }
|
|
.ProseMirror th { background: #f3f4f6; font-weight: 600; text-align: left; }
|
|
.ProseMirror .selectedCell { background: rgba(59,130,246,0.15); }
|