Frame is a shadcn/ui theme built around a deep orange primary color (#573c1e) with deep yellow accents (#56571e). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#573c1e) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #090501black | #fdfcfcsnow |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #050301black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #090501black | #fdfcfcsnow |
| Primary | #573c1edarkolivegreen | #573c1edarkolivegreen |
| Primary foreground | #e9d4bewheat | #e9d4bewheat |
| Secondary | #571f1emaroon | #571f1emaroon |
| Secondary foreground | #e9bfbelightpink | #e9bfbelightpink |
| Muted | #e1d5d5gainsboro | #2a1e1eblack |
| Muted foreground | #5e4a4adarkolivegreen | #b5a1a1darkgray |
| Accent | #56571edarkolivegreen | #56571edarkolivegreen |
| Accent foreground | #e8e9bewheat | #e8e9bewheat |
| Destructive | #af240efirebrick | #f05942tomato |
| Destructive foreground | #fef3f1seashell | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #573c1edarkolivegreen | #573c1edarkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.31:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 5.76:1 | AA |
| Accent | 6.02:1 | AA |
| Destructive | 6.29:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 6.59:1 | AA |
| Accent | 6.02:1 | AA |
| Destructive | 6.21:1 | AA |
Paste this into your globals.css to use Frame in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.121 0.018 80.402);
--muted: oklch(0.884 0.013 18.593);
--muted-foreground: oklch(0.431 0.027 19.392);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.121 0.018 80.402);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.096 0.015 80.402);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.38 0.059 66.237);
--primary-foreground: oklch(0.882 0.037 69.179);
--secondary: oklch(0.325 0.084 23.933);
--secondary-foreground: oklch(0.841 0.048 19.292);
--accent: oklch(0.445 0.079 110.108);
--accent-foreground: oklch(0.922 0.056 108.23);
--destructive: oklch(0.49 0.178 31.535);
--destructive-foreground: oklch(0.971 0.012 28);
--ring: oklch(0.38 0.059 66.237);
--chart-1: oklch(0.38 0.059 66.237);
--chart-2: oklch(0.325 0.084 23.933);
--chart-3: oklch(0.445 0.079 110.108);
--chart-4: oklch(0.352 0.093 24.095);
--chart-5: oklch(0.382 0.062 65.866);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 69.636);
--muted: oklch(0.249 0.019 19.62);
--muted-foreground: oklch(0.726 0.023 18.869);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.001 69.636);
--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.38 0.059 66.237);
--primary-foreground: oklch(0.882 0.037 69.179);
--secondary: oklch(0.325 0.084 23.933);
--secondary-foreground: oklch(0.841 0.048 19.292);
--accent: oklch(0.445 0.079 110.108);
--accent-foreground: oklch(0.922 0.056 108.23);
--destructive: oklch(0.661 0.189 31.29);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.38 0.059 66.237);
--chart-1: oklch(0.38 0.059 66.237);
--chart-2: oklch(0.325 0.084 23.933);
--chart-3: oklch(0.445 0.079 110.108);
--chart-4: oklch(0.352 0.093 24.095);
--chart-5: oklch(0.382 0.062 65.866);
}