- Map Justine tokens to shadcn CSS variables (--vibn-* aliases) - Switch fonts to Inter + Lora via next/font (IBM Plex Mono for code) - Base typography: body Inter, h1–h3 Lora; marketing hero + wordmark serif - Project shell and global chrome use semantic colors - Replace Outfit/Newsreader references across TSX inline styles Made-with: Cursor
171 lines
5.5 KiB
CSS
171 lines
5.5 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@keyframes vibn-enter { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
|
|
@keyframes vibn-blink { 0%,100%{opacity:.2} 50%{opacity:.8} }
|
|
@keyframes vibn-breathe { 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }
|
|
.vibn-enter { animation: vibn-enter 0.35s ease both; }
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--font-sans: var(--font-inter);
|
|
--font-serif: var(--font-lora);
|
|
--font-mono: var(--font-ibm-plex-mono);
|
|
--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) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
}
|
|
|
|
:root {
|
|
--radius: 0.5rem;
|
|
/* Justine UX pack — ink & parchment (aligned with master-ai/justine/00_design-tokens.css) */
|
|
--vibn-ink: #1a1510;
|
|
--vibn-ink2: #2c2c2a;
|
|
--vibn-ink3: #444441;
|
|
--vibn-mid: #5f5e5a;
|
|
--vibn-muted: #888780;
|
|
--vibn-stone: #b4b2a9;
|
|
--vibn-parch: #d3d1c7;
|
|
--vibn-cream: #f1efe8;
|
|
--vibn-paper: #f7f4ee;
|
|
--vibn-white: #fdfcfa;
|
|
--vibn-border: #e8e2d9;
|
|
|
|
--background: var(--vibn-paper);
|
|
--foreground: var(--vibn-ink);
|
|
--card: var(--vibn-white);
|
|
--card-foreground: var(--vibn-ink);
|
|
--popover: var(--vibn-white);
|
|
--popover-foreground: var(--vibn-ink);
|
|
--primary: var(--vibn-ink);
|
|
--primary-foreground: var(--vibn-paper);
|
|
--secondary: var(--vibn-cream);
|
|
--secondary-foreground: var(--vibn-ink);
|
|
--muted: var(--vibn-cream);
|
|
--muted-foreground: var(--vibn-muted);
|
|
--accent: var(--vibn-cream);
|
|
--accent-foreground: var(--vibn-ink);
|
|
--destructive: #b42318;
|
|
--border: var(--vibn-border);
|
|
--input: var(--vibn-border);
|
|
--ring: var(--vibn-stone);
|
|
--chart-1: oklch(0.70 0.15 60);
|
|
--chart-2: oklch(0.70 0.12 210);
|
|
--chart-3: oklch(0.55 0.10 220);
|
|
--chart-4: oklch(0.40 0.08 230);
|
|
--chart-5: oklch(0.75 0.15 70);
|
|
--sidebar: var(--vibn-white);
|
|
--sidebar-foreground: var(--vibn-ink);
|
|
--sidebar-primary: var(--vibn-ink);
|
|
--sidebar-primary-foreground: var(--vibn-paper);
|
|
--sidebar-accent: var(--vibn-paper);
|
|
--sidebar-accent-foreground: var(--vibn-ink);
|
|
--sidebar-border: var(--vibn-border);
|
|
--sidebar-ring: var(--vibn-stone);
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.145 0 0);
|
|
--foreground: oklch(0.985 0 0);
|
|
--card: oklch(0.205 0 0);
|
|
--card-foreground: oklch(0.985 0 0);
|
|
--popover: oklch(0.205 0 0);
|
|
--popover-foreground: oklch(0.985 0 0);
|
|
--primary: oklch(0.922 0 0);
|
|
--primary-foreground: oklch(0.205 0 0);
|
|
--secondary: oklch(0.269 0 0);
|
|
--secondary-foreground: oklch(0.985 0 0);
|
|
--muted: oklch(0.269 0 0);
|
|
--muted-foreground: oklch(0.708 0 0);
|
|
--accent: oklch(0.269 0 0);
|
|
--accent-foreground: oklch(0.985 0 0);
|
|
--destructive: oklch(0.704 0.191 22.216);
|
|
--border: oklch(1 0 0 / 10%);
|
|
--input: oklch(1 0 0 / 15%);
|
|
--ring: oklch(0.556 0 0);
|
|
--chart-1: oklch(0.488 0.243 264.376);
|
|
--chart-2: oklch(0.696 0.17 162.48);
|
|
--chart-3: oklch(0.769 0.188 70.08);
|
|
--chart-4: oklch(0.627 0.265 303.9);
|
|
--chart-5: oklch(0.645 0.246 16.439);
|
|
--sidebar: oklch(0.205 0 0);
|
|
--sidebar-foreground: oklch(0.985 0 0);
|
|
--sidebar-primary: oklch(0.85 0.02 85);
|
|
--sidebar-primary-foreground: oklch(0.18 0.02 60);
|
|
--sidebar-accent: oklch(0.269 0 0);
|
|
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
--sidebar-border: oklch(1 0 0 / 10%);
|
|
--sidebar-ring: oklch(0.556 0 0);
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
|
|
}
|
|
h1, h2, h3 {
|
|
font-family: var(--font-lora), ui-serif, Georgia, serif;
|
|
}
|
|
button {
|
|
font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
|
|
cursor: pointer;
|
|
}
|
|
input, textarea, select {
|
|
font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
|
|
}
|
|
input::placeholder {
|
|
color: var(--muted-foreground);
|
|
}
|
|
::selection {
|
|
background: var(--foreground);
|
|
color: var(--background);
|
|
}
|
|
::-webkit-scrollbar {
|
|
width: 4px;
|
|
height: 4px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--vibn-stone);
|
|
border-radius: 10px;
|
|
}
|
|
}
|