Revenue is a shadcn/ui theme built around a blue primary color (#33586b) with orange accents (#6b4633). The light mode uses a neutral background (#f6fbfd). Dark mode keeps the blue primary (#33586b) on a neutral background (#020304).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fbfdghostwhite | #020304black |
| Foreground | #041015black | #ffffffwhite |
| Card | #f6fbfdghostwhite | #020304black |
| Card foreground | #041015black | #ffffffwhite |
| Popover | #f6fbfdghostwhite | #020304black |
| Popover foreground | #041015black | #ffffffwhite |
| Primary | #33586bdarkslategray | #33586bdarkslategray |
| Primary foreground | #e0ebf0lavender | #e0ebf0lavender |
| Secondary | #6b4633darkolivegreen | #6b4633darkolivegreen |
| Secondary foreground | #f0e5e0antiquewhite | #f0e5e0antiquewhite |
| Muted | #f1ecealinen | #15110eblack |
| Muted foreground | #665c57dimgray | #a89e99darkgray |
| Accent | #6b4633darkolivegreen | #6b4633darkolivegreen |
| Accent foreground | #f0e5e0antiquewhite | #f0e5e0antiquewhite |
| Destructive | #681903maroon | #e03506orangered |
| Destructive foreground | #fdb4a1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #33586bdarkslategray | #33586bdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.49:1 | AAA |
| Text on card | 18.49:1 | AAA |
| Primary button | 6.27:1 | AA |
| Secondary button | 6.68:1 | AA |
| Muted text | 5.53:1 | AA |
| Accent | 6.68:1 | AA |
| Destructive | 7.05:1 | AAA |
| Text on background | 20.66:1 | AAA |
| Text on card | 20.66:1 | AAA |
| Primary button | 6.27:1 | AA |
| Secondary button | 6.68:1 | AA |
| Muted text | 7.17:1 | AAA |
| Accent | 6.68:1 | AA |
| Destructive | 4.49:1 | AA Large |
Paste this into your globals.css to use Revenue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.006 228.83);
--foreground: oklch(0.163 0.022 228.981);
--muted: oklch(0.946 0.006 48.672);
--muted-foreground: oklch(0.482 0.015 48.385);
--popover: oklch(0.985 0.006 228.83);
--popover-foreground: oklch(0.163 0.022 228.981);
--card: oklch(0.985 0.006 228.83);
--card-foreground: oklch(0.163 0.022 228.981);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.442 0.052 231.335);
--primary-foreground: oklch(0.933 0.014 228.945);
--secondary: oklch(0.431 0.059 47.267);
--secondary-foreground: oklch(0.93 0.014 48.573);
--accent: oklch(0.431 0.059 47.267);
--accent-foreground: oklch(0.93 0.014 48.573);
--destructive: oklch(0.345 0.117 35.331);
--destructive-foreground: oklch(0.834 0.089 36.075);
--ring: oklch(0.442 0.052 231.335);
--chart-1: oklch(0.442 0.052 231.335);
--chart-2: oklch(0.431 0.059 47.267);
--chart-3: oklch(0.431 0.059 47.267);
--chart-4: oklch(0.459 0.063 47.243);
--chart-5: oklch(0.443 0.056 231.655);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.092 0.006 224.451);
--foreground: oklch(1 0 180);
--muted: oklch(0.181 0.009 48.184);
--muted-foreground: oklch(0.707 0.014 48.518);
--popover: oklch(0.092 0.006 224.451);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0.006 224.451);
--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.442 0.052 231.335);
--primary-foreground: oklch(0.933 0.014 228.945);
--secondary: oklch(0.431 0.059 47.267);
--secondary-foreground: oklch(0.93 0.014 48.573);
--accent: oklch(0.431 0.059 47.267);
--accent-foreground: oklch(0.93 0.014 48.573);
--destructive: oklch(0.593 0.212 33.74);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.442 0.052 231.335);
--chart-1: oklch(0.442 0.052 231.335);
--chart-2: oklch(0.431 0.059 47.267);
--chart-3: oklch(0.431 0.059 47.267);
--chart-4: oklch(0.459 0.063 47.243);
--chart-5: oklch(0.443 0.056 231.655);
}