Banking is a shadcn/ui theme built around a muted light cyan primary color (#f5f9f9) with muted light blue accents (#f5f6f9). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light cyan primary (#f5f9f9) on a cyan-tinted background (#05090a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #05090ablack |
| Foreground | #030b0dblack | #ffffffwhite |
| Card | #fcfcfcsnow | #070c0dblack |
| Card foreground | #020709black | #ffffffwhite |
| Popover | #fcfcfcsnow | #070c0dblack |
| Popover foreground | #020709black | #ffffffwhite |
| Primary | #f5f9f9whitesmoke | #f5f9f9whitesmoke |
| Primary foreground | #1f3337darkslategray | #1f3337darkslategray |
| Secondary | #f5f9f8whitesmoke | #f5f9f8whitesmoke |
| Secondary foreground | #1f3730darkslategray | #1f3730darkslategray |
| Muted | #e8f2efwhitesmoke | #0d1714black |
| Muted foreground | #485652darkslategray | #a9b7b3darkgray |
| Accent | #f5f6f9whitesmoke | #f5f6f9whitesmoke |
| Accent foreground | #445479darkslateblue | #445479darkslateblue |
| Destructive | #5c110amaroon | #e12a19crimson |
| Destructive foreground | #f5aaa3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f5f9f9whitesmoke | #f5f9f9whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 12.45:1 | AAA |
| Secondary button | 12.05:1 | AAA |
| Muted text | 6.73:1 | AA |
| Accent | 6.99:1 | AA |
| Destructive | 7.25:1 | AAA |
| Text on background | 19.98:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 12.45:1 | AAA |
| Secondary button | 12.05:1 | AAA |
| Muted text | 8.81:1 | AAA |
| Accent | 6.99:1 | AA |
| Destructive | 4.62:1 | AA |
Paste this into your globals.css to use Banking in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.139 0.017 210.95);
--muted: oklch(0.953 0.011 176.322);
--muted-foreground: oklch(0.44 0.019 175.332);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.121 0.015 209.655);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.121 0.015 209.655);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.979 0.004 214.327);
--primary-foreground: oklch(0.305 0.027 215.136);
--secondary: oklch(0.98 0.005 176.514);
--secondary-foreground: oklch(0.316 0.033 173.044);
--accent: oklch(0.974 0.004 267.395);
--accent-foreground: oklch(0.448 0.064 266.08);
--destructive: oklch(0.312 0.108 29.682);
--destructive-foreground: oklch(0.808 0.089 25.004);
--ring: oklch(0.979 0.004 214.327);
--chart-1: oklch(0.979 0.004 214.327);
--chart-2: oklch(0.98 0.005 176.514);
--chart-3: oklch(0.974 0.004 267.395);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.979 0.004 214.328);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.008 211.8);
--foreground: oklch(1 0 180);
--muted: oklch(0.192 0.015 174.059);
--muted-foreground: oklch(0.767 0.017 176.004);
--popover: oklch(0.15 0.009 213.707);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.15 0.009 213.707);
--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.979 0.004 214.327);
--primary-foreground: oklch(0.305 0.027 215.136);
--secondary: oklch(0.98 0.005 176.514);
--secondary-foreground: oklch(0.316 0.033 173.044);
--accent: oklch(0.974 0.004 267.395);
--accent-foreground: oklch(0.448 0.064 266.08);
--destructive: oklch(0.587 0.219 30.042);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.979 0.004 214.327);
--chart-1: oklch(0.979 0.004 214.327);
--chart-2: oklch(0.98 0.005 176.514);
--chart-3: oklch(0.974 0.004 267.395);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.979 0.004 214.328);
}