Style Library

Cosmic Night

Themeshadcn theme

shadcn/ui theme — light and dark tokens, Inter.

#6e56cf
#e4dfff
#d8e6ff
#f5f5ff
#2a2a4a
FontsInter headingsInter body

Preview

A sample page drawn from this style’s tokens — a guide to the look, not the exact output. Fonts from Google Fonts: Inter.

New · weekly review

Plan the week in ten minutes

Pull in every task, see what matters, and share one clear plan with the team.

Get startedSee how it worksDocs
Tasks done1,284+12% this week
Sign in
Emailyou@example.com
Remember meContinue
Today
Review roadmapDone
Ship onboardingIn progress
Team sync3 pm
Dark
New · weekly review

Plan the week in ten minutes

Pull in every task, see what matters, and share one clear plan with the team.

Get startedSee how it worksDocs
Tasks done1,284+12% this week
Sign in
Emailyou@example.com
Remember meContinue
Today
Review roadmapDone
Ship onboardingIn progress
Team sync3 pm
Prompt
Paste into any AI assistant before describing what to build — or attach it to a project below.
# shadcn/ui theme — Cosmic Night

Put these tokens in globals.css (Tailwind v4 + shadcn/ui). Use the tokens, never raw colours.

```css
:root {
  --background: #f5f5ff;
  --foreground: #2a2a4a;
  --card: #ffffff;
  --card-foreground: #2a2a4a;
  --popover: #ffffff;
  --popover-foreground: #2a2a4a;
  --primary: #6e56cf;
  --primary-foreground: #ffffff;
  --secondary: #e4dfff;
  --secondary-foreground: #4a4080;
  --muted: #f0f0fa;
  --muted-foreground: #6c6c8a;
  --accent: #d8e6ff;
  --accent-foreground: #2a2a4a;
  --destructive: #ff5470;
  --destructive-foreground: #ffffff;
  --border: #e0e0f0;
  --input: #e0e0f0;
  --ring: #6e56cf;
  --chart-1: #6e56cf;
  --chart-2: #9e8cfc;
  --chart-3: #5d5fef;
  --chart-4: #7c75fa;
  --chart-5: #4740b3;
  --radius: 0.5rem;
  --sidebar: #f0f0fa;
  --sidebar-foreground: #2a2a4a;
  --sidebar-primary: #6e56cf;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #d8e6ff;
  --sidebar-accent-foreground: #2a2a4a;
  --sidebar-border: #e0e0f0;
  --sidebar-ring: #6e56cf;
  --font-sans: Inter, sans-serif;
  --font-serif: Georgia, serif;
  --font-mono: JetBrains Mono, monospace;
  --shadow-color: hsl(240 30% 25%);
  --shadow-opacity: 0.12;
  --shadow-blur: 10px;
  --shadow-spread: 0px;
  --shadow-offset-x: 0px;
  --shadow-offset-y: 4px;
}

.dark {
  --background: #0f0f1a;
  --foreground: #e2e2f5;
  --card: #1a1a2e;
  --card-foreground: #e2e2f5;
  --popover: #1a1a2e;
  --popover-foreground: #e2e2f5;
  --primary: #a48fff;
  --primary-foreground: #0f0f1a;
  --secondary: #2d2b55;
  --secondary-foreground: #c4c2ff;
  --muted: #222244;
  --muted-foreground: #a0a0c0;
  --accent: #303060;
  --accent-foreground: #e2e2f5;
  --destructive: #ff5470;
  --destructive-foreground: #ffffff;
  --border: #303052;
  --input: #303052;
  --ring: #a48fff;
  --chart-1: #a48fff;
  --chart-2: #7986cb;
  --chart-3: #64b5f6;
  --chart-4: #4db6ac;
  --chart-5: #ff79c6;
  --radius: 0.5rem;
  --sidebar: #1a1a2e;
  --sidebar-foreground: #e2e2f5;
  --sidebar-primary: #a48fff;
  --sidebar-primary-foreground: #0f0f1a;
  --sidebar-accent: #303060;
  --sidebar-accent-foreground: #e2e2f5;
  --sidebar-border: #303052;
  --sidebar-ring: #a48fff;
  --font-sans: Inter, sans-serif;
  --font-serif: Georgia, serif;
  --font-mono: JetBrains Mono, monospace;
  --shadow-color: hsl(240 30% 25%);
  --shadow-opacity: 0.12;
  --shadow-blur: 10px;
  --shadow-spread: 0px;
  --shadow-offset-x: 0px;
  --shadow-offset-y: 4px;
}
```
Use it in an app
Create a free account to attach this style to a project: the hub adds it to the prompt your AI assistant gets, so it builds every page in this look.

From tweakcn (Apache-2.0, commit a3b47b3).View source