Modification is a shadcn/ui theme built around a teal primary color (#3ee0ba) with yellow accents (#e0ba3e). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#3ee0ba) on a teal-tinted background (#040b09).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040b09black |
| Foreground | #04100dblack | #fcfdfdwhite |
| Card | #fcfcfcsnow | #060f0dblack |
| Card foreground | #030c0ablack | #ffffffwhite |
| Popover | #fcfcfcsnow | #060f0dblack |
| Popover foreground | #030c0ablack | #ffffffwhite |
| Primary | #3ee0baturquoise | #3ee0baturquoise |
| Primary foreground | #0b4638darkslategray | #0b4638darkslategray |
| Secondary | #ba3ee0mediumorchid | #ba3ee0mediumorchid |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e0dbe1gainsboro | #231e24black |
| Muted foreground | #58455edimgray | #b4a1badarkgray |
| Accent | #e0ba3egoldenrod | #e0ba3egoldenrod |
| Accent foreground | #46380bdarkolivegreen | #46380bdarkolivegreen |
| Destructive | #cf3f17firebrick | #e9603atomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3ee0baturquoise | #3ee0baturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.35:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 4.33:1 | AA Large |
| Muted text | 6.31:1 | AA |
| Accent | 6.13:1 | AA |
| Destructive | 4.81:1 | AA |
| Text on background | 19.48:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 4.33:1 | AA Large |
| Muted text | 6.82:1 | AA |
| Accent | 6.13:1 | AA |
| Destructive | 6.18:1 | AA |
Paste this into your globals.css to use Modification in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.16 0.02 178.435);
--muted: oklch(0.896 0.01 318.319);
--muted-foreground: oklch(0.421 0.046 318.213);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.143 0.017 180.298);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.143 0.017 180.298);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.814 0.141 173.169);
--primary-foreground: oklch(0.355 0.063 172.877);
--secondary: oklch(0.609 0.243 317.019);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.8 0.143 91.457);
--accent-foreground: oklch(0.348 0.063 91.248);
--destructive: oklch(0.573 0.187 35.15);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.814 0.141 173.169);
--chart-1: oklch(0.814 0.141 173.169);
--chart-2: oklch(0.609 0.243 317.019);
--chart-3: oklch(0.8 0.143 91.457);
--chart-4: oklch(0.629 0.231 317.316);
--chart-5: oklch(0.823 0.145 172.866);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.013 180.762);
--foreground: oklch(0.993 0.001 180.938);
--muted: oklch(0.243 0.014 318.271);
--muted-foreground: oklch(0.734 0.041 318.275);
--popover: oklch(0.157 0.015 178.979);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.157 0.015 178.979);
--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.814 0.141 173.169);
--primary-foreground: oklch(0.355 0.063 172.877);
--secondary: oklch(0.609 0.243 317.019);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.8 0.143 91.457);
--accent-foreground: oklch(0.348 0.063 91.248);
--destructive: oklch(0.657 0.179 36.192);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.814 0.141 173.169);
--chart-1: oklch(0.814 0.141 173.169);
--chart-2: oklch(0.609 0.243 317.019);
--chart-3: oklch(0.8 0.143 91.457);
--chart-4: oklch(0.629 0.231 317.316);
--chart-5: oklch(0.823 0.145 172.866);
}