Scripture is a shadcn/ui theme built around a vivid light indigo primary color (#c6b8ff) with muted light indigo accents (#cfccdb). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light indigo primary (#c6b8ff) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #fcfcfdwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #000000black | #fcfcfdwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #c6b8fflightsteelblue | #c6b8fflightsteelblue |
| Primary foreground | #1b0085navy | #1b0085navy |
| Secondary | #cfccdblightgrey | #25232fdarkslategray |
| Secondary foreground | #343045darkslategray | #bdb9casilver |
| Muted | #d6d5ddgainsboro | #24222adarkslategray |
| Muted foreground | #494559darkslategray | #aaa6badarkgray |
| Accent | #cfccdblightgrey | #25232fdarkslategray |
| Accent foreground | #343045darkslategray | #bdb9casilver |
| Destructive | #ba0b08firebrick | #f00e0ared |
| Destructive foreground | #fff5f5lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c6b8fflightsteelblue | #c6b8fflightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.42:1 | AAA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 6.31:1 | AA |
| Accent | 8.03:1 | AAA |
| Destructive | 6.25:1 | AA |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.48:1 | AAA |
| Primary button | 8.42:1 | AAA |
| Secondary button | 8.04:1 | AAA |
| Muted text | 6.63:1 | AA |
| Accent | 8.04:1 | AAA |
| Destructive | 4.40:1 | AA Large |
Paste this into your globals.css to use Scripture in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.875 0.012 295.335);
--muted-foreground: oklch(0.402 0.035 293.959);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.818 0.1 293.23);
--primary-foreground: oklch(0.29 0.186 272.913);
--secondary: oklch(0.852 0.022 295.109);
--secondary-foreground: oklch(0.323 0.037 293.367);
--accent: oklch(0.852 0.022 295.109);
--accent-foreground: oklch(0.323 0.037 293.367);
--destructive: oklch(0.499 0.2 29.037);
--destructive-foreground: oklch(0.978 0.01 18.518);
--ring: oklch(0.818 0.1 293.23);
--chart-1: oklch(0.818 0.1 293.23);
--chart-2: oklch(0.852 0.022 295.109);
--chart-3: oklch(0.852 0.022 295.109);
--chart-4: oklch(0.878 0.018 295.207);
--chart-5: oklch(0.816 0.103 293.147);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.002 295.547);
--muted: oklch(0.258 0.016 294.434);
--muted-foreground: oklch(0.734 0.03 294.83);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.991 0.002 295.547);
--card: oklch(0 0 0);
--card-foreground: oklch(0.991 0.002 295.547);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.818 0.1 293.23);
--primary-foreground: oklch(0.29 0.186 272.913);
--secondary: oklch(0.264 0.021 294.06);
--secondary-foreground: oklch(0.795 0.024 295.015);
--accent: oklch(0.264 0.021 294.06);
--accent-foreground: oklch(0.795 0.024 295.015);
--destructive: oklch(0.603 0.243 29.102);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.818 0.1 293.23);
--chart-1: oklch(0.818 0.1 293.23);
--chart-2: oklch(0.264 0.021 294.06);
--chart-3: oklch(0.264 0.021 294.06);
--chart-4: oklch(0.292 0.025 293.989);
--chart-5: oklch(0.816 0.103 293.147);
}