Determined is a shadcn/ui theme built around a blue primary color (#3671b5) with indigo accents (#3a36b5). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#3671b5) on a blue-tinted background (#060a0f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060a0fblack |
| Foreground | #020509black | #f5f7fawhitesmoke |
| Card | #fcfcfcsnow | #070c12black |
| Card foreground | #010204black | #f8fafcghostwhite |
| Popover | #ffffffwhite | #060a0fblack |
| Popover foreground | #020509black | #f5f7fawhitesmoke |
| Primary | #3671b5steelblue | #3671b5steelblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #36b0b5lightseagreen | #36b0b5lightseagreen |
| Secondary foreground | #071718black | #071718black |
| Muted | #dde3e3gainsboro | #1c2122black |
| Muted foreground | #435151darkslategray | #aebcbcsilver |
| Accent | #3a36b5darkslateblue | #3a36b5darkslateblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #810e0emaroon | #e82626crimson |
| Destructive foreground | #f9c8c8pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3671b5steelblue | #3671b5steelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.42:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 5.01:1 | AA |
| Secondary button | 7.04:1 | AAA |
| Muted text | 6.39:1 | AA |
| Accent | 8.85:1 | AAA |
| Destructive | 7.04:1 | AAA |
| Text on background | 18.51:1 | AAA |
| Text on card | 18.71:1 | AAA |
| Primary button | 5.01:1 | AA |
| Secondary button | 7.04:1 | AAA |
| Muted text | 8.28:1 | AAA |
| Accent | 8.85:1 | AAA |
| Destructive | 4.42:1 | AA Large |
Paste this into your globals.css to use Determined in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.11 0.015 241.691);
--muted: oklch(0.912 0.006 199.51);
--muted-foreground: oklch(0.422 0.018 199.063);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.11 0.015 241.691);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.087 0.012 241.691);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.543 0.123 253.569);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.695 0.104 198.421);
--secondary-foreground: oklch(0.191 0.022 198.367);
--accent: oklch(0.427 0.192 275.959);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.387 0.148 27.822);
--destructive-foreground: oklch(0.875 0.057 18.29);
--ring: oklch(0.543 0.123 253.569);
--chart-1: oklch(0.543 0.123 253.569);
--chart-2: oklch(0.695 0.104 198.421);
--chart-3: oklch(0.427 0.192 275.959);
--chart-4: oklch(0.728 0.11 198.424);
--chart-5: oklch(0.543 0.129 253.776);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.014 248.082);
--foreground: oklch(0.976 0.005 251.491);
--muted: oklch(0.244 0.009 199.149);
--muted-foreground: oklch(0.784 0.016 199.337);
--popover: oklch(0.141 0.014 248.082);
--popover-foreground: oklch(0.976 0.005 251.491);
--card: oklch(0.153 0.016 250.812);
--card-foreground: oklch(0.984 0.003 251.477);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.543 0.123 253.569);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.695 0.104 198.421);
--secondary-foreground: oklch(0.191 0.022 198.367);
--accent: oklch(0.427 0.192 275.959);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.599 0.226 27.511);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.543 0.123 253.569);
--chart-1: oklch(0.543 0.123 253.569);
--chart-2: oklch(0.695 0.104 198.421);
--chart-3: oklch(0.427 0.192 275.959);
--chart-4: oklch(0.728 0.11 198.424);
--chart-5: oklch(0.543 0.129 253.776);
}