Flume is a shadcn/ui theme built around a muted light green primary color (#f0f2ed) with muted light green accents (#eef2ed). The light mode uses a neutral background (#fafcf8). Dark mode keeps the muted light green primary (#f0f2ed) on a green-tinted background (#090c03).
| Token | Light | Dark |
|---|---|---|
| Background | #fafcf8snow | #090c03black |
| Foreground | #0c1202black | #ffffffwhite |
| Card | #fafcf8snow | #090c03black |
| Card foreground | #0c1202black | #ffffffwhite |
| Popover | #fafcf8snow | #090c03black |
| Popover foreground | #0c1202black | #ffffffwhite |
| Primary | #f0f2edwhitesmoke | #f0f2edwhitesmoke |
| Primary foreground | #252a1edarkslategray | #252a1edarkslategray |
| Secondary | #f2f2edwhitesmoke | #f2f2edwhitesmoke |
| Secondary foreground | #2a281edarkslategray | #2a281edarkslategray |
| Muted | #f3f1e8linen | #17160cblack |
| Muted foreground | #545240darkolivegreen | #bfbdabsilver |
| Accent | #eef2edwhitesmoke | #eef2edwhitesmoke |
| Accent foreground | #1f2a1eblack | #1f2a1eblack |
| Destructive | #7f0301maroon | #fe2d2acrimson |
| Destructive foreground | #ffb4b3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f0f2edwhitesmoke | #f0f2edwhitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.43:1 | AAA |
| Text on card | 18.43:1 | AAA |
| Primary button | 13.07:1 | AAA |
| Secondary button | 13.14:1 | AAA |
| Muted text | 6.98:1 | AA |
| Accent | 13.19:1 | AAA |
| Destructive | 6.50:1 | AA |
| Text on background | 19.70:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 13.07:1 | AAA |
| Secondary button | 13.14:1 | AAA |
| Muted text | 9.57:1 | AAA |
| Accent | 13.19:1 | AAA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Flume in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.005 123.717);
--foreground: oklch(0.172 0.036 125.042);
--muted: oklch(0.957 0.013 100.53);
--muted-foreground: oklch(0.435 0.029 101.243);
--popover: oklch(0.988 0.005 123.717);
--popover-foreground: oklch(0.172 0.036 125.042);
--card: oklch(0.988 0.005 123.717);
--card-foreground: oklch(0.172 0.036 125.042);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.959 0.007 123.751);
--primary-foreground: oklch(0.275 0.023 124.897);
--secondary: oklch(0.959 0.006 100.428);
--secondary-foreground: oklch(0.276 0.019 101.268);
--accent: oklch(0.957 0.008 142.083);
--accent-foreground: oklch(0.27 0.027 141.772);
--destructive: oklch(0.376 0.152 29.462);
--destructive-foreground: oklch(0.84 0.087 20.16);
--ring: oklch(0.959 0.007 123.751);
--chart-1: oklch(0.959 0.007 123.751);
--chart-2: oklch(0.959 0.006 100.428);
--chart-3: oklch(0.957 0.008 142.083);
--chart-4: oklch(0.98 0.003 100.378);
--chart-5: oklch(0.96 0.008 123.77);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.147 0.023 123.319);
--foreground: oklch(1 0 180);
--muted: oklch(0.198 0.018 101.499);
--muted-foreground: oklch(0.795 0.025 100.799);
--popover: oklch(0.147 0.023 123.319);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.147 0.023 123.319);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.959 0.007 123.751);
--primary-foreground: oklch(0.275 0.023 124.897);
--secondary: oklch(0.959 0.006 100.428);
--secondary-foreground: oklch(0.276 0.019 101.268);
--accent: oklch(0.957 0.008 142.083);
--accent-foreground: oklch(0.27 0.027 141.772);
--destructive: oklch(0.643 0.24 27.942);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.959 0.007 123.751);
--chart-1: oklch(0.959 0.007 123.751);
--chart-2: oklch(0.959 0.006 100.428);
--chart-3: oklch(0.957 0.008 142.083);
--chart-4: oklch(0.98 0.003 100.378);
--chart-5: oklch(0.96 0.008 123.77);
}