Forward Alaskan Moss is a shadcn/ui theme built around a deep teal primary color (#0d4a2d) with muted light teal accents (#b9d0c5). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the deep teal primary (#0d4a2d) on a teal-tinted background (#060f0a).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #060f0ablack |
| Foreground | #04100bblack | #f8fcfamintcream |
| Card | #f8fcfamintcream | #060f0ablack |
| Card foreground | #04100bblack | #f8fcfamintcream |
| Popover | #f8fcfamintcream | #060f0ablack |
| Popover foreground | #04100bblack | #f8fcfamintcream |
| Primary | #0d4a2ddarkslategray | #0d4a2ddarkslategray |
| Primary foreground | #43df97mediumaquamarine | #43df97mediumaquamarine |
| Secondary | #cfd8d4lightgrey | #1d2621black |
| Secondary foreground | #34413bdarkslategray | #b1c4bbsilver |
| Muted | #e0f0e9lavender | #0f1f17black |
| Muted foreground | #4b4e4ddarkslategray | #b1b4b3darkgray |
| Accent | #b9d0c5silver | #293d34darkslategray |
| Accent foreground | #23342cdarkslategray | #c2d6cdlightgrey |
| Destructive | #751406maroon | #f6553ctomato |
| Destructive foreground | #fbbbb1lightpink | #000000black |
| Border | #dfe7e3gainsboro | #1f2924darkslategray |
| Input | #dfe7e3gainsboro | #1f2924darkslategray |
| Ring | #0d4a2ddarkslategray | #0d4a2ddarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.73:1 | AAA |
| Text on card | 18.73:1 | AAA |
| Primary button | 6.00:1 | AA |
| Secondary button | 7.36:1 | AAA |
| Muted text | 7.12:1 | AAA |
| Accent | 8.06:1 | AAA |
| Destructive | 6.90:1 | AA |
| Text on background | 18.82:1 | AAA |
| Text on card | 18.82:1 | AAA |
| Primary button | 6.00:1 | AA |
| Secondary button | 8.51:1 | AAA |
| Muted text | 8.19:1 | AAA |
| Accent | 7.64:1 | AAA |
| Destructive | 6.27:1 | AA |
Paste this into your globals.css to use Forward Alaskan Moss in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 166.746);
--foreground: oklch(0.159 0.022 164.652);
--muted: oklch(0.941 0.019 166.344);
--muted-foreground: oklch(0.421 0.005 166.607);
--popover: oklch(0.988 0.006 166.746);
--popover-foreground: oklch(0.159 0.022 164.652);
--card: oklch(0.988 0.006 166.746);
--card-foreground: oklch(0.159 0.022 164.652);
--border: oklch(0.921 0.01 166.617);
--input: oklch(0.921 0.01 166.617);
--primary: oklch(0.364 0.078 157.623);
--primary-foreground: oklch(0.806 0.166 158.397);
--secondary: oklch(0.875 0.012 166.532);
--secondary-foreground: oklch(0.362 0.02 165.329);
--accent: oklch(0.837 0.029 165.916);
--accent-foreground: oklch(0.307 0.027 164.222);
--destructive: oklch(0.366 0.133 31.706);
--destructive-foreground: oklch(0.848 0.076 28.66);
--ring: oklch(0.364 0.078 157.623);
--chart-1: oklch(0.364 0.078 157.623);
--chart-2: oklch(0.875 0.012 166.532);
--chart-3: oklch(0.837 0.029 165.916);
--chart-4: oklch(0.897 0.01 166.608);
--chart-5: oklch(0.368 0.081 157.264);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.017 165.188);
--foreground: oklch(0.987 0.005 166.773);
--muted: oklch(0.221 0.026 163.159);
--muted-foreground: oklch(0.767 0.004 166.766);
--popover: oklch(0.155 0.017 165.188);
--popover-foreground: oklch(0.987 0.005 166.773);
--card: oklch(0.155 0.017 165.188);
--card-foreground: oklch(0.987 0.005 166.773);
--border: oklch(0.268 0.016 165.121);
--input: oklch(0.268 0.016 165.121);
--primary: oklch(0.364 0.078 157.623);
--primary-foreground: oklch(0.806 0.166 158.397);
--secondary: oklch(0.257 0.015 165.159);
--secondary-foreground: oklch(0.802 0.024 166.051);
--accent: oklch(0.339 0.03 164.259);
--accent-foreground: oklch(0.858 0.024 166.117);
--destructive: oklch(0.664 0.201 31.456);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.364 0.078 157.623);
--chart-1: oklch(0.364 0.078 157.623);
--chart-2: oklch(0.257 0.015 165.159);
--chart-3: oklch(0.339 0.03 164.259);
--chart-4: oklch(0.291 0.018 165.055);
--chart-5: oklch(0.368 0.081 157.264);
}