Amazing for shadcn/ui

Amazing is a shadcn/ui theme built around a teal primary color (#38a5ad) with blue accents (#386bad). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#38a5ad) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#010404black
#f4fafamintcream
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#f8fcfcmintcream
Popover
#ffffffwhite
#000000black
Popover foreground
#010404black
#f4fafamintcream
Primary
#38a5adlightseagreen
#38a5adlightseagreen
Primary foreground
#061213black
#061213black
Secondary
#38ad7bmediumseagreen
#38ad7bmediumseagreen
Secondary foreground
#06130eblack
#06130eblack
Muted
#e6efeblavender
#101915black
Muted foreground
#474847darkslategray
#b7b8b8silver
Accent
#386badsteelblue
#386badsteelblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#7a0501maroon
#fe0f06red
Destructive foreground
#ffb1aelightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#38a5adlightseagreen
#38a5adlightseagreen

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.57:1AAA
Text on card20.54:1AAA
Primary button6.51:1AA
Secondary button6.72:1AA
Muted text7.83:1AAA
Accent5.41:1AA
Destructive6.58:1AA
Dark mode
Text on background19.90:1AAA
Text on card20.01:1AAA
Primary button6.51:1AA
Secondary button6.72:1AA
Muted text9.03:1AAA
Accent5.41:1AA
Destructive3.98:1AA Large

CSS variables

Paste this into your globals.css to use Amazing in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.099 0.012 199.693);
  --muted: oklch(0.944 0.01 168.424);
  --muted-foreground: oklch(0.401 0.002 168.583);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.099 0.012 199.693);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.666 0.097 201.936);
  --primary-foreground: oklch(0.173 0.018 201.314);
  --secondary: oklch(0.67 0.129 160.72);
  --secondary-foreground: oklch(0.173 0.023 165.111);
  --accent: oklch(0.525 0.119 255.963);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.366 0.147 29.792);
  --destructive-foreground: oklch(0.832 0.092 21.42);
  --ring: oklch(0.666 0.097 201.936);
  --chart-1: oklch(0.666 0.097 201.936);
  --chart-2: oklch(0.67 0.129 160.72);
  --chart-3: oklch(0.525 0.119 255.963);
  --chart-4: oklch(0.703 0.136 160.667);
  --chart-5: oklch(0.674 0.101 202.026);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.981 0.006 202.15);
  --muted: oklch(0.202 0.015 166.504);
  --muted-foreground: oklch(0.782 0.002 168.669);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.981 0.006 202.15);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.987 0.004 202.171);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.666 0.097 201.936);
  --primary-foreground: oklch(0.173 0.018 201.314);
  --secondary: oklch(0.67 0.129 160.72);
  --secondary-foreground: oklch(0.173 0.023 165.111);
  --accent: oklch(0.525 0.119 255.963);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.628 0.254 29.349);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.666 0.097 201.936);
  --chart-1: oklch(0.666 0.097 201.936);
  --chart-2: oklch(0.67 0.129 160.72);
  --chart-3: oklch(0.525 0.119 255.963);
  --chart-4: oklch(0.703 0.136 160.667);
  --chart-5: oklch(0.674 0.101 202.026);
}