Fixed is a shadcn/ui theme built around a vivid deep teal primary color (#048b4a) with muted light teal accents (#d4ded9). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the vivid deep teal primary (#048b4a) on a neutral background (#020805).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfamintcream | #020805black |
| Foreground | #05140dblack | #ffffffwhite |
| Card | #f3fcf7mintcream | #040c08black |
| Card foreground | #04100ablack | #ffffffwhite |
| Popover | #f7fdfamintcream | #020805black |
| Popover foreground | #05140dblack | #ffffffwhite |
| Primary | #048b4aseagreen | #048b4aseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d4ded9gainsboro | #292e2bdarkslategray |
| Secondary foreground | #374840darkslategray | #c1c8c4silver |
| Muted | #f1f3f2whitesmoke | #0c0e0dblack |
| Muted foreground | #56675fdimgray | #98a9a1darkgray |
| Accent | #d4ded9gainsboro | #292e2bdarkslategray |
| Accent foreground | #374840darkslategray | #c1c8c4silver |
| Destructive | #aa1c09firebrick | #f33920orangered |
| Destructive foreground | #fee9e7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #048b4aseagreen | #048b4aseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.29:1 | AAA |
| Text on card | 18.48:1 | AAA |
| Primary button | 4.40:1 | AA Large |
| Secondary button | 7.03:1 | AAA |
| Muted text | 5.39:1 | AA |
| Accent | 7.03:1 | AAA |
| Destructive | 6.28:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 4.40:1 | AA Large |
| Secondary button | 8.11:1 | AAA |
| Muted text | 7.87:1 | AAA |
| Accent | 8.11:1 | AAA |
| Destructive | 3.87:1 | AA Large |
Paste this into your globals.css to use Fixed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 165.83);
--foreground: oklch(0.176 0.027 162.076);
--muted: oklch(0.963 0.002 165.956);
--muted-foreground: oklch(0.496 0.024 164.634);
--popover: oklch(0.988 0.007 165.83);
--popover-foreground: oklch(0.176 0.027 162.076);
--card: oklch(0.982 0.01 165.734);
--card-foreground: oklch(0.16 0.023 163.749);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.557 0.142 153.233);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.891 0.013 165.637);
--secondary-foreground: oklch(0.385 0.025 164.136);
--accent: oklch(0.891 0.013 165.637);
--accent-foreground: oklch(0.385 0.025 164.136);
--destructive: oklch(0.475 0.178 30.924);
--destructive-foreground: oklch(0.951 0.022 26.613);
--ring: oklch(0.557 0.142 153.233);
--chart-1: oklch(0.557 0.142 153.233);
--chart-2: oklch(0.891 0.013 165.637);
--chart-3: oklch(0.891 0.013 165.637);
--chart-4: oklch(0.913 0.01 165.723);
--chart-5: oklch(0.563 0.145 152.938);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.015 166.182);
--foreground: oklch(1 0 180);
--muted: oklch(0.16 0.003 165.429);
--muted-foreground: oklch(0.72 0.022 165.16);
--popover: oklch(0.123 0.015 166.182);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.141 0.017 165.926);
--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.557 0.142 153.233);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.295 0.009 165.218);
--secondary-foreground: oklch(0.826 0.009 165.722);
--accent: oklch(0.295 0.009 165.218);
--accent-foreground: oklch(0.826 0.009 165.722);
--destructive: oklch(0.631 0.225 31.041);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.557 0.142 153.233);
--chart-1: oklch(0.557 0.142 153.233);
--chart-2: oklch(0.295 0.009 165.218);
--chart-3: oklch(0.295 0.009 165.218);
--chart-4: oklch(0.326 0.01 165.187);
--chart-5: oklch(0.563 0.145 152.938);
}