Utensil is a shadcn/ui theme built around a vivid teal primary color (#06f1fe) with muted light teal accents (#c9d3d4). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid teal primary (#06f1fe) on a neutral background (#010404).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #010404black |
| Foreground | #010405black | #f6f8f8whitesmoke |
| Card | #f6fdfdmintcream | #030707black |
| Card foreground | #000000black | #f9fbfbghostwhite |
| Popover | #fbfefewhite | #010404black |
| Popover foreground | #010405black | #f6f8f8whitesmoke |
| Primary | #06f1feaqua | #06f1feaqua |
| Primary foreground | #003538darkslategray | #003538darkslategray |
| Secondary | #c9d3d4lightgrey | #101818black |
| Secondary foreground | #303b3bdarkslategray | #9dbcbedarkgray |
| Muted | #e6efeflavender | #101919black |
| Muted foreground | #525b5bdimgray | #a4acaddarkgray |
| Accent | #c9d3d4lightgrey | #101818black |
| Accent foreground | #303b3bdarkslategray | #9dbcbedarkgray |
| Destructive | #721b04maroon | #df3607orangered |
| Destructive foreground | #fcbdablightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #06f1feaqua | #06f1feaqua |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.28:1 | AAA |
| Text on card | 20.41:1 | AAA |
| Primary button | 9.61:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 5.96:1 | AA |
| Accent | 7.60:1 | AAA |
| Destructive | 6.93:1 | AA |
| Text on background | 19.33:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 9.61:1 | AAA |
| Secondary button | 8.88:1 | AAA |
| Muted text | 7.75:1 | AAA |
| Accent | 8.88:1 | AAA |
| Destructive | 4.51:1 | AA |
Paste this into your globals.css to use Utensil in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 200.846);
--foreground: oklch(0.101 0.014 198.196);
--muted: oklch(0.945 0.01 200.767);
--muted-foreground: oklch(0.463 0.01 200.625);
--popover: oklch(0.995 0.004 200.846);
--popover-foreground: oklch(0.101 0.014 198.196);
--card: oklch(0.989 0.007 200.802);
--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.873 0.148 201.451);
--primary-foreground: oklch(0.299 0.051 200.487);
--secondary: oklch(0.86 0.011 200.735);
--secondary-foreground: oklch(0.342 0.015 200.407);
--accent: oklch(0.86 0.011 200.735);
--accent-foreground: oklch(0.342 0.015 200.407);
--destructive: oklch(0.366 0.124 35.076);
--destructive-foreground: oklch(0.851 0.078 36.029);
--ring: oklch(0.873 0.148 201.451);
--chart-1: oklch(0.873 0.148 201.451);
--chart-2: oklch(0.86 0.011 200.735);
--chart-3: oklch(0.86 0.011 200.735);
--chart-4: oklch(0.883 0.009 200.762);
--chart-5: oklch(0.882 0.15 201.548);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.008 199.212);
--foreground: oklch(0.979 0.002 200.86);
--muted: oklch(0.203 0.013 200.221);
--muted-foreground: oklch(0.739 0.009 200.737);
--popover: oklch(0.097 0.008 199.212);
--popover-foreground: oklch(0.979 0.002 200.86);
--card: oklch(0.122 0.01 199.212);
--card-foreground: oklch(0.986 0.002 200.87);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.873 0.148 201.451);
--primary-foreground: oklch(0.299 0.051 200.487);
--secondary: oklch(0.202 0.012 200.281);
--secondary-foreground: oklch(0.773 0.034 200.407);
--accent: oklch(0.202 0.012 200.281);
--accent-foreground: oklch(0.773 0.034 200.407);
--destructive: oklch(0.591 0.21 33.83);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.873 0.148 201.451);
--chart-1: oklch(0.873 0.148 201.451);
--chart-2: oklch(0.202 0.012 200.281);
--chart-3: oklch(0.202 0.012 200.281);
--chart-4: oklch(0.238 0.015 200.231);
--chart-5: oklch(0.882 0.15 201.548);
}