Forceful is a shadcn/ui theme built around a near-white primary color (#f9fbf9) with muted light green accents (#c4d9c4). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the near-white primary (#f9fbf9) on a green-tinted background (#041004).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #041004black |
| Foreground | #051005black | #fcfdfcwhite |
| Card | #fcfdfcwhite | #041004black |
| Card foreground | #051005black | #fcfdfcwhite |
| Popover | #fcfdfcwhite | #041004black |
| Popover foreground | #051005black | #fcfdfcwhite |
| Primary | #f9fbf9mintcream | #f9fbf9mintcream |
| Primary foreground | #283428darkslategray | #283428darkslategray |
| Secondary | #d6e1d6gainsboro | #1f2320black |
| Secondary foreground | #384d38darkslategray | #b7beb7silver |
| Muted | #e5ebe5gainsboro | #141a14black |
| Muted foreground | #506d51darkolivegreen | #92af93darkseagreen |
| Accent | #c4d9c4lightgrey | #324333darkslategray |
| Accent foreground | #2a412adarkslategray | #cedacelightgrey |
| Destructive | #c34813chocolate | #d14d15chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f9fbf9mintcream | #f9fbf9mintcream |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.03:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 12.50:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 4.75:1 | AA |
| Accent | 7.46:1 | AAA |
| Destructive | 4.93:1 | AA |
| Text on background | 19.02:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 12.50:1 | AAA |
| Secondary button | 8.39:1 | AAA |
| Muted text | 7.40:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 4.39:1 | AA Large |
Paste this into your globals.css to use Forceful in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 146.03);
--foreground: oklch(0.156 0.031 144.392);
--muted: oklch(0.934 0.009 145.973);
--muted-foreground: oklch(0.502 0.055 145.114);
--popover: oklch(0.993 0.003 146.03);
--popover-foreground: oklch(0.156 0.031 144.392);
--card: oklch(0.993 0.003 146.03);
--card-foreground: oklch(0.156 0.031 144.392);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.985 0.002 146.035);
--primary-foreground: oklch(0.31 0.026 145.333);
--secondary: oklch(0.898 0.019 145.876);
--secondary-foreground: oklch(0.396 0.044 145.104);
--accent: oklch(0.864 0.037 145.703);
--accent-foreground: oklch(0.35 0.049 144.814);
--destructive: oklch(0.564 0.168 39.818);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.985 0.002 146.035);
--chart-1: oklch(0.985 0.002 146.035);
--chart-2: oklch(0.898 0.019 145.876);
--chart-3: oklch(0.864 0.037 145.703);
--chart-4: oklch(0.92 0.015 145.919);
--chart-5: oklch(0.986 0.003 146.031);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.033 144.267);
--foreground: oklch(0.993 0.002 146.036);
--muted: oklch(0.209 0.013 145.513);
--muted-foreground: oklch(0.724 0.051 145.466);
--popover: oklch(0.157 0.033 144.267);
--popover-foreground: oklch(0.993 0.002 146.036);
--card: oklch(0.157 0.033 144.267);
--card-foreground: oklch(0.993 0.002 146.036);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.985 0.002 146.035);
--primary-foreground: oklch(0.31 0.026 145.333);
--secondary: oklch(0.251 0.008 145.799);
--secondary-foreground: oklch(0.793 0.012 145.929);
--accent: oklch(0.363 0.035 145.238);
--accent-foreground: oklch(0.875 0.021 145.858);
--destructive: oklch(0.593 0.178 39.727);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.985 0.002 146.035);
--chart-1: oklch(0.985 0.002 146.035);
--chart-2: oklch(0.251 0.008 145.799);
--chart-3: oklch(0.363 0.035 145.238);
--chart-4: oklch(0.283 0.009 145.783);
--chart-5: oklch(0.986 0.003 146.031);
}