Some is a shadcn/ui theme built around a yellow primary color (#c3ba8d) with green accents (#b1c38d). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#c3ba8d) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #131106black | #fbfbf9snow |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #0f0e05black | #fdfdfcwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #0f0e05black | #fdfdfcwhite |
| Primary | #c3ba8dtan | #c3ba8dtan |
| Primary foreground | #14120bblack | #14120bblack |
| Secondary | #c39f8drosybrown | #c39f8drosybrown |
| Secondary foreground | #140e0bblack | #140e0bblack |
| Muted | #e5dfdcgainsboro | #231d1ablack |
| Muted foreground | #70635cdimgray | #a3968frosybrown |
| Accent | #b1c38ddarkseagreen | #b1c38ddarkseagreen |
| Accent foreground | #11140bblack | #11140bblack |
| Destructive | #a71d02firebrick | #fd4521orangered |
| Destructive foreground | #ffe1dcmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c3ba8dtan | #c3ba8dtan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.91:1 | AAA |
| Text on card | 18.93:1 | AAA |
| Primary button | 9.59:1 | AAA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 4.38:1 | AA Large |
| Accent | 9.82:1 | AAA |
| Destructive | 6.06:1 | AA |
| Text on background | 20.26:1 | AAA |
| Text on card | 20.31:1 | AAA |
| Primary button | 9.59:1 | AAA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 5.79:1 | AA |
| Accent | 9.82:1 | AAA |
| Destructive | 3.46:1 | AA Large |
Paste this into your globals.css to use Some in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.177 0.021 98.732);
--muted: oklch(0.907 0.008 48.637);
--muted-foreground: oklch(0.509 0.021 48.297);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.161 0.018 99.323);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.161 0.018 99.323);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.786 0.061 98.102);
--primary-foreground: oklch(0.183 0.015 98.148);
--secondary: oklch(0.731 0.05 48.021);
--secondary-foreground: oklch(0.17 0.013 47.955);
--accent: oklch(0.79 0.075 123.087);
--accent-foreground: oklch(0.185 0.019 123.231);
--destructive: oklch(0.47 0.175 32.288);
--destructive-foreground: oklch(0.934 0.033 31.151);
--ring: oklch(0.786 0.061 98.102);
--chart-1: oklch(0.786 0.061 98.102);
--chart-2: oklch(0.731 0.05 48.021);
--chart-3: oklch(0.79 0.075 123.087);
--chart-4: oklch(0.756 0.045 48.105);
--chart-5: oklch(0.791 0.066 98.148);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.003 97.301);
--muted: oklch(0.237 0.012 48.194);
--muted-foreground: oklch(0.682 0.019 48.428);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.994 0.002 97.28);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.994 0.002 97.28);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.786 0.061 98.102);
--primary-foreground: oklch(0.183 0.015 98.148);
--secondary: oklch(0.731 0.05 48.021);
--secondary-foreground: oklch(0.17 0.013 47.955);
--accent: oklch(0.79 0.075 123.087);
--accent-foreground: oklch(0.185 0.019 123.231);
--destructive: oklch(0.658 0.224 32.933);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.786 0.061 98.102);
--chart-1: oklch(0.786 0.061 98.102);
--chart-2: oklch(0.731 0.05 48.021);
--chart-3: oklch(0.79 0.075 123.087);
--chart-4: oklch(0.756 0.045 48.105);
--chart-5: oklch(0.791 0.066 98.148);
}