Sinai Theme is a shadcn/ui theme built around a vivid green primary color (#00b300) with vivid light green accents (#ccffe2). The light mode uses a neutral background (#fefcfb). Dark mode switches to a deep orange primary (#25180e) on a neutral background (#080502).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #080502black |
| Foreground | #0c0703black | #f9f7f5whitesmoke |
| Card | #fefcfbsnow | #080502black |
| Card foreground | #0c0703black | #f9f7f5whitesmoke |
| Popover | #fefcfbsnow | #080502black |
| Popover foreground | #0c0703black | #f9f7f5whitesmoke |
| Primary | #00b300green | #25180eblack |
| Primary foreground | #ffffffwhite | #d5ae90tan |
| Secondary | #6e5cffmediumslateblue | #0e2518black |
| Secondary foreground | #ffffffwhite | #46b978mediumseagreen |
| Muted | #d5ecdfgainsboro | #132a1dblack |
| Muted foreground | #515d56dimgray | #a2aea7darkgray |
| Accent | #ccffe2lightcyan | #180e25black |
| Accent foreground | #28b465mediumseagreen | #ae90d5mediumpurple |
| Destructive | #902209darkred | #f2502ctomato |
| Destructive foreground | #fcd7cfbisque | #ffffffwhite |
| Border | #efedeblinen | #1f1c19black |
| Input | #efedeblinen | #1f1c19black |
| Ring | #00b300green | #25180eblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.63:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 2.81:1 | Fail |
| Secondary button | 4.52:1 | AA |
| Muted text | 5.52:1 | AA |
| Accent | 2.43:1 | Fail |
| Destructive | 6.52:1 | AA |
| Text on background | 19.04:1 | AAA |
| Text on card | 19.04:1 | AAA |
| Primary button | 8.46:1 | AAA |
| Secondary button | 6.53:1 | AA |
| Muted text | 6.64:1 | AA |
| Accent | 6.86:1 | AA |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Sinai Theme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 60.249);
--foreground: oklch(0.134 0.015 68.087);
--muted: oklch(0.922 0.029 161.015);
--muted-foreground: oklch(0.465 0.019 160.802);
--popover: oklch(0.993 0.003 60.249);
--popover-foreground: oklch(0.134 0.015 68.087);
--card: oklch(0.993 0.003 60.249);
--card-foreground: oklch(0.134 0.015 68.087);
--border: oklch(0.947 0.004 60.231);
--input: oklch(0.947 0.004 60.231);
--primary: oklch(0.664 0.226 142.495);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.588 0.232 281.57);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.957 0.065 160.126);
--accent-foreground: oklch(0.681 0.164 152.749);
--destructive: oklch(0.431 0.149 33.378);
--destructive-foreground: oklch(0.909 0.043 32.747);
--ring: oklch(0.664 0.226 142.495);
--chart-1: oklch(0.223 0.028 58.147);
--chart-2: oklch(0.241 0.039 156.965);
--chart-3: oklch(0.191 0.047 302.198);
--chart-4: oklch(0.281 0.048 156.542);
--chart-5: oklch(0.223 0.029 57.948);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.117 0.013 68.787);
--foreground: oklch(0.978 0.003 60.235);
--muted: oklch(0.261 0.038 157.567);
--muted-foreground: oklch(0.74 0.017 161.253);
--popover: oklch(0.117 0.013 68.787);
--popover-foreground: oklch(0.978 0.003 60.235);
--card: oklch(0.117 0.013 68.787);
--card-foreground: oklch(0.978 0.003 60.235);
--border: oklch(0.228 0.008 59.788);
--input: oklch(0.228 0.008 59.788);
--primary: oklch(0.223 0.028 58.147);
--primary-foreground: oklch(0.778 0.061 59.112);
--secondary: oklch(0.241 0.039 156.965);
--secondary-foreground: oklch(0.704 0.141 155.118);
--accent: oklch(0.191 0.047 302.198);
--accent-foreground: oklch(0.706 0.103 303.748);
--destructive: oklch(0.651 0.204 33.993);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.223 0.028 58.147);
--chart-1: oklch(0.223 0.028 58.147);
--chart-2: oklch(0.241 0.039 156.965);
--chart-3: oklch(0.191 0.047 302.198);
--chart-4: oklch(0.281 0.048 156.542);
--chart-5: oklch(0.223 0.029 57.948);
}