Back Bright Greek is a shadcn/ui theme built around an indigo primary color (#5048e5) with yellow accents (#dde548). The light mode uses a neutral background (#f9f8fb). Dark mode keeps the indigo primary (#5048e5) on an indigo-tinted background (#04040c).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f8fbghostwhite | #04040cblack |
| Foreground | #010104black | #ffffffwhite |
| Card | #f5f5fawhitesmoke | #050510black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f5f5fawhitesmoke | #050510black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #5048e5royalblue | #5048e5royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dde548greenyellow | #dde548greenyellow |
| Secondary foreground | #000000black | #000000black |
| Muted | #f0f1dfbeige | #1f200eblack |
| Muted foreground | #4c4c48darkslategray | #b7b7b3silver |
| Accent | #dde548greenyellow | #dde548greenyellow |
| Accent foreground | #000000black | #000000black |
| Destructive | #621909maroon | #e53b15orangered |
| Destructive foreground | #f7b5a6lightpink | #ffffffwhite |
| Border | #e8e8edlavender | #21212cdarkslategray |
| Input | #e8e8edlavender | #21212cdarkslategray |
| Ring | #5048e5royalblue | #5048e5royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.73:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 15.36:1 | AAA |
| Muted text | 7.52:1 | AAA |
| Accent | 15.36:1 | AAA |
| Destructive | 7.27:1 | AAA |
| Text on background | 20.46:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 15.36:1 | AAA |
| Muted text | 8.23:1 | AAA |
| Accent | 15.36:1 | AAA |
| Destructive | 4.23:1 | AA Large |
Paste this into your globals.css to use Back Bright Greek in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.004 288.632);
--foreground: oklch(0.074 0.019 284.412);
--muted: oklch(0.952 0.023 109.153);
--muted-foreground: oklch(0.415 0.007 109.03);
--popover: oklch(0.972 0.006 288.592);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.972 0.006 288.592);
--card-foreground: oklch(0 0 0);
--border: oklch(0.932 0.008 288.556);
--input: oklch(0.932 0.008 288.556);
--primary: oklch(0.514 0.228 276.98);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.888 0.173 112.249);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.888 0.173 112.249);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.334 0.108 33.892);
--destructive-foreground: oklch(0.83 0.08 33.006);
--ring: oklch(0.514 0.228 276.98);
--chart-1: oklch(0.514 0.228 276.98);
--chart-2: oklch(0.888 0.173 112.249);
--chart-3: oklch(0.888 0.173 112.249);
--chart-4: oklch(0.895 0.165 112.025);
--chart-5: oklch(0.51 0.235 276.282);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.023 285.246);
--foreground: oklch(1 0 180);
--muted: oklch(0.236 0.03 110.997);
--muted-foreground: oklch(0.779 0.006 108.856);
--popover: oklch(0.122 0.027 284.824);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.122 0.027 284.824);
--card-foreground: oklch(1 0 180);
--border: oklch(0.253 0.02 287.158);
--input: oklch(0.253 0.02 287.158);
--primary: oklch(0.514 0.228 276.98);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.888 0.173 112.249);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.888 0.173 112.249);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.607 0.211 33.356);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.514 0.228 276.98);
--chart-1: oklch(0.514 0.228 276.98);
--chart-2: oklch(0.888 0.173 112.249);
--chart-3: oklch(0.888 0.173 112.249);
--chart-4: oklch(0.895 0.165 112.025);
--chart-5: oklch(0.51 0.235 276.282);
}