Fearless is a shadcn/ui theme built around a vivid yellow primary color (#df9501) with vivid blue accents (#014bdf). The light mode uses a neutral background (#fcfbf8). Dark mode keeps the vivid yellow primary (#df9501) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbf8snow | #030302black |
| Foreground | #000000black | #fcfbf8snow |
| Card | #fcfbf8snow | #030302black |
| Card foreground | #000000black | #fcfbf8snow |
| Popover | #fcfbf8snow | #030302black |
| Popover foreground | #000000black | #fcfbf8snow |
| Primary | #df9501darkorange | #df9501darkorange |
| Primary foreground | #140e00black | #140e00black |
| Secondary | #014bdfroyalblue | #014bdfroyalblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dbe2f0lavender | #0f1624black |
| Muted foreground | #54575fdimgray | #a0a4abdarkgray |
| Accent | #014bdfroyalblue | #014bdfroyalblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #8a110fdarkred | #e7201dcrimson |
| Destructive foreground | #fad2d1pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #df9501darkorange | #df9501darkorange |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 5.56:1 | AA |
| Accent | 6.81:1 | AA |
| Destructive | 6.99:1 | AA |
| Text on background | 19.94:1 | AAA |
| Text on card | 19.94:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 7.22:1 | AAA |
| Accent | 6.81:1 | AA |
| Destructive | 4.53:1 | AA |
Paste this into your globals.css to use Fearless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 84.561);
--foreground: oklch(0 0 0);
--muted: oklch(0.912 0.02 264.47);
--muted-foreground: oklch(0.458 0.012 264.445);
--popover: oklch(0.987 0.004 84.561);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.004 84.561);
--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.727 0.154 73.767);
--primary-foreground: oklch(0.166 0.034 89.325);
--secondary: oklch(0.486 0.233 262.527);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.486 0.233 262.527);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.407 0.155 28.24);
--destructive-foreground: oklch(0.897 0.046 19.188);
--ring: oklch(0.727 0.154 73.767);
--chart-1: oklch(0.727 0.154 73.767);
--chart-2: oklch(0.486 0.233 262.527);
--chart-3: oklch(0.486 0.233 262.527);
--chart-4: oklch(0.509 0.245 262.577);
--chart-5: oklch(0.733 0.156 73.209);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.006 87.935);
--foreground: oklch(0.987 0.004 84.561);
--muted: oklch(0.201 0.029 263.58);
--muted-foreground: oklch(0.718 0.011 264.497);
--popover: oklch(0.095 0.006 87.935);
--popover-foreground: oklch(0.987 0.004 84.561);
--card: oklch(0.095 0.006 87.935);
--card-foreground: oklch(0.987 0.004 84.561);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.727 0.154 73.767);
--primary-foreground: oklch(0.166 0.034 89.325);
--secondary: oklch(0.486 0.233 262.527);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.486 0.233 262.527);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.594 0.229 28.4);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.727 0.154 73.767);
--chart-1: oklch(0.727 0.154 73.767);
--chart-2: oklch(0.486 0.233 262.527);
--chart-3: oklch(0.486 0.233 262.527);
--chart-4: oklch(0.509 0.245 262.577);
--chart-5: oklch(0.733 0.156 73.209);
}