shadcnthemes
All themes

Zen Linen 2

Zen Linen 2 is a green shadcn/ui theme with rounded corners and sans-serif typography, in light and dark modes.

Sans
Inter
Serif
Playfair Display
Mono
JetBrains Mono
Radius
0.5rem
Create project
Deploy your new project in one click.
Visitors
January – June
+12.5%
Buttons
Typography
The theme's three font families.
Sans · Inter
The quick brown fox
Serif · Playfair Display
jumps over the lazy dog.
Mono · JetBrains Mono
npx shadcn add button
Account
Notifications
Choose what you want to hear about.
Product updates
New features and releases
Security alerts
Sign-ins from new devices
Marketing
Tips, offers and news
Payment method
Team
Invite your teammates to collaborate.
SDJLINWK
OwnerEditorViewerSuspended
Storage7.2 of 10 GB
Volume64%
Invoices
InvoiceStatusAmount
INV001Paid$250.00
INV002Pending$150.00
INV003Unpaid$350.00
INV004Paid$450.00
FAQ

Yes. It adheres to the WAI-ARIA design pattern.

Colors

Click any swatch to copy its OKLCH value.

Base
Brand
Lines
Charts
Sidebar
StatusOptional, generated to match

Use this theme

Install it with the shadcn CLI, paste the CSS, or export tokens for your design tool.

Paste into app/globals.css, replacing the existing :root and .dark blocks.

:root {
  --background: oklch(0.8782 0.0274 85.67);
  --foreground: oklch(0.235 0 0);
  --card: oklch(0.9195 0.0169 88);
  --card-foreground: oklch(0.235 0 0);
  --popover: oklch(0.953 0.0156 86.43);
  --popover-foreground: oklch(0.235 0 0);
  --primary: oklch(0.3981 0.056 142.75);
  --primary-foreground: oklch(0.9707 0.0381 90.65);
  --secondary: oklch(0.5371 0.0533 166.55);
  --secondary-foreground: oklch(0.3012 0 0);
  --muted: oklch(0.6458 0.0446 131.89);
  --muted-foreground: oklch(0.5316 0.0482 82.86);
  --accent: oklch(0.3905 0.0604 147.31);
  --accent-foreground: oklch(0.9901 0.0161 95.22);
  --destructive: oklch(0.5771 0.2152 27.33);
  --destructive-foreground: oklch(1 0 0);
  --border: oklch(0.3464 0.0734 136.13);
  --input: oklch(0.4123 0.1002 129.47);
  --ring: oklch(0.4874 0.1269 133.17);
  --chart-1: oklch(0.5306 0.1203 132.52);
  --chart-2: oklch(0.638 0.0896 156.4);
  --chart-3: oklch(0.6199 0.0469 83.03);
  --chart-4: oklch(0.7456 0.0578 127.91);
  --chart-5: oklch(0.834 0.0232 87.16);
  --sidebar: oklch(0.8985 0.0199 87.52);
  --sidebar-foreground: oklch(0.235 0 0);
  --sidebar-primary: oklch(0.3012 0 0);
  --sidebar-primary-foreground: oklch(0.9169 0.0175 99.62);
  --sidebar-accent: oklch(0.9169 0.0175 99.62);
  --sidebar-accent-foreground: oklch(0.3012 0 0);
  --sidebar-border: oklch(0.8434 0.0231 87.16);
  --sidebar-ring: oklch(0.3012 0 0);
  --font-sans: "Inter", sans-serif;
  --font-serif: "Playfair Display", serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 0.5rem;
  --spacing: 0.25rem;
  --tracking-normal: 0.01em;
  --shadow-color: oklch(0 0 0);
  --shadow-opacity: 0.1;
  --shadow-blur: 10px;
  --shadow-spread: 0px;
  --shadow-offset-x: 0px;
  --shadow-offset-y: 4px;
  --shadow-2xs: 0px 4px 10px 0px hsl(0 0% 0% / 0.05);
  --shadow-xs: 0px 4px 10px 0px hsl(0 0% 0% / 0.05);
  --shadow-sm: 0px 4px 10px 0px hsl(0 0% 0% / 0.10), 0px 1px 2px -1px hsl(0 0% 0% / 0.10);
  --shadow: 0px 4px 10px 0px hsl(0 0% 0% / 0.10), 0px 1px 2px -1px hsl(0 0% 0% / 0.10);
  --shadow-md: 0px 4px 10px 0px hsl(0 0% 0% / 0.10), 0px 2px 4px -1px hsl(0 0% 0% / 0.10);
  --shadow-lg: 0px 4px 10px 0px hsl(0 0% 0% / 0.10), 0px 4px 6px -1px hsl(0 0% 0% / 0.10);
  --shadow-xl: 0px 4px 10px 0px hsl(0 0% 0% / 0.10), 0px 8px 10px -1px hsl(0 0% 0% / 0.10);
  --shadow-2xl: 0px 4px 10px 0px hsl(0 0% 0% / 0.25);
}

.dark {
  --background: oklch(0.2806 0.0128 93.87);
  --foreground: oklch(0.9759 0.0232 82.12);
  --card: oklch(0.6471 0.0333 99.09);
  --card-foreground: oklch(0.9173 0.0133 82.4);
  --popover: oklch(0.2264 0 0);
  --popover-foreground: oklch(0.9173 0.0133 82.4);
  --primary: oklch(0.5159 0.03 136.44);
  --primary-foreground: oklch(0.9255 0.0463 86.46);
  --secondary: oklch(0.4142 0.039 140.87);
  --secondary-foreground: oklch(0.9714 0.0354 101.84);
  --muted: oklch(0.4223 0.0467 138.29);
  --muted-foreground: oklch(0.8423 0.0302 115.42);
  --accent: oklch(0.5599 0.0754 119.52);
  --accent-foreground: oklch(0.9291 0.0256 78.91);
  --destructive: oklch(0.6368 0.2078 25.33);
  --destructive-foreground: oklch(1 0 0);
  --border: oklch(0.6818 0.0551 129.41);
  --input: oklch(0.3369 0.0938 134.74);
  --ring: oklch(0.6731 0.0785 133.33);
  --chart-1: oklch(0.6863 0.1743 34.26);
  --chart-2: oklch(0.859 0.0209 74.64);
  --chart-3: oklch(0.6348 0.0113 81.79);
  --chart-4: oklch(0.4681 0.0069 84.58);
  --chart-5: oklch(0.3523 0 0);
  --sidebar: oklch(0.173 0 0);
  --sidebar-foreground: oklch(0.9173 0.0133 82.4);
  --sidebar-primary: oklch(0.852 0.0205 100.63);
  --sidebar-primary-foreground: oklch(0.3329 0 0);
  --sidebar-accent: oklch(0.3329 0 0);
  --sidebar-accent-foreground: oklch(0.852 0.0205 100.63);
  --sidebar-border: oklch(0.2931 0 0);
  --sidebar-ring: oklch(0.852 0.0205 100.63);
  --font-sans: "Inter", sans-serif;
  --font-serif: "Playfair Display", serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 0.5rem;
  --spacing: 0.25rem;
  --tracking-normal: 0.01em;
  --shadow-color: oklch(0 0 0);
  --shadow-opacity: 0.3;
  --shadow-blur: 15px;
  --shadow-spread: 0px;
  --shadow-offset-x: 0px;
  --shadow-offset-y: 6px;
  --shadow-2xs: 0px 6px 15px 0px hsl(0 0% 0% / 0.15);
  --shadow-xs: 0px 6px 15px 0px hsl(0 0% 0% / 0.15);
  --shadow-sm: 0px 6px 15px 0px hsl(0 0% 0% / 0.30), 0px 1px 2px -1px hsl(0 0% 0% / 0.30);
  --shadow: 0px 6px 15px 0px hsl(0 0% 0% / 0.30), 0px 1px 2px -1px hsl(0 0% 0% / 0.30);
  --shadow-md: 0px 6px 15px 0px hsl(0 0% 0% / 0.30), 0px 2px 4px -1px hsl(0 0% 0% / 0.30);
  --shadow-lg: 0px 6px 15px 0px hsl(0 0% 0% / 0.30), 0px 4px 6px -1px hsl(0 0% 0% / 0.30);
  --shadow-xl: 0px 6px 15px 0px hsl(0 0% 0% / 0.30), 0px 8px 10px -1px hsl(0 0% 0% / 0.30);
  --shadow-2xl: 0px 6px 15px 0px hsl(0 0% 0% / 0.75);
}

@theme inline {
  --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-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --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-sans: var(--font-sans);
  --font-mono: var(--font-mono);
  --font-serif: var(--font-serif);

  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);

  --shadow-2xs: var(--shadow-2xs);
  --shadow-xs: var(--shadow-xs);
  --shadow-sm: var(--shadow-sm);
  --shadow: var(--shadow);
  --shadow-md: var(--shadow-md);
  --shadow-lg: var(--shadow-lg);
  --shadow-xl: var(--shadow-xl);
  --shadow-2xl: var(--shadow-2xl);

  --tracking-tighter: calc(var(--tracking-normal) - 0.05em);
  --tracking-tight: calc(var(--tracking-normal) - 0.025em);
  --tracking-normal: var(--tracking-normal);
  --tracking-wide: calc(var(--tracking-normal) + 0.025em);
  --tracking-wider: calc(var(--tracking-normal) + 0.05em);
  --tracking-widest: calc(var(--tracking-normal) + 0.1em);
}

@layer base {
  body {
    letter-spacing: var(--tracking-normal);
  }
}

Similar themes