College for shadcn/ui

College is a shadcn/ui theme built around a vivid light green primary color (#94f4b8) with vivid light orange accents (#f4b894). The light mode uses a neutral background (#f8fcf9). Dark mode keeps the vivid light green primary (#94f4b8) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fcf9mintcream
#000000black
Foreground
#010402black
#ffffffwhite
Card
#f4fbf6mintcream
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#f4fbf6mintcream
#030303black
Popover foreground
#000000black
#ffffffwhite
Primary
#94f4b8palegreen
#94f4b8palegreen
Primary foreground
#084f22darkgreen
#084f22darkgreen
Secondary
#b894f4plum
#b894f4plum
Secondary foreground
#22084fmidnightblue
#22084fmidnightblue
Muted
#e2e0e6gainsboro
#1b191fblack
Muted foreground
#5a5562dimgray
#a19daadarkgray
Accent
#f4b894burlywood
#f4b894burlywood
Accent foreground
#4f2208maroon
#4f2208maroon
Destructive
#9c2b11brown
#d83b18firebrick
Destructive foreground
#fce8e3mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#94f4b8palegreen
#94f4b8palegreen

Contrast

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

Light mode
Text on background19.91:1AAA
Text on card19.95:1AAA
Primary button7.41:1AAA
Secondary button7.06:1AAA
Muted text5.49:1AA
Accent7.73:1AAA
Destructive6.43:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.41:1AAA
Secondary button7.06:1AAA
Muted text6.57:1AA
Accent7.73:1AAA
Destructive4.61:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.006 158.581);
  --foreground: oklch(0.099 0.016 158.457);
  --muted: oklch(0.909 0.009 302.771);
  --muted-foreground: oklch(0.46 0.021 302.22);
  --popover: oklch(0.981 0.009 158.51);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.981 0.009 158.51);
  --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.893 0.125 155.148);
  --primary-foreground: oklch(0.375 0.099 149.669);
  --secondary: oklch(0.737 0.14 299.88);
  --secondary-foreground: oklch(0.235 0.116 291.072);
  --accent: oklch(0.829 0.085 51.243);
  --accent-foreground: oklch(0.311 0.077 46.84);
  --destructive: oklch(0.463 0.153 33.729);
  --destructive-foreground: oklch(0.946 0.023 32.681);
  --ring: oklch(0.893 0.125 155.148);
  --chart-1: oklch(0.893 0.125 155.148);
  --chart-2: oklch(0.737 0.14 299.88);
  --chart-3: oklch(0.829 0.085 51.243);
  --chart-4: oklch(0.771 0.121 300.452);
  --chart-5: oklch(0.896 0.129 155.019);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.218 0.013 301.982);
  --muted-foreground: oklch(0.703 0.019 302.513);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.893 0.125 155.148);
  --primary-foreground: oklch(0.375 0.099 149.669);
  --secondary: oklch(0.737 0.14 299.88);
  --secondary-foreground: oklch(0.235 0.116 291.072);
  --accent: oklch(0.829 0.085 51.243);
  --accent-foreground: oklch(0.311 0.077 46.84);
  --destructive: oklch(0.585 0.198 33.564);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.893 0.125 155.148);
  --chart-1: oklch(0.893 0.125 155.148);
  --chart-2: oklch(0.737 0.14 299.88);
  --chart-3: oklch(0.829 0.085 51.243);
  --chart-4: oklch(0.771 0.121 300.452);
  --chart-5: oklch(0.896 0.129 155.019);
}