Freelance is a shadcn/ui theme built around a light teal primary color (#9bebed) with light blue accents (#9bc2ed). The light mode uses a neutral background (#f7fdfd). Dark mode keeps the light teal primary (#9bebed) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfdmintcream | #000000black |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #f3fbfcmintcream | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f3fbfcmintcream | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #9bebedpaleturquoise | #9bebedpaleturquoise |
| Primary foreground | #0d484adarkslategray | #0d484adarkslategray |
| Secondary | #9bedc7aquamarine | #9bedc7aquamarine |
| Secondary foreground | #0d4a2ddarkslategray | #0d4a2ddarkslategray |
| Muted | #cee4d9gainsboro | #1b3127darkslategray |
| Muted foreground | #54635cdimgray | #9caba4darkgray |
| Accent | #9bc2edskyblue | #9bc2edskyblue |
| Accent foreground | #0d294amidnightblue | #0d294amidnightblue |
| Destructive | #971802darkred | #fd4626orangered |
| Destructive foreground | #fed4cdbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9bebedpaleturquoise | #9bebedpaleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.36:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 7.57:1 | AAA |
| Secondary button | 7.56:1 | AAA |
| Muted text | 4.73:1 | AA |
| Accent | 7.89:1 | AAA |
| Destructive | 6.31:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.57:1 | AAA |
| Secondary button | 7.56:1 | AAA |
| Muted text | 5.76:1 | AA |
| Accent | 7.89:1 | AAA |
| Destructive | 3.45:1 | AA Large |
Paste this into your globals.css to use Freelance in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 199.526);
--foreground: oklch(0 0 0);
--muted: oklch(0.899 0.027 166.053);
--muted-foreground: oklch(0.486 0.021 165.674);
--popover: oklch(0.983 0.009 199.487);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.009 199.487);
--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.889 0.078 198.612);
--primary-foreground: oklch(0.366 0.057 198.475);
--secondary: oklch(0.884 0.097 163.44);
--secondary-foreground: oklch(0.363 0.078 157.743);
--accent: oklch(0.801 0.075 252.106);
--accent-foreground: oklch(0.28 0.069 253.937);
--destructive: oklch(0.437 0.164 31.956);
--destructive-foreground: oklch(0.904 0.049 29.758);
--ring: oklch(0.889 0.078 198.612);
--chart-1: oklch(0.889 0.078 198.612);
--chart-2: oklch(0.884 0.097 163.44);
--chart-3: oklch(0.801 0.075 252.106);
--chart-4: oklch(0.898 0.085 163.997);
--chart-5: oklch(0.892 0.081 198.588);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 199.58);
--muted: oklch(0.292 0.034 163.139);
--muted-foreground: oklch(0.726 0.019 166.171);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.889 0.078 198.612);
--primary-foreground: oklch(0.366 0.057 198.475);
--secondary: oklch(0.884 0.097 163.44);
--secondary-foreground: oklch(0.363 0.078 157.743);
--accent: oklch(0.801 0.075 252.106);
--accent-foreground: oklch(0.28 0.069 253.937);
--destructive: oklch(0.659 0.223 32.326);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.889 0.078 198.612);
--chart-1: oklch(0.889 0.078 198.612);
--chart-2: oklch(0.884 0.097 163.44);
--chart-3: oklch(0.801 0.075 252.106);
--chart-4: oklch(0.898 0.085 163.997);
--chart-5: oklch(0.892 0.081 198.588);
}