Tongue is a shadcn/ui theme built around a blue primary color (#acc5d2) with muted light blue accents (#dbdfe1). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the blue primary (#acc5d2) on a blue-tinted background (#060b0e).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #060b0eblack |
| Foreground | #000000black | #f6f8f8whitesmoke |
| Card | #fbfdfewhite | #060b0eblack |
| Card foreground | #000000black | #f6f8f8whitesmoke |
| Popover | #fbfdfewhite | #060b0eblack |
| Popover foreground | #000000black | #f6f8f8whitesmoke |
| Primary | #acc5d2lightsteelblue | #acc5d2lightsteelblue |
| Primary foreground | #1b2a32darkslategray | #1b2a32darkslategray |
| Secondary | #dbdfe1gainsboro | #23272adarkslategray |
| Secondary foreground | #3f474bdarkslategray | #bac1c5silver |
| Muted | #e4edf2lavender | #0d161bblack |
| Muted foreground | #49575fdarkslategray | #a0aeb6darkgray |
| Accent | #dbdfe1gainsboro | #23272adarkslategray |
| Accent foreground | #3f474bdarkslategray | #bac1c5silver |
| Destructive | #722408maroon | #d7440fchocolate |
| Destructive foreground | #fac6b3peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #acc5d2lightsteelblue | #acc5d2lightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.56:1 | AAA |
| Text on card | 20.56:1 | AAA |
| Primary button | 8.20:1 | AAA |
| Secondary button | 7.05:1 | AAA |
| Muted text | 6.27:1 | AA |
| Accent | 7.05:1 | AAA |
| Destructive | 6.96:1 | AA |
| Text on background | 18.51:1 | AAA |
| Text on card | 18.51:1 | AAA |
| Primary button | 8.20:1 | AAA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 8.00:1 | AAA |
| Accent | 8.24:1 | AAA |
| Destructive | 4.45:1 | AA Large |
Paste this into your globals.css to use Tongue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 230.688);
--foreground: oklch(0 0 0);
--muted: oklch(0.94 0.012 230.832);
--muted-foreground: oklch(0.449 0.022 231.42);
--popover: oklch(0.993 0.002 230.688);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.993 0.002 230.688);
--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.809 0.033 231.281);
--primary-foreground: oklch(0.274 0.025 232.391);
--secondary: oklch(0.9 0.005 230.737);
--secondary-foreground: oklch(0.391 0.013 231.147);
--accent: oklch(0.9 0.005 230.737);
--accent-foreground: oklch(0.391 0.013 231.147);
--destructive: oklch(0.379 0.116 38.001);
--destructive-foreground: oklch(0.867 0.065 40.917);
--ring: oklch(0.809 0.033 231.281);
--chart-1: oklch(0.809 0.033 231.281);
--chart-2: oklch(0.9 0.005 230.737);
--chart-3: oklch(0.9 0.005 230.737);
--chart-4: oklch(0.924 0.004 230.717);
--chart-5: oklch(0.81 0.036 231.351);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.147 0.01 229.523);
--foreground: oklch(0.977 0.002 230.683);
--muted: oklch(0.196 0.017 232.21);
--muted-foreground: oklch(0.743 0.019 231.038);
--popover: oklch(0.147 0.01 229.523);
--popover-foreground: oklch(0.977 0.002 230.683);
--card: oklch(0.147 0.01 229.523);
--card-foreground: oklch(0.977 0.002 230.683);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.809 0.033 231.281);
--primary-foreground: oklch(0.274 0.025 232.391);
--secondary: oklch(0.27 0.008 231.084);
--secondary-foreground: oklch(0.806 0.01 230.832);
--accent: oklch(0.27 0.008 231.084);
--accent-foreground: oklch(0.806 0.01 230.832);
--destructive: oklch(0.592 0.191 37.024);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.809 0.033 231.281);
--chart-1: oklch(0.809 0.033 231.281);
--chart-2: oklch(0.27 0.008 231.084);
--chart-3: oklch(0.27 0.008 231.084);
--chart-4: oklch(0.302 0.009 231.106);
--chart-5: oklch(0.81 0.036 231.351);
}